Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb PR/30756: Thomas Klausner: Deacti...
details: https://anonhg.NetBSD.org/src/rev/e197980f0c58
branches: trunk
changeset: 330617:e197980f0c58
user: christos <christos%NetBSD.org@localhost>
date: Wed Jul 16 11:48:37 2014 +0000
description:
PR/30756: Thomas Klausner: Deactivate threads after detaching the main thread.
diffstat:
external/gpl3/gdb/dist/gdb/nbsd-thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 242f587c8de5 -r e197980f0c58 external/gpl3/gdb/dist/gdb/nbsd-thread.c
--- a/external/gpl3/gdb/dist/gdb/nbsd-thread.c Wed Jul 16 10:52:26 2014 +0000
+++ b/external/gpl3/gdb/dist/gdb/nbsd-thread.c Wed Jul 16 11:48:37 2014 +0000
@@ -196,7 +196,6 @@
nbsd_thread_detach (struct target_ops *ops, const char *args, int from_tty)
{
struct target_ops *beneath = find_target_beneath (ops);
- nbsd_thread_deactivate ();
unpush_target (ops);
/* Ordinarily, gdb caches solib information, but this means that it
won't call the new_obfile hook on a reattach. Clear the symbol file
@@ -204,6 +203,7 @@
clear_solib();
symbol_file_clear(0);
beneath->to_detach (beneath, args, from_tty);
+ nbsd_thread_deactivate ();
}
static int nsusp;
Home |
Main Index |
Thread Index |
Old Index