From: Elena Zannoni <ezannoni@redhat.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: Elena Zannoni <ezannoni@redhat.com>,
gdb@sources.redhat.com, Fernando Nasser <fnasser@redhat.com>
Subject: Re: zillions of testsuite failures
Date: Thu, 16 Jan 2003 01:52:00 -0000 [thread overview]
Message-ID: <15910.4425.231364.18681@localhost.redhat.com> (raw)
In-Reply-To: <ro11y3d7uzr.fsf@jackfruit.Stanford.EDU>
David Carlton writes:
> On Wed, 15 Jan 2003 19:50:08 -0500, Elena Zannoni <ezannoni@redhat.com> said:
>
> > try this for the first problem (args.exp), it seems to work for me, if
> > it works for you too I'll check it in.
>
> Yeah, it works for me.
>
I checked that in.
> Though, interestingly, more of the zillions of failures were real than
> I thought: besides the aforementioned advance.exp failures, I'm also
> seeing failures on:
>
> FAIL: gdb.base/break.exp: break on default location, 2nd time
> FAIL: gdb.base/break.exp: break on default location, 3rd time
> FAIL: gdb.base/break.exp: break on default location, 4th time
>
I really didn't pay enough attention. Sorry.
This is a weird one. Since I removed the 'until' tests from before these
'set breakpoint at default location' tests, the default location has changed,
and so the tests are failing.
> I'll include the log in my signature.
>
> And the two "help until" tests in gdb.base/help.exp are failing; maybe
> they're looking for the old text. (Should there also be a "help
> advance" test added?) And gdb.base/until.exp gives me this; gdb.log
> fragment after my signature.
Grunt. Not my day.
I'll post a patch right away.
>
> PASS: gdb.base/until.exp: until line number
> PASS: gdb.base/until.exp: malformed until
> FAIL: gdb.base/until.exp: until factorial, recursive function
> FAIL: gdb.base/until.exp: until func, not called by current frame
>
This seems to be caused by the different source file that gets printed
in your gdb.log, like for advance.exp.
> (gdb) until 99
> factorial (value=720) at gdb.base/break.c:99
> 99 return (value);
> (gdb) FAIL: gdb.base/until.exp: until factorial, recursive function
> delete breakpoints
> (gdb) info breakpoints
> No breakpoints or watchpoints.
> (gdb) break marker2
> Breakpoint 3 at 0x80484fd: file gdb.base/break.c, line 49.
> (gdb) run
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> Starting program: /extra/gdb/mirror/src/gdb/testsuite/gdb.base/break
> 720
>
> Breakpoint 3, 0x080484fd in marker2 (a=43) at gdb.base/break.c:49
> 49 int marker2 (a) int a; { return (1); }
> (gdb) delete breakpoints
> Delete all breakpoints? (y or n) y
> (gdb) info breakpoints
> No breakpoints or watchpoints.
> (gdb) until marker3
> main (argc=1, argv=0xbffff134, envp=0xbffff13c) at gdb.base/break.c:83
> 83 marker3 ("stack", "trace");
> (gdb) FAIL: gdb.base/until.exp: until func, not called by current frame
> testcase ./gdb.base/until.exp completed in 2 seconds
I get:
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) until 99
factorial (value=720) at /home/ezannoni/sources/src/gdb/testsuite/gdb.base/break.c:99
99 return (value);
(gdb) PASS: gdb.base/until.exp: until factorial, recursive function
delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break marker2
Breakpoint 3 at 0x804850f: file /home/ezannoni/sources/src/gdb/testsuite/gdb.base/break.c, line 49.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/ezannoni/sources/native/gdb/testsuite/gdb.base/break
720
Breakpoint 3, 0x0804850f in marker2 (a=43) at /home/ezannoni/sources/src/gdb/testsuite/gdb.base/break.c:49
49 int marker2 (a) int a; { return (1); }
(gdb) delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) until marker3
0x08048593 in main (argc=1, argv=0xbfffd974, envp=0xbfffd97c) at /home/ezannoni/sources/src/gdb/testsuite/gdb.base/break.c:82
82 marker2 (43);
(gdb) PASS: gdb.base/until.exp: until func, not called by current frame
testcase /home/ezannoni/sources/src/gdb/testsuite/gdb.base/until.exp completed in 4 seconds
next prev parent reply other threads:[~2003-01-16 1:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-16 0:17 David Carlton
2003-01-16 0:31 ` Elena Zannoni
2003-01-16 0:45 ` Elena Zannoni
2003-01-16 1:18 ` David Carlton
2003-01-16 1:52 ` Elena Zannoni [this message]
2003-01-16 0:56 ` Elena Zannoni
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=15910.4425.231364.18681@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=carlton@math.stanford.edu \
--cc=fnasser@redhat.com \
--cc=gdb@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