projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git]
/
gdb
/
inflow.c
diff --git
a/gdb/inflow.c
b/gdb/inflow.c
index fddfe84db5b42791d57402dc07d4369c610cf35d..b4844662dd58b7754f455c241e9b9f37b9f83041 100644
(file)
--- a/
gdb/inflow.c
+++ b/
gdb/inflow.c
@@
-469,7
+469,7
@@
generic_mourn_inferior ()
{
inferior_pid = 0;
attach_flag = 0;
{
inferior_pid = 0;
attach_flag = 0;
-
mark_breakpoints_out
();
+
breakpoint_init_inferior
();
registers_changed ();
#ifdef CLEAR_DEFERRED_STORES
registers_changed ();
#ifdef CLEAR_DEFERRED_STORES
@@
-478,15
+478,8
@@
generic_mourn_inferior ()
#endif
reopen_exec_file ();
#endif
reopen_exec_file ();
- flush_cached_frames ();
- if (target_has_stack) {
- set_current_frame ( create_new_frame (read_register (FP_REGNUM),
- read_pc ()));
- select_frame (get_current_frame (), 0);
- } else {
- set_current_frame (0);
- select_frame ((FRAME) 0, -1);
- }
+ reinit_frame_cache ();
+
/* It is confusing to the user for ignore counts to stick around
from previous runs of the inferior. So clear them. */
breakpoint_clear_ignore_counts ();
/* It is confusing to the user for ignore counts to stick around
from previous runs of the inferior. So clear them. */
breakpoint_clear_ignore_counts ();
This page took
0.032157 seconds
and
4
git commands to generate.