check symbol table

Discussion in 'C++' started by linq936@hotmail.com, May 2, 2005.

  1. Guest

    Hi,
    This might be off topic a little. In using gdb to debug my code I can
    not use "print" command to examine the value, gdb returns me
    "incomplete type".
    But "ptype ClassName" does return me a brief description of the
    class. So it makes me think the symbol table is somehow not correct.
    Now I wonder how to check the symbol table? I know a util called,nm.
    But it only list the symbol names in some strange way. I wonder if
    somehow I can check the class definition from the symbol table.

    Thanks.
     
    , May 2, 2005
    #1
    1. Advertising

  2. msalters Guest

    schreef:
    > Hi,
    > This might be off topic a little. In using gdb ...

    It is. Try one of the gnu.* groups.

    Regards,
    Michiel Salters
     
    msalters, May 4, 2005
    #2
    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:
    325
    Peter Shaggy Haywood
    Jul 21, 2003
  2. Peter Shaggy Haywood

    Re: Accessing your own symbol table

    Peter Shaggy Haywood, Jul 18, 2003, in forum: C Programming
    Replies:
    1
    Views:
    426
    Raoul Gough
    Jul 18, 2003
  3. baumann@pan
    Replies:
    1
    Views:
    763
    Richard Bos
    Apr 15, 2005
  4. Song Ma
    Replies:
    2
    Views:
    251
    Charles Oliver Nutter
    Jul 20, 2008
  5. Replies:
    6
    Views:
    1,975
Loading...

Share This Page