diff options
-rw-r--r-- | gdb/breakpoint.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 3082603..4907089 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2123,10 +2123,9 @@ update_watchpoint (struct watchpoint *b, bool reparse) } /* Change the type of breakpoint between hardware assisted or - an ordinary watchpoint depending on the hardware support - and free hardware slots. REPARSE is set when the inferior - is started. */ - if (reparse) + an ordinary watchpoint depending on the hardware support and + free hardware slots. Recheck the number of free hardware slots + as the value chain may have changed. */ { int reg_cnt; enum bp_loc_type loc_type; |