diff options
author | Tom de Vries <tdevries@suse.de> | 2022-10-27 17:14:33 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-10-27 17:14:33 +0200 |
commit | 48ca5676924d2609f1b9ea1990719c9eb41e88a2 (patch) | |
tree | 4bade6852b8d48ca63c465f11473d8b9dd432f11 /gdb/testsuite/gdb.opt | |
parent | 1dc83674da675a20ae361a037305777d23764574 (diff) | |
download | gdb-48ca5676924d2609f1b9ea1990719c9eb41e88a2.zip gdb-48ca5676924d2609f1b9ea1990719c9eb41e88a2.tar.gz gdb-48ca5676924d2609f1b9ea1990719c9eb41e88a2.tar.bz2 |
[gdb/testsuite] Remove address from test names
I noticed an address in a test name:
...
PASS: gdb.base/eh_return.exp: gdb_breakpoint: \
set breakpoint at *0x000000000040071b
...
Stabilize the test name by using "set breakpoint on address" instead.
Likewise in two other test-cases.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.opt')
-rw-r--r-- | gdb/testsuite/gdb.opt/inline-break.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.opt/inline-break.exp b/gdb/testsuite/gdb.opt/inline-break.exp index 24dd6eb..708fd74 100644 --- a/gdb/testsuite/gdb.opt/inline-break.exp +++ b/gdb/testsuite/gdb.opt/inline-break.exp @@ -292,7 +292,9 @@ with_test_prefix "address" { # Set the breakpoint by address, and check that GDB reports the # breakpoint location being the inline function. - gdb_test "break *$address" ".*Breakpoint .* at $address: file .*$srcfile, line $line." + gdb_test "break *$address" \ + ".*Breakpoint .* at $address: file .*$srcfile, line $line." \ + "set breakpoint on address" gdb_test "info break \$bpnum" "in func1 at .*$srcfile:$line" |