aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-pending.exp
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-04-24 08:46:19 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-04-24 08:46:19 +0000
commitd24317b4805503c9a018e77ee4683c87678f11ff (patch)
tree981f80990040cea599ebdfba3192cbe7637677aa /gdb/testsuite/gdb.mi/mi-pending.exp
parent879d3736b8868261db20ec0720af378e8a37365a (diff)
downloadgdb-d24317b4805503c9a018e77ee4683c87678f11ff.zip
gdb-d24317b4805503c9a018e77ee4683c87678f11ff.tar.gz
gdb-d24317b4805503c9a018e77ee4683c87678f11ff.tar.bz2
* breakpoint.c (print_one_breakpoint_location): In MI
mode, report the location string the breakpoint was originally created with.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-pending.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-pending.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp
index f2e6b95..5e5096f 100644
--- a/gdb/testsuite/gdb.mi/mi-pending.exp
+++ b/gdb/testsuite/gdb.mi/mi-pending.exp
@@ -64,7 +64,7 @@ if [target_info exists gdb_stub] {
# Set pending breakpoint via MI
mi_gdb_test "-break-insert -f pendfunc1" \
- ".*\\^done,bkpt=\{number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<PENDING>\",pending=\"pendfunc1\",times=\"0\"\}"\
+ ".*\\^done,bkpt=\{number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<PENDING>\",pending=\"pendfunc1\",times=\"0\",original-location=\"pendfunc1\"\}"\
"MI pending breakpoint on pendfunc1"
mi_run_cmd