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/5] improve btrace enable error reporting


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


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