aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-watch.exp
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-03-06 21:33:38 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-03-06 21:33:38 +0000
commit19e08fb3c990098cfc35353ce30f8a319b3d3cf9 (patch)
treeb6ef100f5301d954d75aca932b44c78e352ab35c /gdb/testsuite/gdb.mi/mi-watch.exp
parent05102e700f432b759dd94d873a366c5085d40351 (diff)
downloadgdb-19e08fb3c990098cfc35353ce30f8a319b3d3cf9.zip
gdb-19e08fb3c990098cfc35353ce30f8a319b3d3cf9.tar.gz
gdb-19e08fb3c990098cfc35353ce30f8a319b3d3cf9.tar.bz2
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-disassemble.exp: Don't assume numbers for the offset values. They can be different depending on the architecture. * mi-watch.exp (test_watchpoint_triggering): In same cases the type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that. * basics.c (callee4): Make the function return something, otherwise the return value is undefined.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-watch.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-watch.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-watch.exp b/gdb/testsuite/gdb.mi/mi-watch.exp
index 6c81106..bb26f5c 100644
--- a/gdb/testsuite/gdb.mi/mi-watch.exp
+++ b/gdb/testsuite/gdb.mi/mi-watch.exp
@@ -61,7 +61,7 @@ proc test_watchpoint_creation_and_listing {} {
"break-watch operation"
mi_gdb_test "222-break-list" \
- "222\\^done,BreakpointTable=\{hdr=\{.*\},bkpt=\{number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"$hex\",func=\"callee4\",file=\".*basics.c\",line=\"8\",times=\"1\"\},bkpt=\{number=\"2\",type=\"watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"C\",times=\"0\"\}\}" \
+ "222\\^done,BreakpointTable=\{hdr=\{.*\},bkpt=\{number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"$hex\",func=\"callee4\",file=\".*basics.c\",line=\"8\",times=\"1\"\},bkpt=\{number=\"2\",type=\".*watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"C\",times=\"0\"\}\}" \
"list of watchpoints"
}