aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffexec.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-09-28 17:37:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-09-28 17:37:32 +0000
commit331c10034a650aebff1d12ac288eaddfa0822a4c (patch)
tree602fc36a3c474f7028ec811c5a6fcb56ecc38fba /gdb/xcoffexec.c
parent094e8be3036a8ee7d8cdd1510698433cfe017360 (diff)
downloadgdb-331c10034a650aebff1d12ac288eaddfa0822a4c.zip
gdb-331c10034a650aebff1d12ac288eaddfa0822a4c.tar.gz
gdb-331c10034a650aebff1d12ac288eaddfa0822a4c.tar.bz2
* xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r--gdb/xcoffexec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c
index 1562b7b..775ccf8 100644
--- a/gdb/xcoffexec.c
+++ b/gdb/xcoffexec.c
@@ -76,7 +76,7 @@ extern struct target_ops exec_ops;
static void
exec_close (quitting)
-int quitting;
+ int quitting;
{
register struct vmap *vp, *nxt;
int need_symtab_cleanup = 0;
@@ -116,7 +116,9 @@ int quitting;
exec_ops.to_sections_end = NULL;
}
- if (need_symtab_cleanup)
+ /* If we are quitting, we don't want to call breakpoint_re_set which may
+ output messages which would just be confusing in this context. */
+ if (!quitting && need_symtab_cleanup)
clear_symtab_users ();
}