diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 14:41:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:32 -0700 |
commit | 396b136e89e1a5b35a3b57a8662d190d1d9eef6d (patch) | |
tree | 1c0339e41b30cee788f975c3c682b5ec0df8fc05 /gdb/testsuite/gdb.perf/disassemble.exp | |
parent | 5ae820f38ffab179b3cee09c0d6fa54c58aa0fa4 (diff) | |
download | gdb-396b136e89e1a5b35a3b57a8662d190d1d9eef6d.zip gdb-396b136e89e1a5b35a3b57a8662d190d1d9eef6d.tar.gz gdb-396b136e89e1a5b35a3b57a8662d190d1d9eef6d.tar.bz2 |
Use clean_restart in gdb.perf
Change gdb.perf to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.perf/disassemble.exp')
-rw-r--r-- | gdb/testsuite/gdb.perf/disassemble.exp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.perf/disassemble.exp b/gdb/testsuite/gdb.perf/disassemble.exp index 0677547..94a32fb 100644 --- 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 |