| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* Makefile.in: Add "gdb.twreverse" to "ALL_SUBDIRS".
* gdb.twreverse/Makefile.in: TAB instead of 8 spaces.
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: Add $gdb_prompt to regexps.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* gdb.twreverse/finish-reverse.exp: New file.
* gdb.twreverse/return2-reverse.c: New file.
* gdb.twreverse/Makefile.in: Add return2-reverse for make clean.
|
|
|
|
|
|
| |
* gdb.twreverse/reverse-return.exp: New file.
* gdb.twreverse/reverse-return.c: New file.
* gdb.twreverse/Makefile.in: Mention reverse-return for make clean.
|
|
|
|
| |
* gdb.twreverse/Makefile.in: Mention step-reverse for make clean.
|
| |
|
|
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: Add tests for reverse stepi
thru the return of a function (into callee).
* gdb.twreverse/step-reverse.c: Ditto.
|
|
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: Add tests for reverse stepi
thru a function call (back to caller).
* gdb.twreverse/step-reverse.c: Ditto.
|
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: Add tests for reverse stepi.
* gdb.twreverse/step-reverse.c: Ditto.
|
|
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: Add tests for stepping
backward into a function call.
* gdb.twreverse/step-reverse.c: Ditto.
|
|
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: Add tests for reverse stepping
over, into, and out of a function call.
* gdb.twreverse/step-reverse.c: Ditto.
|
|
|
|
|
| |
* gdb.twreverse/step-reverse.exp: New file.
* gdb.twreverse/step-reverse.c: New file.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
were stopped.
|
|
|
|
|
| |
of regexp to account for changes made to GDB in the printing of
byte vectors.
|
|
|
|
|
|
|
|
|
| |
* completer.c (complete_line_internal): New function, from
complete_line. Add 'for_help' parameter.
(complete_line): Use it.
(command_completer): Move later. Rewrite.
gdb/testsuite
* gdb.base/completion.exp: Add 'help' completion test.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS (New commands): Mention "set disable-randomization".
* configure.ac: Add check for HAVE_PERSONALITY and
HAVE_DECL_ADDR_NO_RANDOMIZE.
* configure, config.in: Regenerate.
* linux-nat.c [HAVE_PERSONALITY]: New include <sys/personality.h>.
[HAVE_PERSONALITY] [!HAVE_DECL_ADDR_NO_RANDOMIZE]: Set
ADDR_NO_RANDOMIZE.
(disable_randomization, show_disable_randomization)
(set_disable_randomization): New.
(linux_nat_create_inferior) [HAVE_PERSONALITY]: New variables
PERSONALITY_ORIG and PERSONALITY_SET. Disable randomization upon the
variable DISABLE_RANDOMIZATION.
(_initialize_linux_nat): Call ADD_SETSHOW_BOOLEAN_CMD for the variable
DISABLE_RANDOMIZATION.
gdb/doc/
* gdb.texinfo (Starting): Document "set disable-randomization".
gdb/testsuite/
* gdb.base/randomize.exp, gdb.base/randomize.c: New files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-09 Pedro Alves <pedro@codesourcery.com>
* symfile.c (load_command): Reopen the exec file and reread
symbols before anything else.
gdb/testsuite/
2008-07-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/chng-syms.exp: Don't expect "No symbol ...".
|
| |
|
|
|
|
|
|
|
| |
* breakpoint.c (bpstat_copy): Call RELEASE_VALUE on the new OLD_VAL.
gdb/testsuite/
* gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
|
| |
|
|
|
|
| |
previous commit. Add a comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* linux-nat.c (enum sigchld_state): New.
(linux_nat_async_events_state): Renamed from
linux_nat_async_events_enabled.
(linux_nat_event_pipe_push, my_waitpid): Adjust.
(sigchld_default_action): New.
(lin_lwp_attach_lwp): Adjust. Call linux_nat_async_events
unconditionally.
(linux_nat_create_inferior): Set events state to sigchld_default
state.
(linux_nat_resume): Adjust.
(linux_nat_wait): Call linux_nat_async_events unconditionally.
(sigchld_handler): Adjust.
(linux_nat_async_mask): Don't set SIGCHLD actions here.
(get_pending_events): Adjust.
(linux_nat_async_events): Rewrite to handle enum sigchld_state
instead of a boolean.
(linux_nat_async): Adjust.
(_initialize_linux_nat): Capture default SIGCHLD action into
sigchld_default_action.
gdb/testsuite/
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
compiling an executable, link in an object that forces unbuffered
output.
* lib/set_unbuffered_mode.c: New file.
|
|
|
|
|
|
| |
* target.h (target_read_until_error): Declare.
* mi/mi-main.c (mi_cmd_data_read_memory): Use
target_read_until_error.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print
^running here.
(mi_on_resume): Print ^running if not previously output.
* mi/mi-main.c (running_result_record_printed): New.
(captured_mi_execute_command): Reset
running_result_record_printed. Use running_result_record_printed
to decide if we should skip ^done.
(mi_execute_async_cli_command): Don't print ^running here.
* mi/mi-main.h (current_token, running_result_record_printed):
Declare.
|