mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 03:03:31 +08:00
* xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.
This commit is contained in:
parent
094e8be303
commit
331c10034a
@ -1,5 +1,7 @@
|
|||||||
Wed Sep 28 08:59:14 1994 Jim Kingdon (kingdon@cygnus.com)
|
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
|
* xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
|
||||||
ignoring before. But continue to ignore XMC_DS.
|
ignoring before. But continue to ignore XMC_DS.
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ extern struct target_ops exec_ops;
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
exec_close (quitting)
|
exec_close (quitting)
|
||||||
int quitting;
|
int quitting;
|
||||||
{
|
{
|
||||||
register struct vmap *vp, *nxt;
|
register struct vmap *vp, *nxt;
|
||||||
int need_symtab_cleanup = 0;
|
int need_symtab_cleanup = 0;
|
||||||
@ -116,7 +116,9 @@ int quitting;
|
|||||||
exec_ops.to_sections_end = NULL;
|
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 ();
|
clear_symtab_users ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user