Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Roul Oldenburger <oldenburger.roul@rheinmetall-de.com>
Cc: Jim Blandy <jimb@redhat.com>, gdb@sources.redhat.com
Subject: Re: gdb-internal: determining the type of a variable
Date: Mon, 06 Oct 2003 14:54:00 -0000	[thread overview]
Message-ID: <20031006145424.GB32561@nevyn.them.org> (raw)
In-Reply-To: <3F818024.7020605@rheinmetall-de.com>

On Mon, Oct 06, 2003 at 04:45:56PM +0200, Roul Oldenburger wrote:
> Thanks for your effort giving me your explanation!
> 
> Looking at the stabs information from our executables which are linked 
> from several o-files I find FILENUM being 0 for all typedescriptions.
> Probably I could distinguish between the duplicate descriptions if 
> FILNUM would differ. Unfortunately I don't know why it is 0 all the way?
> 
> Roul

FILENUM is only different within a single compilation unit - N_SO.  You
have to parse it in chunks, from an N_SO with a value until the next
N_SO generally.

But if you are going to parse debug info, I really recommend DWARF
instead... it's much easier.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-10-06 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-02 12:48 Roul Oldenburger
2003-10-02 15:35 ` Elena Zannoni
2003-10-02 15:40 ` Jim Blandy
2003-10-06 14:42   ` Roul Oldenburger
2003-10-06 14:54     ` Daniel Jacobowitz [this message]
2003-10-06 21:09     ` Jim Blandy
2003-10-07  7:16       ` Roul Oldenburger

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=20031006145424.GB32561@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@redhat.com \
    --cc=oldenburger.roul@rheinmetall-de.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