diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-23 02:19:43 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-23 02:19:43 +0000 |
commit | 269c3011580a252c418361d275fcecefdb109d1a (patch) | |
tree | ad5d1901c0baf3dbfd6f68dd6b51d2026efa389f /gdb/core.c | |
parent | 9a822037b10afc6540f4199017af0e728c8e68eb (diff) | |
download | binutils-gdb-269c3011580a252c418361d275fcecefdb109d1a.tar.gz |
Use unpush_target not pop_target in core_open.
Diffstat (limited to 'gdb/core.c')
-rw-r--r-- | gdb/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/core.c b/gdb/core.c index fdc70284550..00d469fc06d 100644 --- a/gdb/core.c +++ b/gdb/core.c @@ -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) |