[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: problem with creating variable object (gdb6.3)
From: Robert Dewar <dewar () adacore ! com>
Date: 2007-06-22 11:53:59
Message-ID: 467BB857.8070507 () adacore ! com
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic