Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gdb doesn't seem to understand my shared library
@ 1996-12-02 17:16 bruce a. campbell
  0 siblings, 0 replies; 4+ messages in thread
From: bruce a. campbell @ 1996-12-02 17:16 UTC (permalink / raw)


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
get 
--------------------------------------------------------
Program received signal SIGFPE, Arithmetic exception.
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x15555b8c748
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.
 
Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x15555b8c748 in ?? ()
(gdb) where
#0  0x15555b8c748 in ?? ()
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x15555994510
----------------------------------------------------------
Is this operator error, or is there a problem?

Inquiring Minds Want To Know...

           baruch@aod.com

--
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] 4+ messages in thread

* Re: gdb doesn't seem to understand my shared library
@ 1996-12-02 18:43 Przemek Klosowski
  0 siblings, 0 replies; 4+ messages in thread
From: Przemek Klosowski @ 1996-12-02 18:43 UTC (permalink / raw)


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

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

	p

--
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] 4+ messages in thread

* Re: gdb doesn't seem to understand my shared library
@ 1996-12-02 18:50 David Mosberger-Tang
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: gdb doesn't seem to understand my shared library
@ 1997-01-25 14:40 Uncle George
  0 siblings, 0 replies; 4+ messages in thread
From: Uncle George @ 1997-01-25 14:40 UTC (permalink / raw)


David Mosberger-Tang wrote:
> 
> 
> There are two problems:
> 
>         - the gdb as shipped on rh4.0 has a patch missing that makes it
........
I suppose this has not been resolved? if it has how to get patches ?

-- 
Uncle George ( aka G. Baeslack )
http://www.voicenet.com/~gatgul

--
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] 4+ messages in thread

end of thread, other threads:[~1997-01-25 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-02 17:16 gdb doesn't seem to understand my shared library bruce a. campbell
  -- strict thread matches above, loose matches on Subject: below --
1996-12-02 18:43 Przemek Klosowski
1996-12-02 18:50 David Mosberger-Tang
1997-01-25 14:40 Uncle George

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