]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make hardware watchpoints work for process record.
authorPedro Alves <palves@redhat.com>
Sun, 22 Nov 2009 15:38:59 +0000 (15:38 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 22 Nov 2009 15:38:59 +0000 (15:38 +0000)
commit9093389c0fbe371727b8725a3036c113bed015f0
treec34658207a27617a1ae8c924803f5e3c8e6b4939
parent815368956efb53c3abb890e00886a8866dd7adf9
    Make hardware watchpoints work for process record.

        * breakpoint.c (hardware_watchpoint_inserted_in_range): New.
* breakpoint.h (hardware_watchpoint_inserted_in_range): Declare.
* record.c (record_beneath_to_stopped_by_watchpoint)
(record_beneath_to_stopped_data_address, record_hw_watchpoint):
New globals.
(record_exec_insn): Check for watchpoint hits.
(tmp_to_stopped_by_watchpoint, tmp_to_stopped_data_address): New
globals.
(record_open): Set tmp_to_stopped_by_watchpoint,
tmp_to_stopped_data_address,
record_beneath_to_stopped_by_watchpoint and
record_beneath_to_stopped_data_address.
(record_wait): Report watchpoint hits to the core.  Update and
extend comments.
(record_stopped_by_watchpoint): New.
(record_stopped_data_address): New.
(init_record_ops): Install them.
(init_record_core_ops): Ditto.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/record.c