All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: [piet@sgi.com: Re: kgdb internet/ethernet support and {gcc or gdb} bug on test addr
Date: Thu, 03 Jan 2002 00:53:31 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805729@msgid-missing> (raw)

  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


                 reply	other threads:[~2002-01-03  0:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590698805729@msgid-missing \
    --to=davidm@hpl.hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.