* striped shared ELF lib & GDB
@ 1998-06-16 14:17 Uncle George
0 siblings, 0 replies; 2+ messages in thread
From: Uncle George @ 1998-06-16 14:17 UTC (permalink / raw)
To: axp-list@redhat.com
Cc: bug-gdb@prep.ai.mit.edu, Richard Henderson, jrp@jrp.tiac.net jim,
Jay.Estabrook@digital.com
got alpha linux, 2.0.33/redhat 5.0 with gdb 4.16
trying to debug java jvm with gdb. eventually a shared lib gets loaded,
which causes gdb to go core. Finally got fed up, and now am trying to
debug gdb ( with gdb ).
The problem seems to be in the reading of info from the .dynsym section
of a striped libzip_g.so file. The number in the st_size field is a few
gig too large.
Looking at libzip_g.so with objdump, there seems to be some strange nums
in the .dynsym section.
IS THERE ANYONE KNOWLEDGEABLE ENOUGH TO tell me what goes in this area
of ELF format on an alpha , and gdb's concept of it?
BTW: just doing a "file libzip_g.so" also causes it to go core.
gat
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: striped shared ELF lib & GDB
[not found] <199806171452.QAA29621@red.regent.e-technik.tu-muenchen.de>
@ 1998-06-17 21:23 ` Uncle George
0 siblings, 0 replies; 2+ messages in thread
From: Uncle George @ 1998-06-17 21:23 UTC (permalink / raw)
To: bug-gnu-utils
Cc: Peter.Schauer, axp-list@redhat.com, Jay.Estabrook@digital.com
for the alpha/redhat/5.0 with ld 2.9.1 there is a problem with clearing out the
.dynsym table. IT JUST ISN'T DONE. what ever is left over in the memory allocated
by bfd_alloc() elflink.h:2564 is ( on occasion used, by virtue of it not being
cleared ) as a bogus dynsym entry. Later on when the table is finally populated ,
any skipped entries ( done by elf64_alpha_finish_dynamic_sections() ) will not
have been zeroed!
ergo change the bfd_alloc() to bfd_zalloc() @ elflink.h:2564.
this will make my gdb happy, objdump happy as can be.
gat
Peter.Schauer wrote:
> This looks more like a linker problem, although GDB shouldn't dump core.
> Unfortunately I don't have access to alpha Linux, but I could try to
> re
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-06-17 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-16 14:17 striped shared ELF lib & GDB Uncle George
[not found] <199806171452.QAA29621@red.regent.e-technik.tu-muenchen.de>
1998-06-17 21:23 ` Uncle George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox