diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-11-26 05:27:48 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-11-26 05:27:48 +0000 |
commit | 939c61faffc518af588365f5d39a69da78211578 (patch) | |
tree | 7f36b385b3160f5cad5b7265097ede82dcb21a96 /gdb/ChangeLog | |
parent | a655d4241122ccebd491f8149759ab926766cb0c (diff) | |
download | gdb-939c61faffc518af588365f5d39a69da78211578.zip gdb-939c61faffc518af588365f5d39a69da78211578.tar.gz gdb-939c61faffc518af588365f5d39a69da78211578.tar.bz2 |
Fix automatic restoration of breakpoints memory for ia64.
* ia64-tdep.c: New #if check on BREAKPOINT_MAX vs. BUNDLE_LEN.
(ia64_memory_insert_breakpoint): New comment part for SHADOW_CONTENTS
content. Remove variable instr. New variable cleanup. Force
automatic breakpoints restoration. PLACED_SIZE and SHADOW_LEN are now
set larger, to BUNDLE_LEN - 2. Variable `bundle' type update. Return
error if even just final target_write_memory has failed.
(ia64_memory_remove_breakpoint): Rename variables bundle to bundle_mem
and instr to instr_saved. New variables bundle_saved and
instr_breakpoint. Comment new reasons why we need to disable automatic
restoration of breakpoints. Assert PLACED_SIZE and SHADOW_LEN. New
check of the original memory content. Return error if even just final
target_write_memory has failed.
(ia64_breakpoint_from_pc): Implement the emulation of permanent
breakpoints compatible with current bp_loc_is_permanent.
(template_encoding_table): Make it `const'.
* breakpoint.c (bp_loc_is_permanent): Support unsupported software
breakpoints. New variables `cleanup' and `retval'.
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4467e97..e80021e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,25 @@ +2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix automatic restoration of breakpoints memory for ia64. + * ia64-tdep.c: New #if check on BREAKPOINT_MAX vs. BUNDLE_LEN. + (ia64_memory_insert_breakpoint): New comment part for SHADOW_CONTENTS + content. Remove variable instr. New variable cleanup. Force + automatic breakpoints restoration. PLACED_SIZE and SHADOW_LEN are now + set larger, to BUNDLE_LEN - 2. Variable `bundle' type update. Return + error if even just final target_write_memory has failed. + (ia64_memory_remove_breakpoint): Rename variables bundle to bundle_mem + and instr to instr_saved. New variables bundle_saved and + instr_breakpoint. Comment new reasons why we need to disable automatic + restoration of breakpoints. Assert PLACED_SIZE and SHADOW_LEN. New + check of the original memory content. Return error if even just final + target_write_memory has failed. + (ia64_breakpoint_from_pc): Implement the emulation of permanent + breakpoints compatible with current bp_loc_is_permanent. + (template_encoding_table): Make it `const'. + * breakpoint.c (bp_loc_is_permanent): Support unsupported software + breakpoints. New variables `cleanup' and `retval'. + * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'. + 2008-11-24 Tom Tromey <tromey@redhat.com> * ada-lang.c (value_from_contents_and_address): Move... |