Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: gdb-patches@sources.redhat.com, thorpej@wasabisystems.com
Subject: Re: userdef.exp regression for ppc?
Date: Sat, 01 Jun 2002 07:03:00 -0000	[thread overview]
Message-ID: <3CF8D42A.6010007@cygnus.com> (raw)
In-Reply-To: <200206010517.g515Ho227072@duracef.shout.net>

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

> It's not ringing any bells.
> 
> My last tests on native i686-pc-linux-gnu were working on 2002-05-29.
> 
> Is there anything obvious in gdb.log, like the debugger crashing
> or getting out of sync at the beginning of the tests?

Nothing like that but it is obviously broken - see attached. I think its 
abi related but nothing directly to do with C++ (no C++ changes were 
made and notice how all the new C++ tests pass! :-)).

Andrew


[-- Attachment #2: gdb.log --]
[-- Type: text/plain, Size: 2968 bytes --]

(gdb) PASS: gdb.c++/userdef.exp: up from marker1
print one + two
$1 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one + two
print one - two
$2 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one - two
print one * two
$3 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one * two
print one / two
$4 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one / two
print one % two
$5 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one % two
print one && two
$6 = 1
(gdb) PASS: gdb.c++/userdef.exp: print one && two
print one || two
$7 = 1
(gdb) PASS: gdb.c++/userdef.exp: print one || two
print one & two
$8 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one & two
print one | two
$9 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one | two
print one ^ two
$10 = {x = 2147479536, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one ^ two
print one < two
$11 = 1
(gdb) PASS: gdb.c++/userdef.exp: print one < two
print one <= two
$12 = 1
(gdb) PASS: gdb.c++/userdef.exp: print one <= two
print one > two
$13 = 0
(gdb) PASS: gdb.c++/userdef.exp: print one > two
print one >= two
$14 = 0
(gdb) PASS: gdb.c++/userdef.exp: print one >= two
print one == two
$15 = 0
(gdb) PASS: gdb.c++/userdef.exp: print one == two
print one != two
$16 = 1
(gdb) PASS: gdb.c++/userdef.exp: print one != two
print one << 31
$17 = {x = 25168188, y = 1099239424}
(gdb) PASS: gdb.c++/userdef.exp: print one << 31
print one >> 31
$18 = {x = 25168188, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one >> 31
print !one
$19 = 0
(gdb) PASS: gdb.c++/userdef.exp: print !one
print ~one
$20 = {x = 25168188, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print ~one
print -one
$21 = {x = 25168188, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print -one
print one++
$22 = {x = 25168188, y = 1099239425}
(gdb) FAIL: gdb.c++/userdef.exp: print one++
print ++one
$23 = {x = 25168189, y = 1099239425}
(gdb) FAIL: gdb.c++/userdef.exp: print ++one
print one--
$24 = {x = 25168189, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print one--
print --one
$25 = {x = 25168188, y = 1099239424}
(gdb) FAIL: gdb.c++/userdef.exp: print --one
print one += 7
$26 = {x = -2122322940, y = -1048251704}
(gdb) FAIL: gdb.c++/userdef.exp: print one += 7
print two = one
$27 = {x = 2, y = 3}
(gdb) FAIL: gdb.c++/userdef.exp: print two = one
break A1::'operator+'
Breakpoint 3 at 0x1800d5c: file /home/scratch/GDB/src/gdb/testsuite/gdb.c++/userdef.cc, line 58.
(gdb) PASS: gdb.c++/userdef.exp: break A1::'operator+'
break A1::'operator +'
Note: breakpoint 3 also set at pc 0x1800d5c.
Breakpoint 4 at 0x1800d5c: file /home/scratch/GDB/src/gdb/testsuite/gdb.c++/userdef.cc, line 58.
(gdb) PASS: gdb.c++/userdef.exp: break A1::'operator +'
testcase /home/scratch/GDB/src/gdb/testsuite/gdb.c++/userdef.exp completed in 1 seconds

       reply	other threads:[~2002-06-01 14:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200206010517.g515Ho227072@duracef.shout.net>
2002-06-01  7:03 ` Andrew Cagney [this message]
2002-06-01  8:46 Michael Elizabeth Chastain
2002-06-03 11:30 ` Michael Snyder
  -- strict thread matches above, loose matches on Subject: below --
2002-05-31 22:17 Andrew Cagney

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=3CF8D42A.6010007@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    --cc=thorpej@wasabisystems.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