Use unpush_target not pop_target in core_open.

This commit is contained in:
Jim Kingdon
1991-04-23 02:19:43 +00:00
parent 9a822037b1
commit 269c301158
2 changed files with 4 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ core_open (filename, from_tty)
bfd_errmsg (bfd_error));
ontop = !push_target (&core_ops);
make_cleanup (pop_target, 0);
make_cleanup (unpush_target, &core_ops);
p = bfd_core_file_failing_command (core_bfd);
if (p)