| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* gdbfreeplay-back.c (handle_special_case): Add support for
running off the ends of the replay log ('E06').
2008-09-10 Michael Snyder <msnyder@vmware.com>
* gdbfreeplay-back.c (handle_special_case): Add support for
reverse debugging.
|
|
|
|
|
| |
* reverse.c (exec_reverse_once): Eliminate fixed-size buffer,
use xstrprintf.
|
|
|
|
| |
* record.c (record_open): Reset after push_target.
|
|
|
|
| |
* infrun.c (handle_inferior_event): Typo in comment.
|
|
|
|
|
| |
* inflow.c (kill_command): Remove query special for
process record.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* target.h (to_set_exec_direction, to_get_exec_direction): Remove.
(to_can_execute_reverse): New method.
(enum exec_direction_kind): Move to inferior.h.
* target.c (update_current_target): Inherit to_can_execute_reverse.
Remove to_set_exec_direction, to_get_exec_direction.
* inferior.h (enum exec_direction_kind): Move from target.h.
* infrun.c (set_exec_direction_func): Move here from reverse.c.
(show_exec_direction_func): Ditto.
(proceed): Consult global execution_direction instead of
target method.
(handle_inferior_event): Ditto.
* reverse.c (set_exec_direction_func): Move to infrun.c
(show_exec_direction_func): Ditto.
(exec_direction_default): Set infrun global variable.
(exec_reverse_once): Consult infrun global direction variable.
* infcmd.c (step_1): Consult infrun global direction variable.
(step_once): Ditto.
(until_next_command): Ditto.
(finish_command): Ditto.
* record.h (record_exec_direction): Delete.
(RECORD_IS_REPLAY): Consult infrun global direction variable.
* record.c: (record_wait_cleanups): Use infrun state variable.
(record_wait): Ditto.
(record_get_exec_direction, record_set_exec_direction): Remove.
(record_can_execute_reverse): New target method.
* remote.c (remote_resume): Use infrun state variable.
(remote_get_exec_direction, remote_set_exec_direction): Remove.
(remote_can_execute_reverse): New target method.
|
|
|
|
|
|
| |
* infrun.c (stepped_into_function): Rename handle_step_into_function.
(stepped_into_function_backward):
Rename handle_step_into_function_backward.
|
|
|
|
|
|
| |
* reverse.c: Update copyright.
(exec_reverse_once): Add function header comment.
(_initialize_reverse): Use i18n macros for set exec-direction.
|
|
|
|
|
|
|
| |
* i386-tdep.c, inflow.c, infrun.c, linux-record.c,
linux-record.h, record.c, record.h: Change name from
"record and reverse target" to
"process record and replay target".
|
|
|
|
|
|
|
|
| |
* record.c (displaced_step_fixup): Remove.
(record_message_cleanups): Remove displaced step handling.
(record_message): Remove displaced step handling.
* infrun.c (displaced_step_ptid): Back to being static.
(displaced_step_original, displaced_step_copy): Ditto.
|
|
|
|
|
|
|
| |
* breakpoint.c (breakpoint_silence): Rename to make_breakpoint_silent.
* breakpoint.h: Ditto.
* infcmd.c (finish_backward): Call make_breakpoint_silent
instead of breakpoint_silence.
|
|
|
|
| |
* infcmd.c (finish_command): Reject async in reverse.
|
|
|
|
| |
* infcmd.c (finish_command): Use i18n macros.
|
|
|
|
| |
* infcmd.c: Minor function reordering.
|
|
|
|
|
|
|
| |
* infrun.c (step_into_function): Rename to stepped_into_function.
Split into two versions (normal (forward), and reverse).
(handle_inferior_event): Call stepped_into_function or
stepped_into_function_backward, depending on exec_direction.
|
|
|
|
| |
* infrun.c (handle_inferior_event): Comment rewording.
|
|
|
|
|
| |
* remote.c (remote_get_exec_direction): Use i18n macros.
(remote_set_exec_direction): Ditto.
|
|
|
|
| |
* infrun.c (handle_inferior_event, step_into_function): Formatting.
|
|
|
|
| |
* infrun.c (handle_inferior_event): Formatting, spelling fix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change from "to_prepare_to_store" to "to_store_registers".
* record.c (record_beneath_to_prepare_to_store): Removed.
(record_beneath_to_store_registers): New function pointer.
Instead "record_beneath_to_prepare_to_store". Will point
to the low strata target "to_store_registers" function.
(record_prepare_to_store): Removed.
(record_store_registers): New function.
Instead "record_prepare_to_store". Record the change of
registers from GDB.
(init_record_ops): Change record_prepare_to_store to
record_store_registers.
* record.h (record_beneath_to_prepare_to_store): Removed.
(record_beneath_to_store_registers): New extern.
(record_regcache_raw_write_regnum): Remove.
* target.c (update_current_target): Change
record_beneath_to_prepare_to_store to
record_beneath_to_store_registers.
2008-10-06 Michael Snyder <msnyder@promb-2s-dhcp59.eng.vmware.com>
* regcache.c (regcache_raw_write): Remove global variable.
No need to include "record.h" now.
* record.c (record_regcache_raw_write_regnum): Remove.
|
|
|
|
|
| |
* infrun.c (use_displaced_stepping): Disallow displaced
stepping if using record/replay target.
|
|
|
|
|
| |
* reverse.c (exec_reverse_once): Call do_cleanups explicitly.
(show_exec_direction_func): Don't error, just inform.
|
|
|
|
|
|
|
| |
* target.c, target.h: Rename execdir to exec_direction.
* record.c, record.h: Ditto.
* reverse.c: Ditto.
* remote.c: Ditto.
|
|
|
|
|
| |
* linux-record.c (record_linux_system_call): Cast sizeof
in printf calls, avoid compiler warnings on 64 bit hosts.
|
| |
|
|
|
|
| |
* infrun.c (handle_inferior_event): Fix typo in comment.
|
|
|
|
| |
* infrun.c (handle_inferior_event): Fix typo in comment.
|
| |
|
|
|
|
| |
* reverse.c (show_exec_direction_func): Don't error, just inform.
|
|
|
|
|
|
|
| |
* record.c (record_open): Call target_can_async_p() instead
of relying on a global variable.
* record.h (record_linux_async_permitted): Delete.
* linux-nat.c (record_linux_async_permitted): Delete reference.
|
|
|
|
| |
* record.c (trivial): Fix two commas in a comment.
|
|
|
|
|
| |
* record.c (record_wait): On end of record log, return
TARGET_WAITKIND_NO_HISTORY and let infrun decide what to do.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* record.c (record_wait): Fix the bug of forware step after
reverse step.
Make debug message more clean.
Remove variable record_list_status.
* i386-tdep.c (i386_record): Fix the bug of "0x80 ... 0x83".
|
|
|
|
|
| |
* infrun.c (proceed): No need to singlestep over a breakpoint
when resuming in reverse.
|
|
|
|
|
|
| |
* gdb.twreverse/machinestate.exp: New file.
* gdb.twreverse/machinestate.c: New file.
* gdb.twreverse/machinestate1.c: New file.
|
|
|
|
|
|
| |
* gdb.twreverse/consecutive-reverse.exp: New file.
* gdb.twreverse/consecutive-reverse.c: New file.
* gdb.twreverse/Makefile.in: Update for make clean.
|
|
|
|
|
| |
* record.c (record_resume): Change
"record_ops.beneath->to_resume" to "record_beneath_to_resume".
|
|
|
|
|
|
| |
* gdb.twreverse/until-reverse.exp: New file.
* gdb.twreverse/until-reverse.c: New file.
* gdb.twreverse/until-reverse1.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gdb.twreverse/return2-reverse.c: Rename to:
* gdb.twreverse/finish-reverse.c: New name of file.
* gdb.twreverse/*.exp: Sharpen regexps, add $gdb_prompt.
2008-09-06 Michael Snyder <msnyder@vmware.com>
* gdb.twreverse/watch-reverse.exp: New file.
* gdb.twreverse/watch-reverse.c: New file.
* gdb.twreverse/Makefile.in: Add watch-reverse for make clean.
* gdb.twreverse/step-reverse.exp: Add $gdb_prompt to regexps.
|
|
|
|
| |
* i386-tdep.c (i386_record): Record the memory change of FP instructions.
|
|
|
|
| |
* record.c (record_wait): Add code to deal with record_first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gdbfreeplay-back.c (frame_find_request): Rewrite loop to
avoid fencepost error on last frame.
2008-06-23 Michael Snyder <msnyder@specifix.com>
* gdbfreeplay.h: Replace all address values with unsigned long long.
* gdbfreeplay-i386.c: Ditto.
* gdbfreeplay-mips64.c: Ditto.
* gdbfreeplay-back.c: Ditto.
* remote-break.c: Ditto.
* remote-break.h: Ditto.
* configure.srv: Add configuration for mips64-linux.
* gdbfreeplay-mips64.c: New file, back-end for mips64.
* Makefile.in: Add rules for mips and intel back-ends.
2008-06-21 Michael Snyder <msnyder@specifix.com>
* gdbfreeplay-back.c (scan_gdbreplay_file): Add support for 'W'
reply (exiting), but not for 'X' (terminated).
(freeplay_find_event): Make sure we always advance by at least
one frame, unles it's the first or last frame.
(handle_special_case): Add support for 'S' and 'C' requests.
* gdbfreeplay-back.c (handle_special_case): No need to re-compose
a T packet (with doctored PC) on any stop signal except SIGTRAP.
Fix stepping/breakpoint off-by-one issues.
* gdbfreeplay-back.c (freeplay_find_event): Fix off-by-one error
on last_cached_frame.
(freeplay_show_next_commands): Ditto.
(handle_special_case): Ditto, plus don't pass breakpoint_p == TRUE
to target_compose_T_packet if we're stopped at the end of the
event cache.
* gdbfreeplay-back.c (handle_special_case): Silence gcc warning.
* gdbfreeplay-i386.c (target_compose_g_packet): Ditto.
Add monitor gdbreplay-next command.
* gdbfreeplay-back.c (freeplay_show_next_commands): New function.
Echo the next set of gdb commands, in the manner of gdbreplay.
(handle_special_case): Handle monitor gdbreplay-next command.
(fallbacks): Catch any unhandled qRcmd requests.
Add support for 'R' packet (restart).
* gdbfreeplay-back.c (handle_special_case). Add support for 'R'.
Remove support for "monitor gdbfreeplay-echo".
Add support for 'O' packet output.
* remote-breakpoint.h (PLAY_O_PACKETS): New enum const.
* gdbfreeplay-back.c (StopFrame): Discard gpos, replace with Opos.
(scan_gdbreplay_file): Record Opos for frame if 'O' packet found.
(frame_replay_O_packets): New function.
(freeplay_find_event): Call frame_replay_O_packets.
(handle_special_case): Pass PLAY_O_PACKETS to freeplay_find_event.
Add temporary support for "monitor gdbfreeplay-echo" command
(just for testing).
* gdbfreeplay-back.c: Clean up round, comments, remove #if 0 etc.
* gdbfreeplay-i386.c: Ditto.
* gdbfreeplay-i386.c (target_pc_from_g): Accept a char * instead
of a FILE *.
* gdbfreeplay.h (target_pc_from_g): Change prototype.
* gdbfreeplay-back.c (scan_gdbreplay_file): Change call.
* gdbfreeplay-i386.c (target_compose_T_packet): Add default return.
(target_compose_g_packet): New function.
* gdbfreeplay.h (target_compose_g_packet): Export.
* gdbfreeplay-back.c (handle_special_case): Give correct args
for target_compose_T_packet.
(fallbacks): Add handling for 'G', 'M', 'X', and 'g'.
* gdbfreeplay-front.c: New file. Extended gdbreplay.
* gdbfreeplay-back.c: New file.
* gdbfreeplay-i386.c: New file.
* gdbfreeplay.h: New file.
* remote-breakpoint.c: New file.
* remote-breakpoint.h: New file.
* Makefile.in: Add rules for gdb-freeplay.
* configure.srv: Ditto.
* configure.ac: Ditto.
* configure: Regenerate.
|
|
|
|
| |
* record.c: Add some function header comments.
|
|
|
|
| |
* record-linux.c: Comment and message string cleanup.
|