mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
2003-11-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
This commit is contained in:
parent
f24ddbddc5
commit
6a90a18e85
@ -1,3 +1,8 @@
|
||||
2003-11-07 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
|
||||
as well as 'Watchpoint'.
|
||||
|
||||
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
Reported by Jim Ingham <jingham@apple.com>:
|
||||
|
@ -196,7 +196,7 @@ gdb_expect_list "set watch on a.x" "$gdb_prompt$" {
|
||||
#
|
||||
send_gdb "next\n"
|
||||
gdb_expect {
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\(\r\n\032\032frames-invalid\r\n\)+\r\n\032\032watchpoint 3\r\nWatchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\nmain \\(\\) at .*$srcfile:$decimal\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" {
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\(\r\n\032\032frames-invalid\r\n\)+\r\n\032\032watchpoint 3\r\n.*atchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\nmain \\(\\) at .*$srcfile:$decimal\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" {
|
||||
pass "watch triggered on a.x"
|
||||
}
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n$gdb_prompt$" {
|
||||
|
Loading…
Reference in New Issue
Block a user