diff options
author | Pedro Alves <palves@redhat.com> | 2015-08-18 11:04:30 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-08-18 11:04:30 +0100 |
commit | b2a33439909493f5bf93ada871bd588f365d61f4 (patch) | |
tree | 86c6fa241c8e7f7cc89cc1eaa323e690f5b3a2a2 /ld/ldmisc.c | |
parent | fe875424a05df7c4055cd9382ab76f65e952c4dd (diff) | |
download | gdb-b2a33439909493f5bf93ada871bd588f365d61f4.zip gdb-b2a33439909493f5bf93ada871bd588f365d61f4.tar.gz gdb-b2a33439909493f5bf93ada871bd588f365d61f4.tar.bz2 |
x86/Linux: disable all-stop on top of non-stop
Markus reported that ASNS breaks target record-btrace. In particular,
the gdb.btrace/multi-thread-step.exp test fails (both with BTS and PT
tracing) with a crash in py-inferior.c:
Program received signal SIGSEGV, Segmentation fault.
0x00000000006aa40d in add_thread_object (tp=0x27d32d0)
at /users/mmetzger/team/gdb/git/gdb/python/py-inferior.c:337
337 entry->next = inf_obj->threads;
My machine doesn't support BTS nor PT, so I missed this...
Disabling ASNS temporarily on x86 until this is addressed.
Tested on x86_64 Fedora 20.
gdb/ChangeLog:
2015-08-18 Pedro Alves <palves@redhat.com>
* linux-nat.c (linux_nat_always_non_stop_p): If the linux_ops
target implements to_always_non_stop_p, call it.
* x86-linux-nat.c (x86_linux_always_non_stop_p): New function.
(x86_linux_create_target): Install it as to_always_non_stop_p
method.
Diffstat (limited to 'ld/ldmisc.c')
0 files changed, 0 insertions, 0 deletions