All of lore.kernel.org
 help / color / mirror / Atom feed
From: eady <eady@wisc.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Determine simulated pc during an exception
Date: Sat, 14 Apr 2007 20:14:16 -0500	[thread overview]
Message-ID: <46217C68.20903@wisc.edu> (raw)
In-Reply-To: <200704150003.38399.paul@codesourcery.com>

Thanks Paul for the reply, I don't see how this function is called 
though by the exception handler. The way I understand it is that an 
exception is raised via raise_interrupt(exception_index, 0, 0, 0); in 
helper.c which in turn calls raise_interrupt() that sends the control 
flow back to the main execution loop via a longjmp and then 
do_interrupt() is called from there.  Where am I not making the connection?

Thanks,
Nuri

Paul Brook wrote:
>> Can anyone point me to the place in the code where the simulated program
>> counter is determined after an exception?
>>     
>
> cpu_restore_state
>
> Paul
>
>
>   

      reply	other threads:[~2007-04-15  1:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-14 22:56 [Qemu-devel] Determine simulated pc during an exception eady
2007-04-14 23:03 ` Paul Brook
2007-04-15  1:14   ` eady [this message]

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=46217C68.20903@wisc.edu \
    --to=eady@wisc.edu \
    --cc=qemu-devel@nongnu.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.