mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
on *-*-*bsd* instead of *-*-freebsd*.
This commit is contained in:
parent
786a90bb19
commit
a92feac0ae
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user