From: Indira <yoursindu@gmail.com>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: dave.korn@artimi.com, gdb@sourceware.org
Subject: Re: Setting registers
Date: Mon, 18 Jun 2007 12:01:00 -0000 [thread overview]
Message-ID: <656b5870706180501o149dd531i7ad2fbde8ada4f90@mail.gmail.com> (raw)
In-Reply-To: <u8xali8r1.fsf@gnu.org>
I just want to set the esp, eip and ebp registers and print backtrace.
Can i do so while debugging a core file?
On 6/15/07, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Fri, 15 Jun 2007 18:25:53 +0530
> > From: Indira <yoursindu@gmail.com>
> > Cc: gdb@sourceware.org
> >
> > Yes I am debuggin a core file. We cant set registers while debuggin a core file?
>
> No, you can't. The program is dead, all you have is the last snapshot
> of its memory. Even if you could set registers (and other variables),
> it would be of no practical use, since you cannot run the program.
> All you can do is examine its memory and call stack.
>
--
Indu :)
Smile.... & Make others Smile :)
next prev parent reply other threads:[~2007-06-18 12:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-13 10:28 Indira
2007-06-13 13:45 ` Dave Korn
2007-06-15 12:55 ` Indira
2007-06-15 14:37 ` Eli Zaretskii
2007-06-15 14:43 ` Paul Koning
2007-06-15 14:48 ` Daniel Jacobowitz
2007-06-15 15:24 ` Paul Koning
2007-06-15 15:33 ` Daniel Jacobowitz
2007-06-15 16:00 ` Joel Brobecker
2007-06-18 12:01 ` Indira [this message]
2007-06-18 12:41 ` Dave Korn
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=656b5870706180501o149dd531i7ad2fbde8ada4f90@mail.gmail.com \
--to=yoursindu@gmail.com \
--cc=dave.korn@artimi.com \
--cc=eliz@gnu.org \
--cc=gdb@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox