diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-03-03 13:24:12 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-03-03 13:24:12 +0000 |
commit | fa4727a64f112282dc798744b98b0f39bd3458e8 (patch) | |
tree | 735a625e569e273db0b98fc541a5d934a78b23c7 /gdb/NEWS | |
parent | 35d60fe406fc549ffff0e3042b91d66716a22c37 (diff) | |
download | gdb-fa4727a64f112282dc798744b98b0f39bd3458e8.zip gdb-fa4727a64f112282dc798744b98b0f39bd3458e8.tar.gz gdb-fa4727a64f112282dc798744b98b0f39bd3458e8.tar.bz2 |
* breakpoint.c (fetch_watchpoint_value): New function.
(update_watchpoint): Set and clear val_valid. Use
fetch_watchpoint_value. Handle unreadable values on the
value chain. Correct check for user-requested array watchpoints.
(breakpoint_init_inferior): Clear val_valid.
(watchpoint_value_print): New function.
(print_it_typical): Use it. Do not free or clear old_val. Print
watchpoints even if old_val == NULL.
(watchpoint_check): Use fetch_watchpoint_value. Check for values
becoming readable or unreadable.
(watch_command_1): Use fetch_watchpoint_value. Set val_valid.
(do_enable_watchpoint): Likewise.
* breakpoint.h (struct breakpoint): Update comment for val. Add
val_valid.
* NEWS: Mention watchpoints on inaccessible memory.
* gdb.base/watchpoint.c (global_ptr, func4): New.
(main): Call func4.
* gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
(test_inaccessible_watchpoint): New.
* gdb.texinfo (Set Watchpoints): Mention watchpoints on
unreadable memory. Delete obsolete SPARClite reference.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,9 @@ set debug timetstamp show debug timestamp Display timestamps with GDB debugging output. +* Watchpoints can now be set on unreadable memory locations, e.g. addresses +which will be allocated using malloc later in program execution. + *** Changes in GDB 6.8 * New native configurations |