List Info

Thread: preserving gdb symbols




preserving gdb symbols
user name
2006-09-14 18:14:57
>> So my question is first of all is there any way I
can
>> just save all of the symbol information I have in
>> memory, so that I can reload it when reading the
core
>> on a different machine.   
>
> No.  Save the files instead.

Actually, I have a vague nagging memory to the effect that
it used to be possible to do that.  We've been thru a
number
of cycles of "what can we do about the long time it
takes 
to read in symbols?"  Seems like one attempt was to
read them
in once and then save them, so you could get them
more-or-less
instantly on subsequent sessions.

preserving gdb symbols
user name
2006-09-14 18:25:47
On Thu, Sep 14, 2006 at 11:14:57AM -0700, Michael Snyder
wrote:
> Actually, I have a vague nagging memory to the effect
that
> it used to be possible to do that.  We've been thru a
number
> of cycles of "what can we do about the long time
it takes 
> to read in symbols?"  Seems like one attempt was
to read them
> in once and then save them, so you could get them
more-or-less
> instantly on subsequent sessions.

Yes - this was what mmalloc was for.  But, the code hadn't
worked in
quite a while, and has been deleted from recent versions.  I
think
it still needed the actual files, though.

-- 
Daniel Jacobowitz
CodeSourcery
preserving gdb symbols
user name
2006-09-14 18:25:47
On Thu, Sep 14, 2006 at 11:14:57AM -0700, Michael Snyder
wrote:
> Actually, I have a vague nagging memory to the effect
that
> it used to be possible to do that.  We've been thru a
number
> of cycles of "what can we do about the long time
it takes 
> to read in symbols?"  Seems like one attempt was
to read them
> in once and then save them, so you could get them
more-or-less
> instantly on subsequent sessions.

Yes - this was what mmalloc was for.  But, the code hadn't
worked in
quite a while, and has been deleted from recent versions.  I
think
it still needed the actual files, though.

-- 
Daniel Jacobowitz
CodeSourcery
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )