public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] improve btrace enable error reporting
@ 2018-01-25  9:12 Markus Metzger
  2018-01-25  9:12 ` [PATCH 2/5] btrace, gdbserver: use exceptions to convey btrace enable/disable errors Markus Metzger
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Markus Metzger @ 2018-01-25  9:12 UTC (permalink / raw)
  To: gdb-patches

Recording may fail for a variety of reasons.  Improve the error messages by
stating more clearly what operation failed and try to give a reason why it
failed.

Further align the error messages for native and remote debugging.

Markus Metzger (5):
  btrace: prepare for throwing exceptions when enabling btrace
  btrace, gdbserver: use exceptions to convey btrace enable/disable
    errors
  btrace, gdbserver: remove the to_supports_btrace target method
  btrace: improve enable error messages
  btrace: check perf_event_paranoid

 gdb/btrace.c              |   3 -
 gdb/gdbserver/linux-low.c |   2 -
 gdb/gdbserver/nto-low.c   |   1 -
 gdb/gdbserver/server.c    |  80 +++-----
 gdb/gdbserver/spu-low.c   |   1 -
 gdb/gdbserver/target.h    |   7 -
 gdb/gdbserver/win32-low.c |   1 -
 gdb/nat/linux-btrace.c    | 466 +++++++++++++++-------------------------------
 gdb/nat/linux-btrace.h    |   3 -
 gdb/remote.c              |  32 ----
 gdb/target-delegates.c    |  33 ----
 gdb/target.c              |   8 -
 gdb/target.h              |   7 -
 gdb/x86-linux-nat.c       |  20 +-
 14 files changed, 191 insertions(+), 473 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2018-01-26 13:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25  9:12 [PATCH 0/5] improve btrace enable error reporting Markus Metzger
2018-01-25  9:12 ` [PATCH 2/5] btrace, gdbserver: use exceptions to convey btrace enable/disable errors Markus Metzger
2018-01-25  9:12 ` [PATCH 5/5] btrace: check perf_event_paranoid Markus Metzger
2018-01-25  9:12 ` [PATCH 4/5] btrace: improve enable error messages Markus Metzger
2018-01-25  9:12 ` [PATCH 3/5] btrace, gdbserver: remove the to_supports_btrace target method Markus Metzger
2018-01-25  9:12 ` [PATCH 1/5] btrace: prepare for throwing exceptions when enabling btrace Markus Metzger
2018-01-25 14:46   ` Pedro Alves
2018-01-26 13:55     ` Metzger, Markus T

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).