Tom Tromey
8dcc53b37f
Remove cleanups from btrace code
This removes some cleanups from the btrace code by minorly C++-ifying
struct btrace_data.
gdb/ChangeLog
2018-06-08 Tom Tromey <tom@tromey.com>
* common/btrace-common.h (struct btrace_data): Add constructor,
destructor, move assignment operator.
<empty, clear, fini>: New methods.
<format>: Initialize.
(btrace_data_init, btrace_data_fini, btrace_data_clear)
(btrace_data_empty): Don't declare.
* common/btrace-common.c (btrace_data_init): Remove.
(btrace_data::fini): Rename from btrace_data_fini.
(btrace_data::empty): Rename from btrace_data_empty.
(btrace_data::clear): Rename from btrace_data_clear. Return
bool.
* btrace.h (make_cleanup_btrace_data): Don't declare.
* btrace.c (btrace_add_pc, btrace_stitch_trace, btrace_clear)
(parse_xml_btrace): Update.
(do_btrace_data_cleanup, make_cleanup_btrace_data): Remove.
(maint_btrace_clear_packet_history_cmd): Update.
gdb/gdbserver/ChangeLog
2018-06-08 Tom Tromey <tom@tromey.com>
* linux-low.c (linux_low_read_btrace): Update.
2018-06-08 07:05:49 -06:00
..
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-09 15:47:12 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-06-08 07:05:49 -06:00
2018-06-08 07:05:49 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-07 13:19:12 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-02-28 11:34:39 -05:00
2018-01-02 07:38:06 +04:00
2018-05-30 14:18:47 +01:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-04 22:26:46 +02:00
2018-05-04 22:26:46 +02:00
2018-02-19 09:37:24 +00:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-06-05 18:22:25 +01:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-04 12:20:37 -06:00
2018-05-17 13:06:11 -04:00
2018-05-17 13:06:11 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-30 11:33:11 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-09 14:20:46 -04:00
2018-04-09 14:20:46 -04:00
2018-01-02 07:38:06 +04:00
2018-02-28 11:34:39 -05:00
2018-02-28 11:34:39 -05:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-03-02 23:22:10 -05:00
2018-05-29 08:52:55 -06:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-03-19 09:37:49 -06:00
2018-01-02 07:38:06 +04:00
2018-03-02 07:32:31 -05:00
2018-02-28 11:37:10 -05:00
2018-05-20 21:06:36 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-03-22 00:27:19 -04:00
2018-03-22 00:27:19 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-02-09 14:03:18 +01:00
2018-02-09 14:03:19 +01:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-15 20:03:20 +00:00
2018-01-05 18:26:18 +00:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-04-18 20:44:39 +01:00
2018-04-18 20:49:37 +01:00
2018-05-20 23:19:35 -04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-01-02 07:38:06 +04:00
2018-05-08 18:03:46 +01:00
2018-03-08 18:04:46 -05:00
2018-03-08 18:04:46 -05:00