This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/8] Add regular tracepoint support for powerpc.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]