extending Gdb to display app specific data

Brian Stell bstell@netscape.com
Fri Nov 10 16:08:00 GMT 2000


We all agree that gdb by itself cannot display every data
type that will come along.

What I'm looking for is a way for an expert user to tell
gdb how to display a given type. This way within a
community of developers the expert users can setup
display routines for the complex data types in that
environment and everyone else can view the data
in gdb.

For example, in the Mozilla development world there are a
large number of developers and a variety of string formats
(PRUnichar=UTF16, nsString=C++ object, etc.) and more
are expected in the future (e.g.: a compressed format).

It is easy to say RTFM but it would be more effective
to say "copy this file to your home dir".





More information about the Gdb mailing list