diff options
author | Pedro Alves <palves@redhat.com> | 2011-05-26 15:32:38 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-05-26 15:32:38 +0000 |
commit | 9da8c2a0faa07d6b876397bdb3e87509897c68cd (patch) | |
tree | 019d3043a8d4b7bab81bda6fa527f34e1f9bb1c2 /gdb/ChangeLog | |
parent | 2c03e5bed3ac8158eaae4621f4b4550e4ab6d4ef (diff) | |
download | gdb-9da8c2a0faa07d6b876397bdb3e87509897c68cd.zip gdb-9da8c2a0faa07d6b876397bdb3e87509897c68cd.tar.gz gdb-9da8c2a0faa07d6b876397bdb3e87509897c68cd.tar.bz2 |
2011-05-26 Pedro Alves <pedro@codesourcery.com>
gdb/
* infcmd.c (finish_backward): Set a step-resume breakpoint at the
function's entry point instead of a manually managed momentary
breakpoint, and only ever issue one proceed call.
* infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If
doing a reverse-finish, switch to stepi mode, to do another step.
(insert_step_resume_breakpoint_at_sal): Make public.
(normal_stop): No need to save function value return registers if
going reverse.
* inferior.h (insert_step_resume_breakpoint_at_sal): Declare.
gdb/testsuite/
* gdb.reverse/finish-reverse-bkpt.exp: New test.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fe40345..6dae1df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,17 @@ 2011-05-26 Pedro Alves <pedro@codesourcery.com> + * infcmd.c (finish_backward): Set a step-resume breakpoint at the + function's entry point instead of a manually managed momentary + breakpoint, and only ever issue one proceed call. + * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If + doing a reverse-finish, switch to stepi mode, to do another step. + (insert_step_resume_breakpoint_at_sal): Make public. + (normal_stop): No need to save function value return registers if + going reverse. + * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. + +2011-05-26 Pedro Alves <pedro@codesourcery.com> + * breakpoint.h (enum bptype) <bp_hp_step_resume>: New. (enum bpstat_what_main_action): Move BPSTAT_WHAT_STEP_RESUME before BPSTAT_WHAT_STOP_SILENT. Add BPSTAT_WHAT_HP_STEP_RESUME |