Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Robert Dewar <dewar@adacore.com>
To: Bogdan Slusarczyk <bodzio131@op.pl>,  gdb@sourceware.org
Subject: Re: problem with creating variable object (gdb6.3)
Date: Fri, 22 Jun 2007 11:54:00 -0000	[thread overview]
Message-ID: <467BB857.8070507@adacore.com> (raw)
In-Reply-To: <20070622110549.GB4029@caradoc.them.org>

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.


      reply	other threads:[~2007-06-22 11:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-22 10:07 Bogdan Slusarczyk
2007-06-22 10:17 ` Bogdan Slusarczyk
2007-06-22 11:05   ` Daniel Jacobowitz
2007-06-22 11:54     ` Robert Dewar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=467BB857.8070507@adacore.com \
    --to=dewar@adacore.com \
    --cc=bodzio131@op.pl \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox