public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Minor C++-ification and cleanup in trace targets
@ 2023-07-09 17:01 Tom Tromey
  2023-07-09 17:01 ` [PATCH 1/8] Remove a use of xfree Tom Tromey
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Tom Tromey @ 2023-07-09 17:01 UTC (permalink / raw)
  To: gdb-patches

This series applies some minor C++-ification and cleanups to the trace
targets.

Regression tested on x86-64 Fedora 38.

---
Tom Tromey (8):
      Remove a use of xfree
      Replace use of xfree with byte_vector
      Use unique_ptr for trace_filename
      Use unique_ptr for trace_dirname
      Use function_view in traceframe_walk_blocks
      Constify tfile_interp_line
      Move definition of ctf_target type
      Change 'handle_id' to be a local variable

 gdb/tracectf.c        | 77 ++++++++++++++++++++++-------------------------
 gdb/tracefile-tfile.c | 82 ++++++++++++++++++++-------------------------------
 2 files changed, 68 insertions(+), 91 deletions(-)
---
base-commit: 4fb2abb59d16f6395162f2e8d9494cde4a37e4a1
change-id: 20230709-trace-cleanups-3aa3911e56cd

Best regards,
-- 
Tom Tromey <tom@tromey.com>


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

end of thread, other threads:[~2023-07-10 19:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-09 17:01 [PATCH 0/8] Minor C++-ification and cleanup in trace targets Tom Tromey
2023-07-09 17:01 ` [PATCH 1/8] Remove a use of xfree Tom Tromey
2023-07-09 17:01 ` [PATCH 2/8] Replace use of xfree with byte_vector Tom Tromey
2023-07-09 17:01 ` [PATCH 3/8] Use unique_ptr for trace_filename Tom Tromey
2023-07-09 17:01 ` [PATCH 4/8] Use unique_ptr for trace_dirname Tom Tromey
2023-07-09 17:01 ` [PATCH 5/8] Use function_view in traceframe_walk_blocks Tom Tromey
2023-07-09 17:01 ` [PATCH 6/8] Constify tfile_interp_line Tom Tromey
2023-07-09 17:01 ` [PATCH 7/8] Move definition of ctf_target type Tom Tromey
2023-07-09 17:01 ` [PATCH 8/8] Change 'handle_id' to be a local variable Tom Tromey
2023-07-09 20:52 ` [PATCH 0/8] Minor C++-ification and cleanup in trace targets Keith Seitz
2023-07-10 19:02   ` Tom Tromey

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