Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: "Lucy Zhang" <lucyz@uclink4.berkeley.edu>
Cc: <gdb@sources.redhat.com>
Subject: Re: how does GDB find the symbols?
Date: Fri, 26 Jul 2002 10:03:00 -0000	[thread overview]
Message-ID: <np8z3ys9pd.fsf@zwingli.cygnus.com> (raw)
In-Reply-To: <011f01c23444$1de51c90$9a0a0109@zhangl>


"Lucy Zhang" <lucyz@uclink4.berkeley.edu> writes:
> I'm converting a coredump into the ELF format. At first, the outputs in GDB
> came out blank, i.e.
> #0 0x40091aa5 in ?? ()
> 
> 
> But after I added some other infomation, now I get the symbols filled in.
> i.e.
> 
> #0 0x40091aa5 in sigset (sig=-1073747472, disp=0x20) at
>     ../sysdeps/posix/sigset.c:69
> 
> Where does GDB find the function names, the arg lists, and other such
> information?

From the executable file's debugging info.


      reply	other threads:[~2002-07-26 17:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-24  8:58 Thread signal information Lucy Zhang
2002-07-24  9:04 ` Daniel Jacobowitz
2002-07-24  9:47   ` Dan Kegel
2002-07-24 11:52     ` Andrew Cagney
2002-07-24 11:57     ` Daniel Jacobowitz
2002-07-24 12:11       ` Dan Kegel
2002-07-25  8:57         ` Lucy Zhang
2002-07-25  9:18           ` Daniel Jacobowitz
2002-07-25 18:28             ` how does GDB find the symbols? Lucy Zhang
2002-07-26 10:03               ` Jim Blandy [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=np8z3ys9pd.fsf@zwingli.cygnus.com \
    --to=jimb@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=lucyz@uclink4.berkeley.edu \
    /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