Restore Schauer's version of ADD_SOLIB in core_open().
This commit is contained in:
parent
d0237a54e5
commit
25a40b004d
1 changed files with 1 additions and 3 deletions
|
@ -127,6 +127,7 @@ core_open (filename, from_tty)
|
||||||
bfd_errmsg (bfd_error));
|
bfd_errmsg (bfd_error));
|
||||||
|
|
||||||
ontop = !push_target (&core_ops);
|
ontop = !push_target (&core_ops);
|
||||||
|
make_cleanup (pop_target, 0);
|
||||||
|
|
||||||
p = bfd_core_file_failing_command (core_bfd);
|
p = bfd_core_file_failing_command (core_bfd);
|
||||||
if (p)
|
if (p)
|
||||||
|
@ -143,12 +144,9 @@ core_open (filename, from_tty)
|
||||||
set_current_frame ( create_new_frame (read_register (FP_REGNUM),
|
set_current_frame ( create_new_frame (read_register (FP_REGNUM),
|
||||||
read_pc ()));
|
read_pc ()));
|
||||||
select_frame (get_current_frame (), 0);
|
select_frame (get_current_frame (), 0);
|
||||||
#if 0
|
|
||||||
/* Shouldn't be necessary to read in symbols. */
|
|
||||||
#ifdef SOLIB_ADD
|
#ifdef SOLIB_ADD
|
||||||
SOLIB_ADD (NULL, from_tty);
|
SOLIB_ADD (NULL, from_tty);
|
||||||
#endif
|
#endif
|
||||||
#endif /* 0 */
|
|
||||||
print_sel_frame (0); /* Print the top frame and source line */
|
print_sel_frame (0); /* Print the top frame and source line */
|
||||||
} else {
|
} else {
|
||||||
printf (
|
printf (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue