This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: What happended to sepdebug.exp?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 21 Sep 2007 18:43:21 -0400
- Subject: Re: What happended to sepdebug.exp?
- References: <200709092149.l89Ln4pK017577@brahms.sibelius.xs4all.nl> <20070909215527.GA22886@caradoc.them.org> <200709092225.l89MPnxe007011@brahms.sibelius.xs4all.nl>
On Mon, Sep 10, 2007 at 12:25:49AM +0200, Mark Kettenis wrote:
> > Date: Sun, 9 Sep 2007 17:55:27 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> >
> > On Sun, Sep 09, 2007 at 11:49:04PM +0200, Mark Kettenis wrote:
> > > On OpenBSD I'm seeing the following testsuite regression/freakout:
> >
> > I noticed something similar today while testing ia64-linux.
> >
> > > 1. The "PASS: debuglink: XXXX" look wrong to me, do people see those
> > > on other systems too?
> >
> > I've been meaning to fix this.
>
> Please do ;).
Fixed as attached.
--
Daniel Jacobowitz
CodeSourcery
2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
Index: gdb.base/sepdebug.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/sepdebug.exp,v
retrieving revision 1.9
diff -u -p -r1.9 sepdebug.exp
--- gdb.base/sepdebug.exp 1 Sep 2007 08:16:16 -0000 1.9
+++ gdb.base/sepdebug.exp 21 Sep 2007 22:42:15 -0000
@@ -836,7 +836,8 @@ proc test_different_dir {type test_diffe
global pf_prefix
global bp_location6 decimal hex
- set pf_prefix "$type:"
+ set old_pf_prefix $pf_prefix
+ append pf_prefix " $type:"
gdb_exit
gdb_start
@@ -937,7 +938,7 @@ proc test_different_dir {type test_diffe
gdb_expect -re ".*$gdb_prompt $" {}
}
- unset pf_prefix
+ set pf_prefix $old_pf_prefix
# proc test_different_dir
}