* [RFA/testsuite] Update selftest.exp
@ 2002-10-21 19:07 Daniel Jacobowitz
2002-10-22 10:09 ` Keith Seitz
2002-11-05 13:44 ` Daniel Jacobowitz
0 siblings, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2002-10-21 19:07 UTC (permalink / raw)
To: gdb-patches; +Cc: fnasser, insight
Are others seeing this failure? If not, I'm not sure why not. There is no
main in "main.c" any more. It's in "gdb.c" now.
The "read" was bogus, too. It was supposed to match a read syscall; what it
was actually matching was some debugging info that said "readline/". We
call poll for the event loop nowadays.
Is this patch OK? Should I also match "gdbtk-main.c" [I don't know if this
part of the testsuite is ever run on the insight binary]?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2002-10-21 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/selftest.exp: Update for current gdb.
Index: testsuite/gdb.base/selftest.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
retrieving revision 1.4
diff -u -p -r1.4 selftest.exp
--- testsuite/gdb.base/selftest.exp 22 Jun 2002 22:19:37 -0000 1.4
+++ testsuite/gdb.base/selftest.exp 13 Oct 2002 22:55:02 -0000
@@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Fo
set description "backtrace through signal handler"
send_gdb "backtrace\n"
gdb_expect {
- -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" {
+ -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" {
pass "$description"
}
-re ".*$gdb_prompt $" {
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFA/testsuite] Update selftest.exp
2002-10-21 19:07 [RFA/testsuite] Update selftest.exp Daniel Jacobowitz
@ 2002-10-22 10:09 ` Keith Seitz
2002-11-05 13:44 ` Daniel Jacobowitz
1 sibling, 0 replies; 6+ messages in thread
From: Keith Seitz @ 2002-10-22 10:09 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches, insight
On Mon, 21 Oct 2002, Daniel Jacobowitz wrote:
> Are others seeing this failure? If not, I'm not sure why not. There is no
> main in "main.c" any more. It's in "gdb.c" now.
Yes, I see this failure, too.
> Should I also match "gdbtk-main.c" [I don't know if this
> part of the testsuite is ever run on the insight binary]?
I don't think it is necessary unless there is a way to use the insight
executable with testing. Right now, I believe the testsuite will always
run "gdb" and there is no way to change this (tool-exec doesn't seem to
fit the bill).
Keith
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFA/testsuite] Update selftest.exp
2002-10-21 19:07 [RFA/testsuite] Update selftest.exp Daniel Jacobowitz
2002-10-22 10:09 ` Keith Seitz
@ 2002-11-05 13:44 ` Daniel Jacobowitz
2002-12-02 21:08 ` Daniel Jacobowitz
2002-12-03 7:20 ` Fernando Nasser
1 sibling, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2002-11-05 13:44 UTC (permalink / raw)
To: gdb-patches, fnasser
On Mon, Oct 21, 2002 at 10:07:30PM -0400, Daniel Jacobowitz wrote:
> Are others seeing this failure? If not, I'm not sure why not. There is no
> main in "main.c" any more. It's in "gdb.c" now.
>
> The "read" was bogus, too. It was supposed to match a read syscall; what it
> was actually matching was some debugging info that said "readline/". We
> call poll for the event loop nowadays.
>
> Is this patch OK? Should I also match "gdbtk-main.c" [I don't know if this
> part of the testsuite is ever run on the insight binary]?
Ping. Keith confirmed that I'm OK on the insight side.
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
>
> 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
>
> * gdb.base/selftest.exp: Update for current gdb.
>
> Index: testsuite/gdb.base/selftest.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
> retrieving revision 1.4
> diff -u -p -r1.4 selftest.exp
> --- testsuite/gdb.base/selftest.exp 22 Jun 2002 22:19:37 -0000 1.4
> +++ testsuite/gdb.base/selftest.exp 13 Oct 2002 22:55:02 -0000
> @@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Fo
> set description "backtrace through signal handler"
> send_gdb "backtrace\n"
> gdb_expect {
> - -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" {
> + -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" {
> pass "$description"
> }
> -re ".*$gdb_prompt $" {
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFA/testsuite] Update selftest.exp
2002-11-05 13:44 ` Daniel Jacobowitz
@ 2002-12-02 21:08 ` Daniel Jacobowitz
2002-12-03 7:20 ` Fernando Nasser
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2002-12-02 21:08 UTC (permalink / raw)
To: gdb-patches, fnasser
This is now PR gdb/862. Fernando?
On Tue, Nov 05, 2002 at 04:45:22PM -0500, Daniel Jacobowitz wrote:
> On Mon, Oct 21, 2002 at 10:07:30PM -0400, Daniel Jacobowitz wrote:
> > Are others seeing this failure? If not, I'm not sure why not. There is no
> > main in "main.c" any more. It's in "gdb.c" now.
> >
> > The "read" was bogus, too. It was supposed to match a read syscall; what it
> > was actually matching was some debugging info that said "readline/". We
> > call poll for the event loop nowadays.
> >
> > Is this patch OK? Should I also match "gdbtk-main.c" [I don't know if this
> > part of the testsuite is ever run on the insight binary]?
>
> Ping. Keith confirmed that I'm OK on the insight side.
>
> >
> > --
> > Daniel Jacobowitz
> > MontaVista Software Debian GNU/Linux Developer
> >
> > 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
> >
> > * gdb.base/selftest.exp: Update for current gdb.
> >
> > Index: testsuite/gdb.base/selftest.exp
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
> > retrieving revision 1.4
> > diff -u -p -r1.4 selftest.exp
> > --- testsuite/gdb.base/selftest.exp 22 Jun 2002 22:19:37 -0000 1.4
> > +++ testsuite/gdb.base/selftest.exp 13 Oct 2002 22:55:02 -0000
> > @@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Fo
> > set description "backtrace through signal handler"
> > send_gdb "backtrace\n"
> > gdb_expect {
> > - -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" {
> > + -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" {
> > pass "$description"
> > }
> > -re ".*$gdb_prompt $" {
> >
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFA/testsuite] Update selftest.exp
2002-11-05 13:44 ` Daniel Jacobowitz
2002-12-02 21:08 ` Daniel Jacobowitz
@ 2002-12-03 7:20 ` Fernando Nasser
1 sibling, 0 replies; 6+ messages in thread
From: Fernando Nasser @ 2002-12-03 7:20 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches
OK with me as well. I guess we just forgot to update this.
Thanks!
Fernando
Daniel Jacobowitz wrote:
> On Mon, Oct 21, 2002 at 10:07:30PM -0400, Daniel Jacobowitz wrote:
>
>>Are others seeing this failure? If not, I'm not sure why not. There is no
>>main in "main.c" any more. It's in "gdb.c" now.
>>
>>The "read" was bogus, too. It was supposed to match a read syscall; what it
>>was actually matching was some debugging info that said "readline/". We
>>call poll for the event loop nowadays.
>>
>>Is this patch OK? Should I also match "gdbtk-main.c" [I don't know if this
>>part of the testsuite is ever run on the insight binary]?
>
>
> Ping. Keith confirmed that I'm OK on the insight side.
>
>
>>--
>>Daniel Jacobowitz
>>MontaVista Software Debian GNU/Linux Developer
>>
>>2002-10-21 Daniel Jacobowitz <drow@mvista.com>
>>
>> * gdb.base/selftest.exp: Update for current gdb.
>>
>>Index: testsuite/gdb.base/selftest.exp
>>===================================================================
>>RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
>>retrieving revision 1.4
>>diff -u -p -r1.4 selftest.exp
>>--- testsuite/gdb.base/selftest.exp 22 Jun 2002 22:19:37 -0000 1.4
>>+++ testsuite/gdb.base/selftest.exp 13 Oct 2002 22:55:02 -0000
>>@@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Fo
>> set description "backtrace through signal handler"
>> send_gdb "backtrace\n"
>> gdb_expect {
>>- -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" {
>>+ -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" {
>> pass "$description"
>> }
>> -re ".*$gdb_prompt $" {
>>
>
>
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFA/testsuite] Update selftest.exp
@ 2002-12-02 21:57 Michael Elizabeth Chastain
0 siblings, 0 replies; 6+ messages in thread
From: Michael Elizabeth Chastain @ 2002-12-02 21:57 UTC (permalink / raw)
To: drow, fnasser, gdb-patches
Proofread. Remember to update the copyright year on the first line.
Other than that, perfect.
Tested on 132 configurations:
target = native
host = i686-pc-linux-gnu%rh-8
gdb = gdb_5_3-branch%20021125, HEAD%20021125
gcc = 2.95.3, 3.0.4, 3.1, 3.1.1, 3.2, 3.2-7-rh, 3.2.1, gcc-3_2-branch%20021125, HEAD%20021125
binutils = 2.13.1, 2.13.90.0.2-rh, binutils-2_13-branch%20021125, HEAD%20021125
glibc = 2.2.93-5-rh
gformat = dwarf2, stabs+
Fixes the bug in all configurations. No regressions introduced.
Recommended for approval on mainline. After commit to mainline, wait
one week, then recommended for approval on 5.3 branch if no problems arise.
Not a showstopper for 5.3 release.
Michael C
> > 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
> >
> > * gdb.base/selftest.exp: Update for current gdb.
> >
> > Index: testsuite/gdb.base/selftest.exp
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
> > retrieving revision 1.4
> > diff -u -p -r1.4 selftest.exp
> > --- testsuite/gdb.base/selftest.exp 22 Jun 2002 22:19:37 -0000 1.4
> > +++ testsuite/gdb.base/selftest.exp 13 Oct 2002 22:55:02 -0000
> > @@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Fo
> > set description "backtrace through signal handler"
> > send_gdb "backtrace\n"
> > gdb_expect {
> > - -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" {
> > + -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" {
> > pass "$description"
> > }
> > -re ".*$gdb_prompt $" {
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-12-03 15:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 19:07 [RFA/testsuite] Update selftest.exp Daniel Jacobowitz
2002-10-22 10:09 ` Keith Seitz
2002-11-05 13:44 ` Daniel Jacobowitz
2002-12-02 21:08 ` Daniel Jacobowitz
2002-12-03 7:20 ` Fernando Nasser
2002-12-02 21:57 Michael Elizabeth Chastain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox