projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6704e
)
Use clean_restart in gdb.stabs
author
Tom Tromey
<tom@tromey.com>
Wed, 25 Jan 2023 21:41:23 +0000
(14:41 -0700)
committer
Tom Tromey
<tom@tromey.com>
Fri, 27 Jan 2023 01:28:32 +0000
(18:28 -0700)
Change gdb.stabs to use clean_restart more consistently.
gdb/testsuite/gdb.stabs/weird.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.stabs/weird.exp
b/gdb/testsuite/gdb.stabs/weird.exp
index f89595b0789000af2b2ec2c0fa8e37c09bb41cd2..2375e4c96e467b7f88889e8882a7822af706861a 100644
(file)
--- a/
gdb/testsuite/gdb.stabs/weird.exp
+++ b/
gdb/testsuite/gdb.stabs/weird.exp
@@
-273,10
+273,7
@@
if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } {
remote_file build delete ${srcfile}
-# Start with a fresh gdb
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
+clean_restart
set binfile [gdb_remote_download host ${binfile} \
[standard_output_file object.o]]