Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Rich Rattanni <rattanni@gmail.com>,
		Michael Snyder <Michael.Snyder@palmsource.com>,
	gdb@sourceware.org
Subject: Re: Cause of the ?? in backtrace
Date: Tue, 13 Mar 2007 09:15:00 -0000	[thread overview]
Message-ID: <je3b49tsho.fsf@sykes.suse.de> (raw)
In-Reply-To: <20070313040804.GQ14401@adacore.com> (Joel Brobecker's message of 	"Mon, 12 Mar 2007 21:08:04 -0700")

Joel Brobecker <brobecker@adacore.com> writes:

>> In order to ensure the library has debug info built into it, do you
>> just need to build the library with the -g option specified during
>> compilation?  Or is it more involved?
>
> Building it with -g should be sufficient. However, even if the library
> was not built with debug info, we should still have the symbol table
> to work with, right?

Unless it is stripped.  The dynamic symbol table may not be enough.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


  reply	other threads:[~2007-03-13  9:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 14:48 Rich Rattanni
2007-03-12 14:52 ` Daniel Jacobowitz
2007-03-13  0:06 ` Michael Snyder
2007-03-13  3:48   ` Rich Rattanni
2007-03-13  4:07     ` Joel Brobecker
2007-03-13  9:15       ` Andreas Schwab [this message]
2007-03-13  5:22 ` Bin Chen

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=je3b49tsho.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=Michael.Snyder@palmsource.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=rattanni@gmail.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