qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Read location of memory poits esp register
@ 2012-05-07 16:49 Davide Ferraretto
  2012-05-07 17:10 ` Mulyadi Santosa
  0 siblings, 1 reply; 3+ messages in thread
From: Davide Ferraretto @ 2012-05-07 16:49 UTC (permalink / raw)
  To: qemu-devel

how can I read location of memory poits by esp register (i386 cpu)??

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Read location of memory poits esp register
  2012-05-07 16:49 [Qemu-devel] Read location of memory poits esp register Davide Ferraretto
@ 2012-05-07 17:10 ` Mulyadi Santosa
  2012-05-07 17:18   ` Davide Ferraretto
  0 siblings, 1 reply; 3+ messages in thread
From: Mulyadi Santosa @ 2012-05-07 17:10 UTC (permalink / raw)
  To: Davide Ferraretto; +Cc: qemu-devel

On Mon, May 7, 2012 at 11:49 PM, Davide Ferraretto
<femudevelopment@gmail.com> wrote:
> how can I read location of memory poits by esp register (i386 cpu)??
>
>

CMIIW, using gdb stub hooked to Qemu, it should be:
p $esp
<get the number>
x <from the number above>

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Read location of memory poits esp register
  2012-05-07 17:10 ` Mulyadi Santosa
@ 2012-05-07 17:18   ` Davide Ferraretto
  0 siblings, 0 replies; 3+ messages in thread
From: Davide Ferraretto @ 2012-05-07 17:18 UTC (permalink / raw)
  To: Mulyadi Santosa; +Cc: qemu-devel

But, I work into qemu code. Is there a c qemu function  for this??
On 05/07/12 19:10, Mulyadi Santosa wrote:
> On Mon, May 7, 2012 at 11:49 PM, Davide Ferraretto
> <femudevelopment@gmail.com>  wrote:
>> how can I read location of memory poits by esp register (i386 cpu)??
>>
>>
> CMIIW, using gdb stub hooked to Qemu, it should be:
> p $esp
> <get the number>
> x<from the number above>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-07 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07 16:49 [Qemu-devel] Read location of memory poits esp register Davide Ferraretto
2012-05-07 17:10 ` Mulyadi Santosa
2012-05-07 17:18   ` Davide Ferraretto

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).