Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: drow@false.org
Cc: mark.kettenis@xs4all.nl, gdb-patches@sourceware.org
Subject: Re: Improve end check on rs6000 prologue analyzer
Date: Sun, 11 Mar 2007 19:13:00 -0000	[thread overview]
Message-ID: <200703111913.l2BJDEhC006601@brahms.sibelius.xs4all.nl> (raw)
In-Reply-To: <20070309150504.GA5166@caradoc.them.org> (message from Daniel 	Jacobowitz on Fri, 9 Mar 2007 10:05:04 -0500)

> Date: Fri, 9 Mar 2007 10:05:04 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> Mark told me that OpenBSD is using gcc 3.3.5.  I tried to get qemu to
> run an OpenBSD image, but it ended poorly.  I did find a powerpc-linux
> system using GCC 3.3.3, though.
> 
> Short version: I reproduced one failure and fixed it, and I expect
> that to fix the second failure too, but I'm not sure about the
> selftest.exp problems.
> 
> Mark, could you try the patch at the bottom of this message?  If it
> still causes selftest.exp "odd location" failures, I would appreciate
> a copy of the GDB binary.

Here's a diff of gdb.sum without and with your diff (testsuite with
your diff).  The gdb.base/attach.exp failure is "normal"; the result
of that test flips between PASS and FAIL.  As you can see, there are
still "odd location failures".  Here is an excerpt from gdb.log for one:

(gdb) list
134       char *ttyarg = NULL;
(gdb) step
120     {
(gdb) PASS: gdb.gdb/selftest.exp: step over ttyarg initialization
list
120     {
(gdb) FAIL: gdb.gdb/selftest.exp: step over ttyarg initialization ended up at odd location
step
133       char *cdarg = NULL;
(gdb) PASS: gdb.gdb/selftest.exp: step over ttyarg initialization

This looks as pretty acceptable behaviour.  The initializations have
been moved into the prologue so while stepping over the
initializations, we hop back and forth.  I'm willing to accept this as
a testsuite problem ;-).

But just in case you want to check things out for yourself, you can
find the gdb binarie at:

http://www.xs4all.nl/~sibelius/gdb.macppc.gz

Mark


--- gdb.sum.2	Sun Mar 11 17:52:11 2007
+++ gdb.sum	Sun Mar 11 18:44:45 2007
@@ -1,4 +1,4 @@
-Test Run By kettenis on Sun Mar 11 17:31:35 2007
+Test Run By kettenis on Sun Mar 11 18:24:00 2007
 Native configuration is powerpc-unknown-openbsd3.9
 
 		=== gdb tests ===
@@ -52,8 +52,8 @@
 UNTESTED: gdb.arch/altivec-regs.exp: altivec-regs.exp
 Running ../../../../src/gdb/gdb/testsuite/gdb.arch/e500-abi.exp ...
 Running ../../../../src/gdb/gdb/testsuite/gdb.arch/e500-prologue.exp ...
-gdb compile failed, /tmp//ccxyb831.s: Assembler messages:
-/tmp//ccxyb831.s:31: Error: Unrecognized opcode: `evstdd'
+gdb compile failed, /tmp//cca22559.s: Assembler messages:
+/tmp//cca22559.s:31: Error: Unrecognized opcode: `evstdd'
 UNSUPPORTED: gdb.arch/e500-prologue.exp: Testcase compile failed.
 Running ../../../../src/gdb/gdb/testsuite/gdb.arch/e500-regs.exp ...
 Running ../../../../src/gdb/gdb/testsuite/gdb.arch/gdb1291.exp ...
@@ -76,10 +76,10 @@
 PASS: gdb.arch/powerpc-prologue.exp: backtrace in PIC
 PASS: gdb.arch/powerpc-prologue.exp: saved registers in PIC
 PASS: gdb.arch/powerpc-prologue.exp: continue to optimized
-FAIL: gdb.arch/powerpc-prologue.exp: backtrace in optimized marker
+PASS: gdb.arch/powerpc-prologue.exp: backtrace in optimized marker
 PASS: gdb.arch/powerpc-prologue.exp: finish from optimized
-FAIL: gdb.arch/powerpc-prologue.exp: backtrace in optimized
-FAIL: gdb.arch/powerpc-prologue.exp: saved registers in optimized
+PASS: gdb.arch/powerpc-prologue.exp: backtrace in optimized
+PASS: gdb.arch/powerpc-prologue.exp: saved registers in optimized
 Running ../../../../src/gdb/gdb/testsuite/gdb.arch/thumb-prologue.exp ...
 Running ../../../../src/gdb/gdb/testsuite/gdb.asm/asm-source.exp ...
 PASS: gdb.asm/asm-source.exp: f at main
@@ -344,7 +344,7 @@
 FAIL: gdb.base/attach.exp: after attach2, set tbreak postloop
 FAIL: gdb.base/attach.exp: (timeout) after attach2, reach tbreak postloop
 FAIL: gdb.base/attach.exp: after attach2, exit (timeout)
-PASS: gdb.base/attach.exp: set source path
+FAIL: gdb.base/attach.exp: set source path
 PASS: gdb.base/attach.exp: cd away from process working directory
 PASS: gdb.base/attach.exp: before attach3, flush symbols
 PASS: gdb.base/attach.exp: before attach3, flush exec
@@ -9458,6 +9458,21 @@
 PASS: gdb.gdb/selftest.exp: set listsize to 1
 PASS: gdb.gdb/selftest.exp: run until breakpoint at captured_main
 PASS: gdb.gdb/selftest.exp: printed version as string
+PASS: gdb.gdb/selftest.exp: step over ttyarg initialization
+FAIL: gdb.gdb/selftest.exp: step over ttyarg initialization ended up at odd location
+PASS: gdb.gdb/selftest.exp: step over ttyarg initialization
+PASS: gdb.gdb/selftest.exp: step over cdarg initialization
+FAIL: gdb.gdb/selftest.exp: step over cdarg initialization ended up at odd location
+PASS: gdb.gdb/selftest.exp: step over cdarg initialization
+PASS: gdb.gdb/selftest.exp: step over corearg initialization
+FAIL: gdb.gdb/selftest.exp: step over corearg initialization ended up at odd location
+PASS: gdb.gdb/selftest.exp: step over corearg initialization
+PASS: gdb.gdb/selftest.exp: step over execarg initialization
+FAIL: gdb.gdb/selftest.exp: step over execarg initialization ended up at odd location
+PASS: gdb.gdb/selftest.exp: step over execarg initialization
+PASS: gdb.gdb/selftest.exp: step over symarg initialization
+FAIL: gdb.gdb/selftest.exp: step over symarg initialization ended up at odd location
+PASS: gdb.gdb/selftest.exp: step over symarg initialization
 PASS: gdb.gdb/selftest.exp: step over argc initialization
 PASS: gdb.gdb/selftest.exp: step over argv initialization
 PASS: gdb.gdb/selftest.exp: next over get_run_time and everything it calls
@@ -11461,8 +11476,8 @@
 
 		=== gdb Summary ===
 
-# of expected passes		10807
-# of unexpected failures	108
+# of expected passes		10819
+# of unexpected failures	111
 # of expected failures		42
 # of known failures		60
 # of unresolved testcases	1


  reply	other threads:[~2007-03-11 19:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29 21:37 Daniel Jacobowitz
2006-09-30 19:32 ` Mark Kettenis
2006-09-30 20:25   ` Daniel Jacobowitz
2006-10-17 21:21   ` Daniel Jacobowitz
2006-10-17 22:15     ` Mark Kettenis
2006-10-18  5:41     ` Wu Zhou
2006-10-18 14:18       ` Daniel Jacobowitz
2006-10-18 19:58     ` Mark Kettenis
2006-10-18 20:06       ` Daniel Jacobowitz
2006-11-30 20:12         ` Daniel Jacobowitz
2007-02-15 20:20           ` Aman Wardak
2007-03-09 15:05       ` Daniel Jacobowitz
2007-03-11 19:13         ` Mark Kettenis [this message]
2007-03-12 12:19           ` Daniel Jacobowitz
2007-03-12 21:02             ` Mark Kettenis
2007-03-12 21:09               ` Daniel Jacobowitz
2007-03-12 23:05                 ` Mark Kettenis
2007-03-13  4:24                   ` Eli Zaretskii
2007-04-10 21:10                     ` Daniel Jacobowitz
2007-04-11  3:35                       ` Eli Zaretskii
2007-04-11 11:11                         ` Daniel Jacobowitz
2007-03-13 17:37                   ` Daniel Jacobowitz
2007-04-17  2:02         ` Andreas Schwab
2007-04-17 15:02           ` Daniel Jacobowitz

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=200703111913.l2BJDEhC006601@brahms.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox