This is the mail archive of the
mailing list for the GDB project.
Re: problem with creating variable object (gdb6.3)
Daniel Jacobowitz wrote:
On Fri, Jun 22, 2007 at 12:16:54PM +0200, Bogdan Slusarczyk wrote:
Additionally I noticed that if I use (short *) instead of (bool *) everything
is fine What is wrong with 'bool'??
Is it a C or C++ program? GDB doesn't know anything about the bool
type in C, because it's not part of the C language.
It would seem harmless for gdb to recognize bool rather than giving
an error, given it is such standard usage (gdb is not a C compiler,
it does not have to strenuously implement the standard :-))
Or, if you are not willing to make that junk, special casing the
error message might be helpful.