extending Gdb to display app specific data
Eli Zaretskii
eliz@delorie.com
Fri Nov 10 02:39:00 GMT 2000
> Date: Thu, 09 Nov 2000 16:59:49 -0800
> From: bstell@netscape.com (Brian Stell)
>
> The strings could be UTF-8, UTF-16, some kind
> of C++ object, etc.
>
> What provision is there for Gdb users to extend
> Gdb to display an application specific item like
> this?
One way is to call the functions in the debuggee that convert these
strings to a printable representation, then print the result; the GDB
command "print" can do that. It is highly likely that in a program
which supports non-ASCII characters you will have functions which
convert non-ASCII strings to a printable representation and back.
Does that solve the problem?
More information about the Gdb
mailing list