Re: add-symbol-file question

Mentat K.
2007-09-06T08:24:21Z

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
>