viewing symbol table

Discussion in 'C Programming' started by chandanlinster, Nov 2, 2006.

  1. Hello everybody,
    I am using gcc 4.1.1. Is there a way to view the contents of the
    symbol table (while compiling a program and after compilation).
     
    chandanlinster, Nov 2, 2006
    #1
    1. Advertising

  2. chandanlinster

    Ico Guest

    chandanlinster <> wrote:
    > Hello everybody,
    > I am using gcc 4.1.1. Is there a way to view the contents of the
    > symbol table (while compiling a program and after compilation).


    Read the manpages of the nm and objdump utilities.

    (yes, OT, I know)


    --
    :wq
    ^X^Cy^K^X^C^C^C^C
     
    Ico, Nov 2, 2006
    #2
    1. Advertising

  3. On Nov 2, 3:26 pm, Ico <> wrote:
    > chandanlinster <> wrote:
    > > Hello everybody,
    > > I am using gcc 4.1.1. Is there a way to view the contents of the
    > > symbol table (while compiling a program and after compilation).Read the manpages of the nm and objdump utilities.

    >
    > (yes, OT, I know)
    >
    > --
    > :wq
    > ^X^Cy^K^X^C^C^C^C


    That answers my question.
    Thanks a lot!!!!!
     
    chandanlinster, Nov 2, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Shaggy Haywood

    Re: Accessing your own symbol table

    Peter Shaggy Haywood, Jul 18, 2003, in forum: C++
    Replies:
    2
    Views:
    327
    Peter Shaggy Haywood
    Jul 21, 2003
  2. Replies:
    13
    Views:
    8,731
  3. baumann@pan
    Replies:
    1
    Views:
    768
    Richard Bos
    Apr 15, 2005
  4. Song Ma
    Replies:
    2
    Views:
    258
    Charles Oliver Nutter
    Jul 20, 2008
  5. Replies:
    6
    Views:
    2,022
Loading...

Share This Page