public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/8] [AArch64] Add support for tracepoints
@ 2015-07-07 12:52 Pierre Langlois
  2015-07-07 12:52 ` [PATCH 7/8] [testsuite][AArch64] Port gdb.trace Pierre Langlois
                   ` (9 more replies)
  0 siblings, 10 replies; 39+ messages in thread
From: Pierre Langlois @ 2015-07-07 12:52 UTC (permalink / raw)
  To: gdb-patches; +Cc: Pierre Langlois

Hi all,

These patches enable tracepoints for AArch64.  Although tracepoints are
enabled in GDBServer with the last patch, most of the changes are in GDB.
The most important changes teach AArch64's frame unwinders to report when
the inferior is unavailable.

The first three patches refactor the frame caches.  The idea is to keep
accesses to the inferior's registers in aarch64_make_prologue_cache and
aarch64_make_stub_cache.  This way the following patches can easily catch
exceptions when the inferior is unavailable.

The following two patches teach AArch64's unwinders to terminate
gracefully, in a similar way as it was done for x86 here:

https://sourceware.org/ml/gdb-patches/2011-02/msg00611.html

It fixes cases where we do not have debugging information and AArch64's
unwinders need to be used when examining a trace buffer.  In this context
we cannot assume that the inferior's memory and registers are available.

Thanks,
Pierre

Pierre Langlois (8):
  [AArch64] Refactor aarch64_make_prologue_cache
  [AArch64] Refactor aarch64_make_stub_cache
  [AArch64] Only access inferior registers when creating a frame cache
  [AArch64] Teach prologue unwinder to terminate gracefully
  [AArch64] Teach stub unwinder to terminate gracefully
  [AArch64] Implement gdbarch_gen_return_address gdbarch method
  [testsuite][AArch64] Port gdb.trace
  [GDBServer][AArch64] Enable support for tracepoints

 gdb/aarch64-tdep.c                                 | 183 +++++++++++++++------
 gdb/gdbserver/linux-aarch64-low.c                  |  10 ++
 gdb/testsuite/gdb.trace/backtrace.exp              |   3 +
 gdb/testsuite/gdb.trace/collection.exp             |   4 +
 .../gdb.trace/mi-trace-frame-collected.exp         |   2 +
 gdb/testsuite/gdb.trace/mi-trace-unavailable.exp   |   2 +
 gdb/testsuite/gdb.trace/report.exp                 |   4 +
 gdb/testsuite/gdb.trace/trace-break.exp            |   2 +
 gdb/testsuite/gdb.trace/unavailable.exp            |   4 +
 gdb/testsuite/gdb.trace/while-dyn.exp              |   2 +
 10 files changed, 166 insertions(+), 50 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2015-07-09 15:46 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 12:52 [PATCH 0/8] [AArch64] Add support for tracepoints Pierre Langlois
2015-07-07 12:52 ` [PATCH 7/8] [testsuite][AArch64] Port gdb.trace Pierre Langlois
2015-07-08 16:39   ` Yao Qi
2015-07-09 12:25     ` [PATCH v2 " Pierre Langlois
2015-07-09 15:46       ` Pierre Langlois
2015-07-07 12:52 ` [PATCH 3/8] [AArch64] Only access inferior registers when creating a frame cache Pierre Langlois
2015-07-08 16:15   ` Yao Qi
2015-07-09 15:40     ` Pierre Langlois
2015-07-07 12:53 ` [PATCH 2/8] [AArch64] Refactor aarch64_make_stub_cache Pierre Langlois
2015-07-08 16:10   ` Yao Qi
2015-07-09 10:41     ` [PATCH v2 " Pierre Langlois
2015-07-09 15:39       ` Pierre Langlois
2015-07-07 12:53 ` [PATCH 5/8] [AArch64] Teach stub unwinder to terminate gracefully Pierre Langlois
2015-07-08 16:34   ` Yao Qi
2015-07-09 11:12     ` [PATCH v2 " Pierre Langlois
2015-07-09 15:45       ` Pierre Langlois
2015-07-07 12:53 ` [PATCH 4/8] [AArch64] Teach prologue " Pierre Langlois
2015-07-08 16:24   ` Yao Qi
2015-07-09 10:49     ` [PATCH v2 " Pierre Langlois
2015-07-09 10:53       ` Pierre Langlois
2015-07-09 10:56         ` [PATCH v3 " Pierre Langlois
2015-07-09 15:41           ` Pierre Langlois
2015-07-09 12:47       ` [PATCH v2 " Yao Qi
2015-07-09 12:51         ` Pierre Langlois
2015-07-07 12:53 ` [PATCH 1/8] [AArch64] Refactor aarch64_make_prologue_cache Pierre Langlois
2015-07-08 16:09   ` Yao Qi
2015-07-09 10:36     ` [PATCH] " Pierre Langlois
2015-07-09 15:38       ` Pierre Langlois
2015-07-07 12:54 ` [PATCH 6/8] [AArch64] Implement gdbarch_gen_return_address gdbarch method Pierre Langlois
2015-07-08 16:35   ` Yao Qi
2015-07-09 15:45     ` Pierre Langlois
2015-07-07 12:58 ` [PATCH 8/8] [GDBServer][AArch64] Enable support for tracepoints Pierre Langlois
2015-07-08 16:40   ` Yao Qi
2015-07-09 15:46     ` Pierre Langlois
2015-07-08 10:57 ` [PATCH 0/8] [AArch64] Add " Pedro Alves
2015-07-08 16:42 ` Yao Qi
2015-07-09 13:16   ` [PATCH] Add NEWS entry for tracepoints support on aarch64-linux Pierre Langlois
2015-07-09 14:44     ` Eli Zaretskii
2015-07-09 15:46       ` Pierre Langlois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).