Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: "Hans-Peter Nilsson" <hans-peter.nilsson@axis.com>
Subject: Re: Please fix regressions from your sim changes
Date: Tue, 20 Mar 2012 02:30:00 -0000	[thread overview]
Message-ID: <201203192230.21867.vapier@gentoo.org> (raw)
In-Reply-To: <201203192350.q2JNogb6032347@ignucius.se.axis.com>

[-- Attachment #1: Type: Text/Plain, Size: 1543 bytes --]

On Monday 19 March 2012 19:50:42 Hans-Peter Nilsson wrote:
> From: Mike Frysinger <vapier@gentoo.org>
> > On Monday 19 March 2012 02:28:49 Hans-Peter Nilsson wrote:
> > > For mips-elf, there's just
> > 
> > mips-elf is passing for me
> > 
> > > FAIL: mips1 hilo-hazard-1.s (execution)
> > 
> > the glob should eat the new signal string
> > 
> > > And really, why removing the "program stopped with signal"
> > > common part?  I see no reason to not just adding it back.
> > 
> > it wasn't removed.  the signal is now additionally being decoded.
> > 
> > before: program stopped with signal 5.
> > after: program stopped with signal 5 (Trace/breakpoint trap).
> 
> That's what you'd think (and that'd be an improvement), but the
> message really is all gone.  Is it a host issue?  The tester
> host is admittedly an aging installation, F 8 x86_64.

if you run it manually, do you get the full string ?  it's passing on my side 
just fine:

spawn /usr/local/src/gnu/sourceware/build/build-mips/sim/testsuite/../mips/run 
hilo-hazard-1.s.x
HILO: MULT: OP at 0x80010048 too close to MF at 0x80010044

program stopped with signal 6 (Aborted).
PASS: mips1 hilo-hazard-1.s

you can see the commit in question clearly doesn't remove the msg:
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
-	fprintf (stderr, "program stopped with signal %d.\n", sigrc);
+	fprintf (stderr, "program stopped with signal %d (%s).\n", sigrc,
+		strsignal (sigrc));

maybe strsignal() is crashing ?  what version of glibc ?
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-03-20  2:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19  6:29 Hans-Peter Nilsson
2012-03-19 17:23 ` Mike Frysinger
2012-03-19 23:51   ` Hans-Peter Nilsson
2012-03-20  2:30     ` Mike Frysinger [this message]
2012-03-20  5:55       ` Hans-Peter Nilsson
2012-03-20 16:16         ` Mike Frysinger
2012-03-20 16:30           ` Hans-Peter Nilsson
2012-03-23  4:23             ` Mike Frysinger
2012-03-21  4:49   ` Mike Frysinger

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=201203192230.21867.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    --cc=hans-peter.nilsson@axis.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