1753734 Members
4669 Online
108799 Solutions
New Discussion юеВ

wdb & gdb 5.0

 
tech1214
Advisor

wdb & gdb 5.0

We have encountered a nasty bug with the lastest wdb, basically is unable to correctly set or clear bitfields, it seems to treat all bits as the first bit of the first word in the struct.

So, I went and built gdb5.0 which does not have this problem and which claims to have incorporated most, if not all, of HP's enhancements to gdb. The problem is that the gdb5.0 binary does not work well with the wdb gui. I've changed the /opt/langtools/bin/gdb32 sym-link to point the gbd5.0 binary, so wdb does correctly start it up, but wdb does not seem to communicate with it correctly, No source files found and a bunch of grey buttons.

We have a bug report open on wdb, but who knows how long that will take to get fixed. In the meantime I'd be very happy if we could get wdb and gdb5.0 talking to each other. Does anyone have any suggestions for making this work? Perhaps I need a special build option for gdb or some other not so obvious tweak.
2 REPLIES 2
Anthony Goonetilleke
Esteemed Contributor

Re: wdb & gdb 5.0

Are you using the latest wdb gui?

You can get it and a bit more info from

http://www.hp.com/esy/lang/tools/Debuggers/WDB/gdb_dl.html
Minimum effort maximum output!
Anthony Goonetilleke
Esteemed Contributor

Re: wdb & gdb 5.0

You could also try insight which was the gui developed fro gdb

http://sources.redhat.com/insight/
Minimum effort maximum output!