]> Git Repo - binutils.git/blob - gdb/testsuite/gdb.base/watchpoint.exp
* lib/gdb.exp: Fix runto.
[binutils.git] / gdb / testsuite / gdb.base / watchpoint.exp
1 # Copyright (C) 1992, 1994 Free Software Foundation, Inc.
2
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
16
17 # Please email any bugs, comments, and/or additions to this file to:
18[email protected]
19
20 # This file was written by Fred Fish. ([email protected])
21
22 if $tracelevel then {
23     strace $tracelevel
24 }
25
26 set prms_id 0
27 set bug_id 0
28
29 set testfile "watchpoint"
30 set srcfile ${testfile}.c
31 set binfile ${objdir}/${subdir}/${testfile}
32 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
33     perror "Couldn't compile ${srcfile}"
34     return -1
35 }
36
37 # Prepare for watchpoint tests by setting up two breakpoints and one
38 # watchpoint.
39 #
40 # We use breakpoints at marker functions to get past all the startup code,
41 # so we can get to the watchpoints in a reasonable amount of time from a
42 # known starting point.
43 #
44 # For simplicity, so we always know how to reference specific breakpoints or
45 # watchpoints by number, we expect a particular ordering and numbering of
46 # each in the combined breakpoint/watchpoint table, as follows:
47 #
48 #       Number          What            Where
49 #       1               Breakpoint      marker1()
50 #       2               Breakpoint      marker2()
51 #       3               Watchpoint      ival3
52
53 proc initialize {} {
54     global prompt
55     global hex
56     global decimal
57     global srcfile
58
59     send_gdb "break marker1\n"
60     expect {
61         -re "Breakpoint 1 at $hex: file .*$srcfile, line $decimal.*$prompt $" {
62             pass "set breakpoint at marker1"
63         }
64         -re ".*$prompt $" { fail "set breakpoint at marker1" ; return 0 }
65         timeout { fail "set breakpoint at marker1 (timeout)" ; return 0 }
66     }
67
68     send_gdb "break marker2\n"
69     expect {
70         -re "Breakpoint 2 at $hex: file .*$srcfile, line $decimal.*$prompt $" {
71             pass "set breakpoint at marker2"
72         }
73         -re ".*$prompt $" { fail "set breakpoint at marker2" ; return 0 }
74         timeout { fail "set breakpoint at marker2 (timeout)" ; return 0 }
75     }
76
77     send_gdb "info break\n"
78     expect {
79         -re "1\[ \]*breakpoint.*marker1.*\r\n2\[ \]*breakpoint.*marker2.*\r\n$prompt $" { pass "info break in watchpoint.exp" }
80         -re ".*$prompt $" { fail "info break in watchpoint.exp" ; return 0 }
81         timeout { fail "info break in watchpoint.exp (timeout)" ; return 0 }
82     }
83
84     send_gdb "watch ival3\n"
85     expect {
86         -re ".*\[Ww\]atchpoint 3: ival3\r\n$prompt $" { 
87             pass "set watchpoint on ival3"
88         }
89         -re ".*$prompt $" { fail "set watchpoint on ival3" ; return 0 }
90         timeout { fail "set watchpoint on ival3 (timeout)" ; return 0 }
91     }
92
93     # "info watch" is the same as "info break"
94
95     send_gdb "info watch\n"
96     expect {
97         -re "1\[ \]*breakpoint.*marker1.*\r\n2\[ \]*breakpoint.*marker2.*\r\n3\[ \]*.*watchpoint.*ival3\r\n$prompt $" {
98             pass "watchpoint found in watchpoint/breakpoint table"
99         }
100         -re ".*$prompt $" {
101             fail "watchpoint found in watchpoint/breakpoint table" ; return 0
102         }
103         timeout {
104            fail "watchpoint found in watchpoint/breakpoint table (timeout)" ; return 0
105         }
106     }
107
108     # After installing the watchpoint, we disable it until we are ready
109     # to use it.  This allows the test program to run at full speed until
110     # we get to the first marker function.
111
112     send_gdb "disable 3\n"
113     expect {
114         -re "disable 3\[\r\n\]+$prompt $" { pass "disable watchpoint" }
115         -re ".*$prompt $" { fail "disable watchpoint" ; return 0 }
116         timeout { fail "disable watchpoint (timeout)" ; return 0 }
117     }
118
119     return 1
120 }
121
122 #
123 # Test simple watchpoint.
124 #
125
126 proc test_simple_watchpoint {} {
127     global prompt
128     global hex
129     global decimal
130     global noresults
131
132     # Ensure that the watchpoint is disabled when we startup.
133
134     send_gdb "disable 3\n"
135     expect {
136         -re "^disable 3\[\r\n\]+$prompt $" {
137             pass "disable watchpoint in test_simple_watchpoint"
138         }
139         -re ".*$prompt $" {
140             fail "disable watchpoint in test_simple_watchpoint"
141             return 0
142         }
143         timeout {
144             fail "disable watchpoint in test_simple_watchpoint (timeout)"
145             return 0
146         }
147     }
148
149     # Run until we get to the first marker function.
150
151     gdb_run_cmd
152     set timeout 600
153     expect {
154         -re "Breakpoint 1, marker1 .*$prompt $" {
155             pass "run to marker1 in test_simple_watchpoint"
156         }
157         -re ".*$prompt $" {
158             fail "run to marker1 in test_simple_watchpoint"
159             return
160         }
161         timeout {
162             fail "run to marker1 in test_simple_watchpoint (timeout)"
163             return
164         }
165     }
166
167     # After reaching the marker function, enable the watchpoint.
168
169     send_gdb "enable 3\n"
170     expect {
171         -re "^enable 3\[\r\n\]+$prompt $" { pass "enable watchpoint" }
172         -re ".*$prompt $" { fail "enable watchpoint" ; return }
173         timeout { fail "enable watchpoint (timeout)" ; return }
174     }
175
176     gdb_test "break func1" "Breakpoint.*at.*"
177     gdb_test "set \$func1_breakpoint_number = \$bpnum" ""
178
179     gdb_test "continue" "Continuing.*Breakpoint \[0-9\]*, func1.*" \
180         "continue to breakpoint at func1"
181
182     # Continue until the first change, from -1 to 0
183
184     send_gdb "cont\n"
185     expect {
186         -re "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = -1.*New value = 0.*ival3 = count; ival4 = count;.*$prompt $" {
187             pass "watchpoint hit, first time"
188         }
189         -re "Continuing.*Breakpoint.*func1.*$prompt $" {
190             setup_xfail "m68*-*-*" 2597
191             fail "thought it hit breakpoint at func1 twice"
192             gdb_test "delete \$func1_breakpoint_number" ""
193             gdb_test "continue" "\
194 Continuing.*\[Ww\]atchpoint.*ival3.*Old value = -1.*New value = 0.*ival3 = count;" \
195                 "watchpoint hit, first time"
196         }
197         -re ".*$prompt $" { fail "watchpoint hit, first time" ; return }
198         timeout { fail "watchpoint hit, first time (timeout)" ; return }
199         eof { fail "watchpoint hit, first time (eof)" ; return }
200     }
201
202     gdb_test "delete \$func1_breakpoint_number" ""
203
204     # Continue until the next change, from 0 to 1.
205     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 0.*New value = 1.*ival3 = count; ival4 = count;.*" "watchpoint hit, second time"
206
207     # Continue until the next change, from 1 to 2.
208     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 1.*New value = 2.*ival3 = count; ival4 = count;.*" "watchpoint hit, third time"
209     
210     # Continue until the next change, from 2 to 3.
211     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 2.*New value = 3.*ival3 = count; ival4 = count;.*" "watchpoint hit, fourth time"
212
213     # Continue until the next change, from 3 to 4.
214     # Note that this one is outside the loop.
215
216     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 3.*New value = 4.*ival3 = count; ival4 = count;.*" "watchpoint hit, fifth time"
217
218     # Continue until we hit the finishing marker function.
219     # Make sure we hit no more watchpoints.
220
221     gdb_test "cont" "Continuing.*Breakpoint.*marker2 \(\).*" \
222         "continue to marker2"
223
224     # Disable the watchpoint so we run at full speed until we exit.
225
226     send_gdb "disable 3\n"
227     expect {
228         -re "^disable 3\[\r\n\]+$prompt $" { pass "watchpoint disabled" }
229         -re ".*$prompt $" { fail "watchpoint disabled" ; return }
230         timeout { fail "watchpoint disabled (timeout)" ; return }
231     }
232
233     # Run until process exits.
234
235     if $noresults==1 then { return }
236
237     gdb_test "cont" "Continuing.*Program exited normally.*" \
238         "continue to exit in test_simple_watchpoint"
239 }
240
241 # Test disabling watchpoints.
242
243 proc test_disabling_watchpoints {} {
244     global prompt
245     global binfile
246     global srcfile
247     global decimal
248     global hex
249     global noresults
250
251     # Ensure that the watchpoint is disabled when we startup.
252
253     send_gdb "disable 3\n"
254     expect {
255         -re "^disable 3\[\r\n\]+$prompt $" {
256             pass "disable watchpoint in test_disabling_watchpoints"
257         }
258         -re ".*$prompt $" {
259             fail "disable watchpoint in test_disabling_watchpoints"
260             return 0
261         }
262         timeout {
263             fail "disable watchpoint in test_disabling_watchpoints (timeout)"
264             return 0
265         }
266     }
267
268     # Run until we get to the first marker function.
269
270     gdb_run_cmd
271     set timeout 600
272     expect {
273         -re "Breakpoint 1, marker1 .*$prompt $" {
274             pass "run to marker1 in test_disabling_watchpoints"
275         }
276         -re ".*$prompt $" {
277             fail "run to marker1 in test_disabling_watchpoints"
278             return
279         }
280         timeout {
281             fail "run to marker1 in test_disabling_watchpoints (timeout)"
282             return
283         }
284     }
285
286     # After reaching the marker function, enable the watchpoint.
287
288     send_gdb "enable 3\n"
289     expect {
290         -re "^enable 3\[\r\n\]+$prompt $" { pass "watchpoint enabled" }
291         -re ".*$prompt $" { fail "watchpoint enabled" ; return }
292         timeout { fail "watchpoint enabled (timeout)" ; return }
293     }
294
295     # Continue until the first change, from -1 to 0
296     # Don't check the old value, because on VxWorks the variable value
297     # will not have been reinitialized.
298     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = .*New value = 0.*ival3 = count; ival4 = count;.*" "watchpoint hit in test_disabling_watchpoints, first time"
299     
300     # Continue until the next change, from 0 to 1.
301     gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 0.*New value = 1.*ival3 = count; ival4 = count;.*" "watchpoint hit in test_disabling_watchpoints, second time"
302     
303     # Disable the watchpoint but leave breakpoints
304
305     send_gdb "disable 3\n"
306     expect {
307         -re "^disable 3\[\r\n\]+$prompt $" {
308             pass "disable watchpoint #2 in test_disabling_watchpoints"
309         }
310         -re ".*$prompt $" {
311             "disable watchpoint #2 in test_disabling_watchpoints"
312             return 0
313         }
314         timeout {
315             "disable watchpoint #2 in test_disabling_watchpoints (timeout)"
316             return 0
317         }
318     }
319
320     # Check watchpoint list, looking for the entry that confirms the
321     # watchpoint is disabled.
322     gdb_test "info watchpoints" "3\[ \]*.*watchpoint\[ \]*keep\[ \]*n\[ \]*ival3\r\n.*" "watchpoint disabled in table"
323
324     # Continue until we hit the finishing marker function.
325     # Make sure we hit no more watchpoints.
326     gdb_test "cont" "Continuing.*Breakpoint.*marker2 \\(\\).*" \
327         "disabled watchpoint skipped"
328     
329     if $noresults==1 then { return }
330
331     gdb_test "cont" "Continuing.*Program exited normally.*" \
332         "continue to exit in test_disabling_watchpoints"
333 }
334
335 # Test stepping and other mundane operations with watchpoints enabled
336 proc test_stepping {} {
337     global prompt
338
339     if [runto marker1] then {
340         gdb_test "watch ival2" ".*\[Ww\]atchpoint \[0-9\]*: ival2"
341
342         # Well, let's not be too mundane.  It should be a *bit* of a challenge
343         gdb_test "break func2 if 0" "Breakpoint.*at.*"
344         gdb_test "p \$func2_breakpoint_number = \$bpnum" " = .*"
345
346         # The HPPA has a problem here if it's not using hardware watchpoints
347         if {[ istarget "hppa*-*-*" ] && ![ istarget "hppa*-*-*bsd*" ]} then {
348             # Don't actually try doing the call, if we do we can't continue.
349             setup_xfail "*-*-*"
350             fail "calling function with watchpoint enabled"
351         } else {
352             # The problem is that GDB confuses stepping through the call
353             # dummy with hitting the breakpoint at the end of the call dummy.
354             # Will be fixed once all architectures define 
355             # CALL_DUMMY_BREAKPOINT_OFFSET.
356             setup_xfail "*-*-*"
357             # This doesn't occur if the call dummy starts with a call,
358             # because we are out of the dummy by the first time the inferior
359             # stops.
360             clear_xfail "m68*-*-*"
361             clear_xfail "i*86*-*-*"
362             clear_xfail "vax-*-*"
363             # The following architectures define CALL_DUMMY_BREAKPOINT_OFFSET.
364             clear_xfail "alpha-*-*"
365             clear_xfail "mips*-*-*"
366             clear_xfail "sparc-*-*"
367             clear_xfail "hppa*-*-*bsd*"
368             gdb_test "p func1 ()" "= 73" \
369                 "calling function with watchpoint enabled"
370         }
371
372         # 
373         # "finish" brings us back to main.
374         # On some targets (e.g. alpha) gdb will stop from the finish in midline
375         # of the marker1 call. This is due to register restoring code on
376         # the alpha and might be caused by stack adjustment instructions
377         # on other targets. In this case we will step once more.
378         #
379
380         send_gdb "finish\n"
381         expect {
382             -re "Run.*exit from.*marker1.* at" { }
383             default { fail "finish from marker1" ; return }
384         }
385         expect {
386             -re "marker1 \\(\\);.*$prompt $" {
387                 send_gdb "step\n"
388                 exp_continue
389             }
390             -re "func1 \\(\\);.*$prompt $" {
391                 pass "finish from marker1"
392             }
393             -re ".*$prompt $" {
394                 fail "finish from marker1"
395             }
396             default { fail "finish from marker1" ; return }
397         }
398
399         gdb_test "next" "for \\(count = 0.*" "next to `for' in watchpoint.exp"
400
401         # Now test that "until" works.  It's a bit tricky to test
402         # "until", because compilers don't always arrange the code
403         # exactly the same way, and we might get slightly different
404         # sequences of statements.  But the following should be true
405         # (if not it is a compiler or a debugger bug): The user who
406         # does "until" at every statement of a loop should end up
407         # stepping through the loop once, and the debugger should not
408         # stop for any of the remaining iterations.
409
410         gdb_test "until" "ival1 = count.*" "until to ival1 assignment"
411         gdb_test "until" "ival3 = count.*" "until to ival3 assignment"
412         send_gdb "until\n"
413         expect {
414             -re "(for \\(count = 0|\}).*$prompt $" {
415                 gdb_test "until" "ival1 = count; /. Outside loop ./" \
416                     "until out of loop"
417             }
418             -re "ival1 = count; /. Outside loop ./.*$prompt $" {
419                 pass "until out of loop"
420             }
421             -re ".*$prompt $" {
422                 fail "until out of loop"
423             }
424             default { fail "until out of loop" ; return }
425         }
426
427         gdb_test "step" "ival2 = count.*" "step to ival2 assignment"
428     }
429 }
430
431 # Test stepping and other mundane operations with watchpoints enabled
432 proc test_watchpoint_triggered_in_syscall {} {
433     global prompt
434     global noinferiorio
435     global noresults
436
437     if $noinferiorio {
438         verbose "Skipping test_watchpoint_triggered_in_syscall due to noinferiorio"
439         return
440     }
441     # Run until we get to the first marker function.
442     set x 0
443     set y 0
444     set testname "Watch buffer passed to read syscall"
445     if [runto marker2] then {
446         gdb_test "watch buf\[0\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[0\\\]"
447         gdb_test "watch buf\[1\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[1\\\]"
448         gdb_test "watch buf\[2\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[2\\\]"
449         gdb_test "watch buf\[3\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[3\\\]"
450         gdb_test "watch buf\[4\]" ".*\[Ww\]atchpoint \[0-9\]*: buf\\\[4\\\]"
451         gdb_test "break marker4" ".*Breakpoint.*"
452
453         gdb_test "set doread = 1" ""
454
455         # If we send_gdb "123\n" before gdb has switched the tty, then it goes
456         # to gdb, not the inferior, and we lose.  So that is why we have
457         # watchpoint.c prompt us, so we can wait for that prompt.
458         send_gdb "continue\n"
459         expect {
460             -re "Continuing\\.\r\ntype stuff for buf now:" {
461                 pass "continue to read"
462             }
463             default { fail "continue to read"; return }
464         }
465         send_gdb "123\n"
466         expect {
467             -re ".*\[Ww\]atchpoint.*buf\\\[0\\\].*Old value = 0.*New value = 49\[^\n\]*\n" { set x [expr $x+1] ; exp_continue }
468             -re ".*\[Ww\]atchpoint.*buf\\\[1\\\].*Old value = 0.*New value = 50\[^\n\]*\n" { set x [expr $x+1] ; exp_continue }
469             -re ".*\[Ww\]atchpoint.*buf\\\[2\\\].*Old value = 0.*New value = 51\[^\n\]*\n" { set x [expr $x+1] ; exp_continue }
470             -re ".*\[Ww\]atchpoint.*buf\\\[3\\\].*Old value = 0.*New value = 10\[^\n\]*\n" { set x [expr $x+1] ; exp_continue }
471             -re ".*$prompt $" { pass "sent 123" }
472             timeout { fail "sent 123 (timeout)" }
473         }
474
475         # Examine the values in buf to see how many watchpoints we
476         # should have printed.
477         send_gdb "print buf\[0\]\n"
478         expect {
479             -re ".*= 49.*$prompt $" { set y [expr $y+1]; pass "print buf\[0\]"}
480             -re ".*= 0.*$prompt $" { pass "print buf\[0\]"}
481             -re ".*$prompt $" { fail "print buf\[0\]"}
482             default { fail "print buf\[0\]"}
483         }
484         send_gdb "print buf\[1\]\n"
485         expect {
486             -re ".*= 50.*$prompt $" { set y [expr $y+1]; pass "print buf\[1\]"}
487             -re ".*= 0.*$prompt $" { pass "print buf\[1\]"}
488             -re ".*$prompt $" { fail "print buf\[1\]"}
489             default { fail "print buf\[1\]"}
490         }
491         send_gdb "print buf\[2\]\n"
492         expect {
493             -re ".*= 51.*$prompt $" { set y [expr $y+1]; pass "print buf\[2\]"}
494             -re ".*= 0.*$prompt $" { pass "print buf\[2\]"}
495             -re ".*$prompt $" { fail "print buf\[2\]"}
496             default { fail "print buf\[2\]"}
497         }
498         send_gdb "print buf\[3\]\n"
499         expect {
500             -re ".*= 10.*$prompt $" { set y [expr $y+1]; pass "print buf\[3\]"}
501             -re ".*= 0.*$prompt $" { pass "print buf\[3\]"}
502             -re ".*$prompt $" { fail "print buf\[3\]" }
503             default { fail "print buf\[3\]" }
504         }
505
506         # Did we find what we were looking for?  If not, flunk it.
507         if [expr $x==$y] then { pass $testname } else { fail "$testname (only triggered $x watchpoints, expected $y)"}
508
509         # Continue until we hit the finishing marker function.
510         # Make sure we hit no more watchpoints.
511         gdb_test "cont" "Continuing.*Breakpoint.*marker4 \\(\\).*" \
512             "continue to marker4"
513
514         # Disable everything so we can finish the program at full speed
515         gdb_test "disable" "" "disable in test_watchpoint_triggered_in_syscall"
516
517         if $noresults==1 then { return }
518
519         gdb_test "cont" "Continuing.*Program exited normally.*" \
520             "continue to exit in test_watchpoint_triggered_in_syscall"
521     }
522 }
523
524 # Do a simple test of of watching through a pointer when the pointer
525 # itself changes.  Should add some more complicated stuff here.
526
527 proc test_complex_watchpoint {} {
528     global prompt
529     global noresults
530
531     if [runto marker4] then {
532         gdb_test "watch ptr1->val" ".*\[Ww\]atchpoint \[0-9\]*: ptr1->val"
533         gdb_test "break marker5" ".*Breakpoint.*"
534
535         gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ptr1->val.*Old value = 1.*New value = 2.*" "Test complex watchpoint"
536
537         # Continue until we hit the marker5 function.
538         # Make sure we hit no more watchpoints.
539
540         gdb_test "cont" "Continuing.*Breakpoint.*marker5 \\(\\).*" \
541             "did not trigger wrong watchpoint"
542
543         # Disable everything so we can finish the program at full speed
544         gdb_test "disable" "" "disable in test_complex_watchpoint"
545
546         if $noresults==1 then { return }
547
548         gdb_test "cont" "Continuing.*Program exited normally.*" \
549             "continue to exit in test_complex_watchpoint"
550     }
551 }
552
553 # Start with a fresh gdb.
554
555 gdb_exit
556 gdb_start
557 gdb_reinitialize_dir $srcdir/$subdir
558 gdb_load $binfile
559 set timeout 600 
560 verbose "Timeout now 600 sec.\n"
561
562 if [initialize] then {
563
564     test_simple_watchpoint
565
566     # The IDT/sim monitor only has 8 (!) open files, of which it uses
567     # 4 (!).  So we have to make sure one program exits before
568     # starting another one.
569     if [istarget "mips-idt-*"] then {
570         gdb_exit
571         gdb_start
572         gdb_reinitialize_dir $srcdir/$subdir
573         gdb_load $binfile
574         initialize
575     }
576
577     test_disabling_watchpoints
578
579     # See above.
580     if [istarget "mips-idt-*"] then {
581         gdb_exit
582         gdb_start
583         gdb_reinitialize_dir $srcdir/$subdir
584         gdb_load $binfile
585         initialize
586     }
587
588     test_stepping
589
590     # See above.
591     if [istarget "mips-idt-*"] then {
592         gdb_exit
593         gdb_start
594         gdb_reinitialize_dir $srcdir/$subdir
595         gdb_load $binfile
596         initialize
597     }
598
599     # Only enabled for some targets merely because it has not been tested 
600     # elsewhere.
601     # On sparc-sun-sunos4.1.3, GDB was running all the way to the marker4 
602     # breakpoint before stopping for the watchpoint.  I don't know why.
603     if {[istarget "hppa*-*-*"]} then {
604         test_watchpoint_triggered_in_syscall
605     }
606
607     # See above.
608     if [istarget "mips-idt-*"] then {
609         gdb_exit
610         gdb_start
611         gdb_reinitialize_dir $srcdir/$subdir
612         gdb_load $binfile
613         initialize
614     }
615
616     # Only enabled for some targets merely because it has not been tested 
617     # elsewhere.
618     if {[istarget "hppa*-*-*"] || [istarget "sparc*-*-sunos*"]} then {
619         test_complex_watchpoint
620     }
621 }
This page took 0.060724 seconds and 4 git commands to generate.