Hello.

I want do dump structures and unions from a compiled program in linux.

I did this to dump classes and their functions:

nm -s a.out | grep ZN
And I got a lot of lines like this one:
080486ca W _ZN8CNumbers9GetNumberEv

And from this I can get class name (CNumbers) and function (GetNumber).
But I cant find my structures or unions.

Now I am looking for something simular as nm command for dumping structures and unions.
I also tried objdump but its eighter not good for my problem, or I just used it
wrong.


Thank you for your help.