Use unpush_target not pop_target in core_open.
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 23 Apr 1991 02:19:43 +0000 (02:19 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 23 Apr 1991 02:19:43 +0000 (02:19 +0000)
gdb/ChangeLog
gdb/core.c

index 0b3e1cbc0249d8df4bbc636f4285083dd7d6142d..e388bdabf9eea246c954546290ee076214424d28 100644 (file)
@@ -1,5 +1,7 @@
 Mon Apr 22 00:02:43 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)
 
+       * printcmd.c (print_scalar_formatted): Add 't' for binary.
+
        * dbxread.c (end_psymtab): Initialize pst->symtab.
 
        * core.c (core_open): Call ADD_SOLIB.
@@ -10,7 +12,7 @@ Mon Apr 22 00:02:43 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)
        * sun3-xdep.c [!TARGET_SUN3]: Just provide empty functions which
        don't do anything.
 
-       * core.c (core_open): Add make_cleanup (pop_target, 0).
+       * core.c (core_open): Add make_cleanup (unpush_target, &core_ops).
 
        * Shared library/corefile changes from Peter Schauer:
        core.c (core_close): Call CLEAR_SOLIB.
index fdc7028455094f8ab63fe7160cdcef3fbc68493d..00d469fc06dc3de32872bd7f3a7701ed8bacdeab 100644 (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)