This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/8] Add regular tracepoint support for powerpc.
- From: Marcin KoÅcielnicki <koriakin at 0x04 dot net>
- To: gdb-patches at sourceware dot org
- Date: Sun, 6 Mar 2016 17:34:49 +0100
- Subject: [PATCH 0/8] Add regular tracepoint support for powerpc.
- Authentication-results: sourceware.org; auth=none
This patchset adds regular tracepoint support for powerpc and fixes most
test failures. Tested on powerpc, powerpc64, powerpc64le.
Aside of the target-independent FAILs in collection.exp and
unavailable.exp, the only FAILs left are on 32-bit, and they're all
caused by const variables landing in .sdata instead of .rodata - since
they're in a writable segment, they're not considered to be in
an immutable area by gdbserver, and will be deemed unavailable if not
explicitely collected. FWIW, running the testsuite with -mno-sdata
fixes these.
That's a special case of a more generic problem already causing the
target-independent FAILs in unavailable.exp (involving unavailable
vtables). We should probably utilize the debugging information to
create additional immutable ranges for vtables and const variables,
even if they end up in .data.relro, .sdata, etc. However, solving it
is IMO outside of the scope of this patchset.