Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: 'Daniel Jacobowitz' <drow@false.org>
To: "Bloch, Jack" <jack.bloch@siemens.com>
Cc: gdb@sources.redhat.com
Subject: Re: Reading target registers
Date: Mon, 09 May 2005 21:22:00 -0000	[thread overview]
Message-ID: <20050509212243.GA16304@nevyn.them.org> (raw)
In-Reply-To: <2DA8F872430BE8469BF0F403A6103F9205CFCF@stca20aa.bocc.icn.siemens.com>

On Mon, May 09, 2005 at 02:21:01PM -0700, Bloch, Jack wrote:
> I have attached an strace. The PTRACE_GETREGS returns a 0.
> 
> 
> The wierd value I am seeing is 0xFFFFE410, and it always shows the same
> value. No matter where the actual program is running.
> 
> 
> The good value should be 0x80486AC

That's a correct value.  It's the syscall return address; any time that
you attach to a binary running in the kernel, it will appear to be
there.

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()				<----
#1  0xb7ed41ae in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0810ec8d in delete_file_handler ()
#3  0x0810e6aa in gdb_do_one_event ()
#4  0x0807d9a1 in catch_exceptions_with_msg ()
#5  0x0807d820 in throw_exception ()
#6  0x0807da00 in catch_errors ()
#7  0x080be4e4 in _initialize_tui_hooks ()
#8  0x0810c3c3 in current_interp_command_loop ()
#9  0x080747cb in main ()

-- 
Daniel Jacobowitz
CodeSourcery, LLC


       reply	other threads:[~2005-05-09 21:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2DA8F872430BE8469BF0F403A6103F9205CFCF@stca20aa.bocc.icn.siemens.com>
2005-05-09 21:22 ` 'Daniel Jacobowitz' [this message]
2005-05-09 19:53 Bloch, Jack
2005-05-09 21:02 ` 'Daniel Jacobowitz'
  -- strict thread matches above, loose matches on Subject: below --
2005-05-09 19:44 Bloch, Jack
2005-05-09 19:49 ` Daniel Jacobowitz

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=20050509212243.GA16304@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=jack.bloch@siemens.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox