From: James Stevenson <james@stev.org>
To: xjnfx@doityourself.com
Cc: sos22@cam.ac.uk, linux-c-programming@vger.kernel.org
Subject: Re: getting ebp from another process ?
Date: 30 Sep 2002 21:38:43 +0100 [thread overview]
Message-ID: <1033418323.1854.7.camel@god.stev.org> (raw)
In-Reply-To: <20020930195953.DB7C54001@sitemail.everyone.net>
On Mon, 2002-09-30 at 20:59, jnf wrote:
> im a little confused by what you mean from another process, meaning like - im not sure if you want it from a third process, or just mean another process from the debuggers point of view, but wouldnt
> unsigned long foo(void) { __asm__("movl %ebp, %eax"); }
> work?
its a little more complicated than that.
i am actually debugging kernel things in
http://user-mode-linux.sf.net/
which has a confusing method of working with
debuggers and does not keep a good copy of ebp around
but the process is already attached by a so called
debugger but really a system call interceptor.
its does not matter anymore i dont seem to need it now.
if i do in the future i will add a kernel patch to give it out in
/proc/<pid>/ebp or something.
James
next prev parent reply other threads:[~2002-09-30 20:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-30 19:59 getting ebp from another process ? jnf
2002-09-30 20:38 ` James Stevenson [this message]
[not found] ` <20021001214222.GA1672@cam.ac.uk>
2002-10-03 18:05 ` James Stevenson
-- strict thread matches above, loose matches on Subject: below --
2002-09-29 11:19 James Stevenson
[not found] ` <20020929124614.GB415@cam.ac.uk>
2002-09-29 17:39 ` James Stevenson
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=1033418323.1854.7.camel@god.stev.org \
--to=james@stev.org \
--cc=linux-c-programming@vger.kernel.org \
--cc=sos22@cam.ac.uk \
--cc=xjnfx@doityourself.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;
as well as URLs for NNTP newsgroup(s).