aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-06-15 13:10:38 +0000
committerMark Kettenis <kettenis@gnu.org>2003-06-15 13:10:38 +0000
commita92feac0aed83c6b1b85b3294932b00bbe154897 (patch)
treef7e81c86a646f78eb53e18297d404dba4b874094 /gdb
parent786a90bb19d3bb8bf1386f0ceeff1b746cfe199b (diff)
downloadgdb-a92feac0aed83c6b1b85b3294932b00bbe154897.zip
gdb-a92feac0aed83c6b1b85b3294932b00bbe154897.tar.gz
gdb-a92feac0aed83c6b1b85b3294932b00bbe154897.tar.bz2
* gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
on *-*-*bsd* instead of *-*-freebsd*.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/attach.exp5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index cd50d64..87cdfb9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-15 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
+ on *-*-*bsd* instead of *-*-freebsd*.
+
2003-06-14 Andrew Cagney <cagney@redhat.com>
* gdb.base/store.exp: Test longest and doublest. Test all
diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp
index 6adb6e3..66e9f0e 100644
--- a/gdb/testsuite/gdb.base/attach.exp
+++ b/gdb/testsuite/gdb.base/attach.exp
@@ -111,9 +111,10 @@ proc do_attach_tests {} {
# the default. However, there are a few exceptions.
#
set boguspid 0
- if { [istarget "*-*-freebsd*"] } {
+ if { [istarget "*-*-*bsd*"] } {
# In FreeBSD 5.0, PID 0 is used for "swapper". Use -1 instead
- # (which should have the desired effect on any version of FreeBSD).
+ # (which should have the desired effect on any version of
+ # FreeBSD, and probably other *BSD's too).
set boguspid -1
}
send_gdb "attach $boguspid\n"