Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Daniël Mantione" <daniel@deadlock.et.tudelft.nl>
To: gdb@sources.redhat.com
Subject: Stabs: constant string, constant boolean
Date: Mon, 26 Jan 2004 23:22:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0401270015420.4176-100000@deadlock.et.tudelft.nl> (raw)

Hi,

Could someone enlighten me on the support of the constant string and
constant boolean for stabs debug information.

I tried several versions of gdb (not yet 6.0), but all I get out of them
is "error type". I try to generate debug info exactly as described on
http://source.redhat.com/gdb/current/onlinedocs/stabs_3.html#SEC16

I.e. I try to add a boolean like this:

        .stabs "BOOL1:c=b0;",36,0,5,0

This results in "error type". However, if I try:

        .stabs "BOOL1:c=i0;",36,0,5,0

... gdb treats it as integer fine.

Any ideas which versions of gdb support these well?

Greetings,

Daniël Mantione

P.s. I'm not on this mailinglist, please cc to me.


             reply	other threads:[~2004-01-26 23:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-26 23:22 Daniël Mantione [this message]
2004-01-27  4:20 ` Ian Lance Taylor
2004-01-27  8:39   ` Daniël Mantione
2004-01-27 14:14     ` Daniel Jacobowitz
2004-01-27 15:27       ` Daniël Mantione
2004-01-27 15:30         ` Daniel Jacobowitz

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=Pine.LNX.4.44.0401270015420.4176-100000@deadlock.et.tudelft.nl \
    --to=daniel@deadlock.et.tudelft.nl \
    --cc=gdb@sources.redhat.com \
    /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