All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: [piet@sgi.com: Re: kgdb internet/ethernet support and {gcc or gdb} bug on test addr
@ 2002-01-03  0:53 David Mosberger
  0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2002-01-03  0:53 UTC (permalink / raw)
  To: linux-ia64

  Piet/Pete> I'm having trouble with GDB on ia64/sn with addresses in
  Piet/Pete> the text segment.  Pointers to functions are being
  Piet/Pete> reported wrong. I tried changing to the latest gcc and
  Piet/Pete> gdb but it hasn't helped. The actual address for a
  Piet/Pete> function will be 0x2000000000037fa8 but it will be
  Piet/Pete> reported as 0x4000000000059ee0 for a large program or
  Piet/Pete> just slightly for a small program as illustrated below. I
  Piet/Pete> wonder if our kernel could be the cause possibly using:

Try linking the program statically.  I think gdb is reporting the
address of the function's plt entry.

	--david


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-03  0:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-03  0:53 [Linux-ia64] Re: [piet@sgi.com: Re: kgdb internet/ethernet support and {gcc or gdb} bug on test addr David Mosberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.