Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Mentat K." <mentat79@gmail.com>
To: "Mentat K." <mentat79@gmail.com>, gdb@sourceware.org
Subject: Re: add-symbol-file question
Date: Thu, 06 Sep 2007 08:39:00 -0000	[thread overview]
Message-ID: <58f0b2e40709060124l68ec1970ra90c4fd465e0f8a@mail.gmail.com> (raw)
In-Reply-To: <20070906024026.GA25178@caradoc.them.org>

On 9/5/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Sep 05, 2007 at 07:30:23PM -0400, Mentat K. wrote:
<snip>
> If all you need is that type, build the definition of the type with
> -g into a new object file.  Load it with add-symbol-file at an out of
> the way address so that it does not overlap the code you care about.
> Then you should be able to use the class name and type.
>
> You have to be sure that debug info for the class is in the file you
> compile; sometimes it isn't, with G++.



Cool. Thanks a lot :) works great..



>
> --
> Daniel Jacobowitz
> CodeSourcery
>


  reply	other threads:[~2007-09-06  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 23:30 Mentat K.
2007-09-06  3:19 ` Daniel Jacobowitz
2007-09-06  8:39   ` Mentat K. [this message]
2007-11-20  0:50 vb
2007-11-20 12:19 ` Michael Snyder

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=58f0b2e40709060124l68ec1970ra90c4fd465e0f8a@mail.gmail.com \
    --to=mentat79@gmail.com \
    --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