Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/external/gpl3/gdb/dist/gdb Pull up following revision(s) ...
details: https://anonhg.NetBSD.org/src/rev/53575b6661c6
branches: netbsd-7
changeset: 799476:53575b6661c6
user: snj <snj%NetBSD.org@localhost>
date: Thu Jul 16 21:53:57 2015 +0000
description:
Pull up following revision(s) (requested by chs in ticket #867):
external/gpl3/gdb/dist/gdb/nbsd-thread.c: revision 1.22
td_close() needs to be able to write to the process image, so call sooner,
before we detach from it.
diffstat:
external/gpl3/gdb/dist/gdb/nbsd-thread.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 0d030878caaf -r 53575b6661c6 external/gpl3/gdb/dist/gdb/nbsd-thread.c
--- a/external/gpl3/gdb/dist/gdb/nbsd-thread.c Thu Jul 16 21:52:27 2015 +0000
+++ b/external/gpl3/gdb/dist/gdb/nbsd-thread.c Thu Jul 16 21:53:57 2015 +0000
@@ -146,8 +146,6 @@
static void
nbsd_thread_deactivate (void)
{
- td_close (main_ta);
-
inferior_ptid = main_ptid;
main_ptid = minus_one_ptid;
cached_thread = main_ptid;
@@ -197,6 +195,7 @@
{
struct target_ops *beneath = find_target_beneath (ops);
unpush_target (ops);
+ td_close (main_ta);
/* Ordinarily, gdb caches solib information, but this means that it
won't call the new_obfile hook on a reattach. Clear the symbol file
cache so that attach -> detach -> attach works. */
- Prev by Date:
[src/netbsd-7]: src/common/lib/libc/arch/m68k/atomic Pull up following revisi...
- Next by Date:
[src/netbsd-7]: src/doc 844, 850, 851, 865, 866, 867
- Previous by Thread:
[src/netbsd-7]: src/common/lib/libc/arch/m68k/atomic Pull up following revisi...
- Next by Thread:
[src/netbsd-7]: src/doc 844, 850, 851, 865, 866, 867
- Indexes:
Home |
Main Index |
Thread Index |
Old Index