public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Altmaier <joseph.altmaier@gmail.com>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: sid@sources.redhat.com
Subject: Re: Problem Halting Execution
Date: Fri, 28 May 2010 16:12:00 -0000	[thread overview]
Message-ID: <AANLkTikq3YXgzDvrKA-90fqHFRqhWN8GhYWrxZvPVJ-a@mail.gmail.com> (raw)
In-Reply-To: <20100528155817.GF25135@redhat.com>

I'm trying to hand control to GDB.  I have looked at other ports and I
have not seen where they do this, but I must have missed something.

Joseph

On Fri, May 28, 2010 at 10:58 AM, Frank Ch. Eigler <fche@redhat.com> wrote:
> Hi -
>
>> I'm writing a SID port, and I can't get it to halt properly.
>
> What kind of halt do you want exactly?  A simulator termination?
> Handing of control to gdb?
>
>> What is the functionality of yield()?� It does not seem to stop
>> instruction flow.
>
> It should end the step_insn() loop soon and return.
>
>> When yield() is called step_insns() will return after the break at
>> the end of the loop but then it gets called again. [...]
>
> Yes, unless told otherwise, the scheduler that's driving the cpu
> instruction steps will signal again to continue running.
>
> - FChE
>

  reply	other threads:[~2010-05-28 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28 15:36 Joseph Altmaier
2010-05-28 15:58 ` Frank Ch. Eigler
2010-05-28 16:12   ` Joseph Altmaier [this message]
2010-05-28 16:20     ` Frank Ch. Eigler

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=AANLkTikq3YXgzDvrKA-90fqHFRqhWN8GhYWrxZvPVJ-a@mail.gmail.com \
    --to=joseph.altmaier@gmail.com \
    --cc=fche@redhat.com \
    --cc=sid@sources.redhat.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 read-only IMAP folder(s) and NNTP newsgroup(s).