Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Torsten Mohr <tmohr@s.netic.de>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: ARM, registers, "frame 0", where's the PC?
Date: Thu, 09 Jan 2003 23:27:00 -0000	[thread overview]
Message-ID: <20030109232740.GA24099@nevyn.them.org> (raw)
In-Reply-To: <200301092346.45077.tmohr@s.netic.de>

On Thu, Jan 09, 2003 at 11:46:45PM +0100, Torsten Mohr wrote:
> Hi,
> 
> > Have you tried this without using Insight?  It looks to me like
> > something's not flushing the frame cache that ought to be.
> 
> i just did some more testing, it seems it disturbed GDB and INSIGHT
> that it is not ok to answer a "continue" with a "S0" after the
> target stopped again.  I now use a "S00", which improves things
> a lot.  Yes, i just doublechecked that, when the target stops
> after a "continue" and i send "S0", it tells me it stopped at
> 0x12345678, when i answer "S00", insight shows me where it stopped
> in the window.  Looking at "info gdb" this is specified, so
> it is my mistake.  I took that information from a file i found
> in the web where it didn't state that S<signal> has to be
> S<%02-Signal>.  Maybe gdb/insight throws the answer "S0" away
> and just ignores it and uses its last informations?
> 
> 
> But anyway, when i answer "S00" there's a popup window every
> time i stop.  Looking at "info gdb", i'd say an answer with
> "S" is preferred before "W", "X" or "T".
> Looking at "man -S 7 signal" i'm confused and don't know
> what signal number to use.
> 
> "W00": program exited normally
> "X00": program exited with signal 0, Signal 0
> "T00": program received signal 0, Signal 0
> 
> "S": doesn't work, same problem as before.
> 
> So i guess there has to be a certain number that doesn't bring
> up that window/message.
> 
> "S01": SIGHUP
> "S11": SIGSTOP
> "OK": doesn't work, insight hangs.
> 
> 
> Hmm, don't know, what could the preferred answer be?

05, SIGTRAP.  You should really look at existing stubs.  You probably
want to be using T anyway.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-01-09 23:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08  3:49 Torsten Mohr
2003-01-08 19:39 ` Torsten Mohr
2003-01-09  3:31   ` Daniel Jacobowitz
2003-01-09 17:12     ` Torsten Mohr
2003-01-09 17:24       ` Daniel Jacobowitz
2003-01-09 23:23         ` Torsten Mohr
2003-01-09 23:23         ` Torsten Mohr
2003-01-09 23:27           ` Daniel Jacobowitz [this message]
2003-01-10  6:52             ` Jan Van Belle
2003-01-10 14:24               ` Daniel Jacobowitz
2003-01-09 12:20   ` Richard Earnshaw
2003-01-09 17:12     ` Torsten Mohr

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=20030109232740.GA24099@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=tmohr@s.netic.de \
    /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