aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-04-04 20:07:21 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-04-04 20:07:21 +0000
commitdee803840d2ba679a5444ed6715be25194a8e8d7 (patch)
treed212125a99632bc7f52d5ce684a0ac119d51c716 /gdb/objfiles.c
parent01c32fc42ce3ad8e03b04c81db50fd6b0e171c26 (diff)
downloadgdb-dee803840d2ba679a5444ed6715be25194a8e8d7.zip
gdb-dee803840d2ba679a5444ed6715be25194a8e8d7.tar.gz
gdb-dee803840d2ba679a5444ed6715be25194a8e8d7.tar.bz2
* top.c, utils.c, main.c: Replace error_pre_print with two
variables: error_pre_print (for RETURN_ERROR) and quit_pre_print (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint print sym") could output extraneous stuff. * objfiles.c: Don't declare error_pre_print; defs.h does it.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index cce17f8..c73716c 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -49,10 +49,6 @@ map_to_address PARAMS ((void));
#endif /* !defined(NO_MMALLOC) && defined(HAVE_MMAP) */
-/* Message to be printed before the error message, when an error occurs. */
-
-extern char *error_pre_print;
-
/* Externally visible variables that are owned by this module.
See declarations in objfile.h for more info. */