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 Now that we are adding the thread...



details:   https://anonhg.NetBSD.org/src/rev/24a7c046a104
branches:  trunk
changeset: 1015500:24a7c046a104
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 24 23:06:15 2020 +0000

description:
Now that we are adding the thread in the bsd_kvm_ops target namespace,
make sure that the inferior's top namespace is that too.

diffstat:

 external/gpl3/gdb/dist/gdb/bsd-kvm.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 120ee42e19ad -r 24a7c046a104 external/gpl3/gdb/dist/gdb/bsd-kvm.c
--- a/external/gpl3/gdb/dist/gdb/bsd-kvm.c      Sat Oct 24 20:51:49 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/bsd-kvm.c      Sat Oct 24 23:06:15 2020 +0000
@@ -140,6 +140,7 @@
   push_target (&bsd_kvm_ops);
 
   inf = add_inferior_silent (bsd_kvm_ptid.pid ());
+  inf->push_target (&bsd_kvm_ops);
   inf->aspace = maybe_new_address_space ();
   inf->pspace = new program_space (inf->aspace);
 



Home | Main Index | Thread Index | Old Index