summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2008-09-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-052-2/+24
| | | | | | * infrun.c (handle_inferior_event): Revert one change, in the context of comment "We are at the start of a different line". This code finds the start of the line while stepping.
* 2008-09-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-044-2/+144
| | | | | | * gdb.twreverse/reverse-return.exp: New file. * gdb.twreverse/reverse-return.c: New file. * gdb.twreverse/Makefile.in: Mention reverse-return for make clean.
* 2008-09-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-042-1/+5
| | | | * gdb.twreverse/Makefile.in: Mention step-reverse for make clean.
* whitespace fixesMichael Snyder2008-09-041-4/+4
|
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-042-6/+61
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepi thru the return of a function (into callee). * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-5/+51
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepi thru a function call (back to caller). * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-7/+46
| | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepi. * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-4/+36
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for stepping backward into a function call. * gdb.twreverse/step-reverse.c: Ditto.
* 2008-09-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-043-4/+31
| | | | | | * gdb.twreverse/step-reverse.exp: Add tests for reverse stepping over, into, and out of a function call. * gdb.twreverse/step-reverse.c: Ditto.
* the insn number.Hui Zhu2008-09-026-136/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* 2008-09-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-023-0/+134
| | | | | * gdb.twreverse/step-reverse.exp: New file. * gdb.twreverse/step-reverse.c: New file.
* 2008-09-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2008-09-026-12/+147
| | | | | | | | | * gdb.twreverse: New directory (may be renamed later). * gdb.twreverse/Makefile.in: New file. * gdb.twreverse/break-reverse.exp: New file. * gdb.twreverse/break-reverse.c: New file. * configure.in: Add gdb.twreverse directory. * configure: Regenerate.
* 2008-08-10 Hui Zhu <teawater@gmail.com>Hui Zhu2008-08-155-20/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Support more ioctl requests in record target.Hui Zhu2008-08-076-28/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* chael Snyder <msnyder@specifix.com>Michael Snyder2008-08-013-25/+37
| | | | | | | | | | * 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
* Change record.c (record_list_release_next) just release "record_list".Hui Zhu2008-07-303-5/+203
| | | | | Add record instructions limit. Add a cleanup for displaced stepping in function "record_message_cleanups".
* Add a cleanup in function "record_message".Hui Zhu2008-07-272-12/+23
|
* Add a element "to_support_record_wait" to target_ops.Hui Zhu2008-07-246-19/+140
| | | | Optimize infrun.c.
* IndentMichael Snyder2008-07-231-36/+37
|
* Add record target to GDB.Hui Zhu2008-07-211-0/+54
|
* Add record target to GDB.Hui Zhu2008-07-2018-32/+6501
|
* 2008-07-17 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-07-18317-78134/+723
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-02 Michael Snyder <msnyder@redhat.com> * Target interface for reverse execution. * target.h (enum target_waitkind): Add new wait event, TARGET_WAITKIND_NO_HISTORY. (enum exec_direction_kind): New enum. (struct target_ops): New methods to_set_execdir, to_get_execdir. * target.c (target_get_execdir): New generic method. (target_set_execdir): Ditto. * remote.c (remote_get_execdir, remote_set_execdir): New methods. (remote_vcont_resume): Jump out if attempting reverse execution. (remote_resume): Check for reverse exec direction, and send appropriate command to target. (remote_wait): Check target response for NO_HISTORY status. Also check for empty reply (target doesn't understand "bs" or "bc). (_initialize_remote): Add new methods to remote target vector. * breakpoint.h (breakpoint_silence): Export. * breakpoint.c (breakpoint_silence): New function. * infcmd.c (finish_command): Check for reverse exec direction. (finish_backward): New function, handle finish cmd in reverse. * infrun.c (enum inferior_stop_reason): Add NO_HISTORY reason. (handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY. Handle stepping over a function call in reverse. Handle stepping thru a line range in reverse. Handle setting a step-resume breakpoint in reverse. Handle stepping into a function in reverse. Handle stepping between line ranges in reverse. (print_stop_reason): Print reason for NO_HISTORY. 2006-03-31 Michael Snyder <msnyder@redhat.com> User interface for reverse execution. * Makefile.in (reverse.c): New file. * reverse.c: New file. User interface for reverse execution. 2007-04-18 Daniel Jacobowitz <dan@codesourcery.com> * infcmd.c (finish_backwards): Correct check for whether to back up after finishing. * arm-tdep.c (arm_scan_epilogue): New. (arm_make_prologue_cache): Use it. (arm_epilogue_unwind_sniffer): New. (arm_gdbarch_init): Register it.
* daily updatereverse-20080717-branchpointAlan Modra2008-07-181-1/+1
|
* *** empty log message ***gdbadmin2008-07-181-1/+1
|
* Fix for Linux/VDSO failure.Paul Pluzhnikov2008-07-172-2/+6
|
* Fix for failing gdb.base/auxv.exp on LinuxPaul Pluzhnikov2008-07-172-0/+6
|
* Fix for gdb.base/corefile.exp failure on LinuxPaul Pluzhnikov2008-07-172-1/+6
|
* daily updateAlan Modra2008-07-171-1/+1
|
* *** empty log message ***gdbadmin2008-07-171-1/+1
|
* * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,Bernd Schmidt2008-07-162-618/+624
| | | | | | | bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook, ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE, struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code separate from non-FD-PIC.
* daily updateAlan Modra2008-07-161-1/+1
|
* *** empty log message ***gdbadmin2008-07-161-1/+1
|
* Revert frame_unwind_caller_pc / frame_unwind_caller_id.Daniel Jacobowitz2008-07-1510-50/+20
|
* * valops.c (value_cast_pointers): Follow typedefs when checkingAndreas Schwab2008-07-152-397/+402
| | | | result of coercion.
* Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elfPaul Pluzhnikov2008-07-152-2/+6
|
* * block.c (block_function): Renamed to ...Daniel Jacobowitz2008-07-156-10/+20
| | | | | | (block_linkage_function): ... this. All callers changed. * block.h (block_function): Renamed to ... (block_linkage_function): ... this.
* * frame.c (frame_unwind_id): Renamed to ...Daniel Jacobowitz2008-07-1510-20/+50
| | | | | | | | | | | | | | (frame_unwind_caller_id): ... this. All callers updated. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. All callers updated. * frame.h: Document frame_unwind_caller_WHAT functions. (frame_unwind_id): Renamed to ... (frame_unwind_caller_id): ... this. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment. * stack.c (parse_frame_specification_1): Do not rely on frame_unwind_id.
* * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.Daniel Jacobowitz2008-07-152-2/+6
|
* * frame.c (frame_sp_unwind): Delete.Daniel Jacobowitz2008-07-153-12/+12
| | | | | (get_frame_sp): Do not use it. * frame.h (frame_sp_unwind): Delete prototype.
* * elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflowDJ Delorie2008-07-152-9/+25
| | | | | | | checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16 relocs. (mn10300_elf_relax_section): Correct jump offset check when target is in a different section.
* * ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.Daniel Jacobowitz2008-07-152-1/+5
|
* Add missing ChangeLog entries forH.J. Lu2008-07-151-0/+12
| | | | http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html
* * dwarf2-frame.c (dwarf2_frame_cache): Update comment.Daniel Jacobowitz2008-07-155-42/+56
| | | | | | | | | * frame.c (frame_unwind_address_in_block): Delete. (get_frame_address_in_block): Do not use it. Check the type of the next frame first. (frame_cleanup_after_sniffer): Update comment. * frame.h (frame_unwind_address_in_block): Delete prototype. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.
* * frame.c (frame_func_unwind): Delete.Daniel Jacobowitz2008-07-155-24/+24
| | | | | | | (get_frame_func): Do not use it. * frame.h (frame_func_unwind): Delete prototype. * hppa-tdep.c (hppa_frame_cache): Update comment. * rs6000-tdep.c (rs6000_frame_cache): Update comment.
* * remote-sim.c (init_gdbsim_ops): RemoveStan Shebs2008-07-152-4/+5
| | | | TARGET_REDEFINE_DEFAULT_OPS.
* * findvar.c (read_var_value): Remove unused variable.Daniel Jacobowitz2008-07-152-2/+4
|
* * infrun.c (handle_inferior_event): Tag threads as stoppedLuis Machado2008-07-152-23/+28
| | | | before inserting breakpoints.
* bfd/Jie Zhang2008-07-152-0/+14
| | | | | | | | * elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
* * MAINTAINERS: Added myself to section Write After Approval.Hui Zhu2008-07-152-0/+5
|
* *** empty log message ***gdbadmin2008-07-151-1/+1
|