aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.opt/inline-break.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.opt/inline-break.exp')
-rw-r--r--gdb/testsuite/gdb.opt/inline-break.exp4
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"