Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: gdb doesn't seem to understand my shared library
@ 1996-12-02 18:50 David Mosberger-Tang
  1996-12-02 20:08 ` Alpha gcc D. Steven Daniel
  0 siblings, 1 reply; 3+ messages in thread
From: David Mosberger-Tang @ 1996-12-02 18:50 UTC (permalink / raw)


>>>>> On Mon, 2 Dec 1996 13:43:00 -0500, Przemek Klosowski <przemek@rrdjazz.nist.gov> said:

  >>    So, I set up my formerly big static library to be a
  >> shared library. Now, I get SIGFPE (this is normal, and part
  >> of the debugging process), and gdb (the latest) doesn't
  >> have the faintest idea about the symbols. In fact, I

  Przemek> I have been seeing similar lossage as well; I believe
  Przemek> there's something broken in gdb's handling of stack frames
  Przemek> on Alpha. I have reported this to axp-list and
  Przemek> support@RedHat about 2 weeks ago (I have seen also gdb lose
  Przemek> the track of local symbols while singlestepping, as opposed
  Przemek> to setting breakpoints). Again, I can repost if enough
  Przemek> people ask.

There are two problems:

	- the gdb as shipped on rh4.0 has a patch missing that makes it
	  fail to understand how to load shared library info; I'm not
	  sure whether an updatd gdb RPM has been made available, Erik?

	- the dynamic libraries do not contain debugging info; this makes
	  it impossible to backtrace or do any other meaningful debugging
	  when inside a shared library (that comes with rh4.0); I think/hope
	  RH plans to ship libraries in the future with enough debugging info
	  that makes at least backtracing possible

  --david

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-12-03  7:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.91.961202150024.25169B-100000@alfa.danmar.goldsword.com>
1996-12-02 19:14 ` Alpha gcc Jim Nance
1996-12-03  7:03 ` Richard Henderson
1996-12-02 18:50 gdb doesn't seem to understand my shared library David Mosberger-Tang
1996-12-02 20:08 ` Alpha gcc D. Steven Daniel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox