diff options
author | John Gilmore <gnu@cygnus> | 1991-04-05 09:02:10 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-04-05 09:02:10 +0000 |
commit | 3f2e006b77f217bbf4a4cb9299cf248058a44ed3 (patch) | |
tree | 60b9a78e945e02698d856ea5b82982fe549b26f2 /gdb/core.c | |
parent | 07d021a6ae8d3ed9da9f55c8623739e7a716308e (diff) | |
download | binutils-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.zip binutils-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.tar.gz binutils-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'gdb/core.c')
-rw-r--r-- | gdb/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -155,10 +155,9 @@ core_detach (args, from_tty) char *args; int from_tty; { - dont_repeat (); if (args) error ("Too many arguments"); - pop_target (); + unpush_target (&core_ops); if (from_tty) printf ("No core file now.\n"); } @@ -170,6 +169,7 @@ core_file_command (filename, from_tty) char *filename; int from_tty; { + dont_repeat (); /* Either way, seems bogus. */ if (!filename) core_detach (filename, from_tty); else |