| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
* Comments, spelling, white space clean-ups.
|
|
|
|
|
|
|
|
|
|
| |
* record.h: Don't export record_not_record.
* infrun.c (proceed): Don't call record_not_record_set.
* record.h (record_not_record): Rename to in_record_wait.
(record_not_record_set): Rename to in_record_wait_set.
(record_not_record_cleanup): Rename to in_record_wait_cleanup.
(record_store_registers): Check in_record_wait flag.
(record_xfer_partial): Ditto.
|
|
|
|
| |
* Marker: adding teawater patches to branch.
|
|
|
|
| |
* record.c (record_open): Reset after push_target.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* target.c, target.h: Rename execdir to exec_direction.
* record.c, record.h: Ditto.
* reverse.c: Ditto.
* remote.c: Ditto.
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
| |
* record.c (record_resume): Change
"record_ops.beneath->to_resume" to "record_beneath_to_resume".
|
|
|
|
| |
* record.c (record_wait): Add code to deal with record_first.
|
|
|
|
| |
* record.c: Add some function header comments.
|
|
|
|
| |
* record.c: Comment and message string cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(record_registers_change): Call function
"record_check_insn_num" check the insn number. Increase
"record_insn_num" if need.
(record_xfer_partial): Call function "record_check_insn_num"
check the insn number. Increase "record_insn_num" if need.
2008-08-10 Hui Zhu <teawater@gmail.com>
Add the real beneath function pointers for record target.
* Makefile.in: Add record.h to depend of target.c.
* record.c (record_beneath_to_resume, record_beneath_to_wait,
record_beneath_to_prepare_to_store,
record_beneath_to_xfer_partial,
record_beneath_to_insert_breakpoint,
record_beneath_to_remove_breakpoint): New function pointers.
The real beneath function pointers.
(record_resume): Change "record_ops.beneath->to_resume" to
"record_beneath_to_resume".
(record_wait): Change "record_ops.beneath->to_wait" to
"record_beneath_to_wait".
(record_prepare_to_store): Change
"record_ops.beneath->to_prepare_to_store" to
"record_beneath_to_prepare_to_store".
(record_xfer_partial): Change
"record_ops.beneath->to_xfer_partial" to
"record_beneath_to_xfer_partial".
(record_insert_breakpoint): Change
"record_ops.beneath->to_insert_breakpoint" to
"record_beneath_to_insert_breakpoint".
(record_remove_breakpoint): Change
"record_ops.beneath->to_remove_breakpoint" to
"record_beneath_to_remove_breakpoint".
* record.h (record_beneath_to_resume,
record_beneath_to_wait,
record_beneath_to_prepare_to_store,
record_beneath_to_xfer_partial,
record_beneath_to_insert_breakpoint,
record_beneath_to_remove_breakpoint): Extern.
* target.c: Add include of "record.h".
(update_current_target): Set the real beneath function
pointers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the real beneath function pointers for record target.
* Makefile.in: Add record.h to depend of target.c.
* record.c (record_beneath_to_resume, record_beneath_to_wait,
record_beneath_to_prepare_to_store, record_beneath_to_xfer_partial,
record_beneath_to_insert_breakpoint,
record_beneath_to_remove_breakpoint): New function pointers. The real
beneath function pointers.
(record_resume): Change "record_ops.beneath->to_resume" to
"record_beneath_to_resume".
(record_wait): Change "record_ops.beneath->to_wait" to
"record_beneath_to_wait".
(record_prepare_to_store): Change
"record_ops.beneath->to_prepare_to_store" to
"record_beneath_to_prepare_to_store".
(record_xfer_partial): Change "record_ops.beneath->to_xfer_partial" to
"record_beneath_to_xfer_partial".
(record_insert_breakpoint): Change
"record_ops.beneath->to_insert_breakpoint" to
"record_beneath_to_insert_breakpoint".
(record_remove_breakpoint): Change
"record_ops.beneath->to_remove_breakpoint" to
"record_beneath_to_remove_breakpoint".
* record.h (record_beneath_to_resume, record_beneath_to_wait,
record_beneath_to_prepare_to_store, record_beneath_to_xfer_partial,
record_beneath_to_insert_breakpoint,
record_beneath_to_remove_breakpoint): Extern.
* target.c: Add include of "record.h".
(update_current_target): Set the real beneath function pointers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* i386-linux-tdep.c (I386_RECORD_SIZE_termios,
I386_RECORD_SIZE_termios2, I386_RECORD_SIZE_pid_t,
I386_RECORD_SIZE_winsize, I386_RECORD_SIZE_char,
I386_RECORD_SIZE_serial_struct,
I386_RECORD_SIZE_serial_icounter_struct,
I386_RECORD_SIZE_hayes_esp_config): New macros. Sizes of some types in
I386.
(I386_RECORD_IOCTL_TCGETS,
I386_RECORD_IOCTL_TCSETS,
I386_RECORD_IOCTL_TCSETSW,
I386_RECORD_IOCTL_TCSETSF,
I386_RECORD_IOCTL_TCGETA,
I386_RECORD_IOCTL_TCSETA,
I386_RECORD_IOCTL_TCSETAW,
I386_RECORD_IOCTL_TCSETAF,
I386_RECORD_IOCTL_TCSBRK,
I386_RECORD_IOCTL_TCXONC,
I386_RECORD_IOCTL_TCFLSH,
I386_RECORD_IOCTL_TIOCEXCL,
I386_RECORD_IOCTL_TIOCNXCL,
I386_RECORD_IOCTL_TIOCSCTTY,
I386_RECORD_IOCTL_TIOCGPGRP,
I386_RECORD_IOCTL_TIOCSPGRP,
I386_RECORD_IOCTL_TIOCOUTQ,
I386_RECORD_IOCTL_TIOCSTI,
I386_RECORD_IOCTL_TIOCGWINSZ,
I386_RECORD_IOCTL_TIOCSWINSZ,
I386_RECORD_IOCTL_TIOCMGET,
I386_RECORD_IOCTL_TIOCMBIS,
I386_RECORD_IOCTL_TIOCMBIC,
I386_RECORD_IOCTL_TIOCMSET,
I386_RECORD_IOCTL_TIOCGSOFTCAR,
I386_RECORD_IOCTL_TIOCSSOFTCAR,
I386_RECORD_IOCTL_FIONREAD,
I386_RECORD_IOCTL_TIOCINQ,
I386_RECORD_IOCTL_TIOCLINUX,
I386_RECORD_IOCTL_TIOCCONS,
I386_RECORD_IOCTL_TIOCGSERIAL,
I386_RECORD_IOCTL_TIOCSSERIAL,
I386_RECORD_IOCTL_TIOCPKT,
I386_RECORD_IOCTL_FIONBIO,
I386_RECORD_IOCTL_TIOCNOTTY,
I386_RECORD_IOCTL_TIOCSETD,
I386_RECORD_IOCTL_TIOCGETD,
I386_RECORD_IOCTL_TCSBRKP,
I386_RECORD_IOCTL_TIOCTTYGSTRUCT,
I386_RECORD_IOCTL_TIOCSBRK,
I386_RECORD_IOCTL_TIOCCBRK,
I386_RECORD_IOCTL_TIOCGSID,
I386_RECORD_IOCTL_TCGETS2,
I386_RECORD_IOCTL_TCSETS2,
I386_RECORD_IOCTL_TCSETSW2,
I386_RECORD_IOCTL_TCSETSF2,
I386_RECORD_IOCTL_TIOCGPTN,
I386_RECORD_IOCTL_TIOCSPTLCK,
I386_RECORD_IOCTL_FIONCLEX,
I386_RECORD_IOCTL_FIOCLEX,
I386_RECORD_IOCTL_FIOASYNC,
I386_RECORD_IOCTL_TIOCSERCONFIG,
I386_RECORD_IOCTL_TIOCSERGWILD,
I386_RECORD_IOCTL_TIOCSERSWILD,
I386_RECORD_IOCTL_TIOCGLCKTRMIOS,
I386_RECORD_IOCTL_TIOCSLCKTRMIOS,
I386_RECORD_IOCTL_TIOCSERGSTRUCT,
I386_RECORD_IOCTL_TIOCSERGETLSR,
I386_RECORD_IOCTL_TIOCSERGETMULTI,
I386_RECORD_IOCTL_TIOCSERSETMULTI,
I386_RECORD_IOCTL_TIOCMIWAIT,
I386_RECORD_IOCTL_TIOCGICOUNT,
I386_RECORD_IOCTL_TIOCGHAYESESP,
I386_RECORD_IOCTL_TIOCSHAYESESP,
I386_RECORD_IOCTL_FIOQSIZE): New macros. Ioctl request numbers in I386.
(i386_linux_init_abi): Initialize the size of some types and ioctl
request numbers in linux_record_tdep.
linux-record.c (record_linux_system_call): Record more ioctl requests.
linux-record.h (linux_record_tdep_s): Add size of some types and ioctl
request numbers.
Add a cleanup in function "record_wait".
* record.c (record_wait_cleanups): New function. Clean for function
"record_wait".
(record_wait): Add a cleanup to call function "record_wait_cleanups".
i386-tdep.c (i386_record_lea_modrm): If this is not a error, output
warning message of "can't get the value of the segment register" just
when record_debug is set.
record.c (record_message): Change output message from "pause" to
"stop".
linux-record.c (record_linux_system_call): Change output message from
"pause" to "stop".
linux-record.c (record_linux_system_call): Make query message for
syscall munmap more clear.
record.c (_initialize_record): Fix a little bug.
|
|
|
|
|
|
|
|
|
|
| |
* record.c (_initialize_record): Clarify language in help strings.
Fix up comment format (period must be followed by two spaces).
2008-08-01 Michael Snyder <msnyder@specifix.com>
* i386-tdep.c (i386_record_lea_modrm): Spelling fix.
:wq
|
|
|
|
|
| |
Add record instructions limit.
Add a cleanup for displaced stepping in function "record_message_cleanups".
|
| |
|
|
|