Mail Archives: djgpp/1994/10/26/18:43:13
On Wed, 26 Oct 1994, Duncan Sands wrote:
> When I use symify I just get a big mess. This is for a C++ program compiled
> under 2.60 with the -g flag. Also, gdb doesn't recognise class names and
> doesn't demangle. For the class names it says to use `, but what does this
> mean? If anyone can help me out I'd be very grateful. I suspect that these
> problems are due to my ignorance rather than anything else.
>
> Thanks,
>
> Duncan Sands.
>
If you use 'symify' with C++ programs, you may want my 'enhanced'
version of symify. You can get 'cxxify' from
ftp.u.washington.edu: /public/ghogenso/djgpp
This will cause symify's output to be demangled, so you see
Editor(const char*, int, int, int, int)
instead of
__6EditorPCciiii_
or some such nonsense.
As for gdb with C++, I haven't had any luck either. Turning
on demangling has no effect, 'ptype' prints classes as
dumb structures, accessing elements of classes doesn't work
too well, etc.
Gordon
- Raw text -