From 331c10034a650aebff1d12ac288eaddfa0822a4c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 28 Sep 1994 17:37:32 +0000 Subject: [PATCH] * xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users. --- gdb/ChangeLog | 2 ++ gdb/xcoffexec.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2c4da0c..15849f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Wed Sep 28 08:59:14 1994 Jim Kingdon (kingdon@cygnus.com) + * xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users. + * xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were ignoring before. But continue to ignore XMC_DS. 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 (); } -- 2.7.4