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:
5ae820f
)
Use clean_restart in gdb.perf
author
Tom Tromey
<tom@tromey.com>
Wed, 25 Jan 2023 21:41:57 +0000
(14:41 -0700)
committer
Tom Tromey
<tom@tromey.com>
Fri, 27 Jan 2023 01:28:32 +0000
(18:28 -0700)
Change gdb.perf to use clean_restart more consistently.
gdb/testsuite/gdb.perf/disassemble.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.perf/disassemble.exp
b/gdb/testsuite/gdb.perf/disassemble.exp
index 067754747ece6025841b779f85fd42eb233070b2..94a32fb03643d12ee99aec1baefeec944f222975 100644
(file)
--- a/
gdb/testsuite/gdb.perf/disassemble.exp
+++ b/
gdb/testsuite/gdb.perf/disassemble.exp
@@
-29,12
+29,9
@@
PerfTest::assemble {
# Don't have compilation step.
return 0
} {
- global srcdir subdir
global binfile
- gdb_exit
- gdb_start
- gdb_reinitialize_dir $srcdir/$subdir
+ clean_restart
# When GDB is debugging GDB, the prompt is changed to "(top-gdb) ".
# In order to avoid the confusion of pattern matching, set the