public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA 00/10] Remove some cleanups from linespec.c
@ 2018-04-01 16:35 Tom Tromey
  2018-04-01 16:35 ` [RFA 05/10] Have filter_results take a std::vector Tom Tromey
                   ` (10 more replies)
  0 siblings, 11 replies; 18+ messages in thread
From: Tom Tromey @ 2018-04-01 16:35 UTC (permalink / raw)
  To: gdb-patches

This series removes many (but not all) cleanups from linespec.c.
Generally the removals are done in the normal way: replacing manual
memory management with a self-managing data structure.

I've tried to make each patch relatively small to make them simpler to
review.

In a few cases the patch required changes outside of linespec.c.

A couple of the patches (at least #2 and #10) are obvious, though of
course it doesn't hurt to read them anyhow.

Regression tested by the buildbot.  I've also built each patch in the
series locally and run it through the gdb.linespec tests, while I was
tracking down the failures described in patch #7 (though of course the
series has changed slightly since then).

Tom

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

end of thread, other threads:[~2018-04-03 22:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-01 16:35 [RFA 00/10] Remove some cleanups from linespec.c Tom Tromey
2018-04-01 16:35 ` [RFA 05/10] Have filter_results take a std::vector Tom Tromey
2018-04-01 16:35 ` [RFA 01/10] Remove some cleanups from search_minsyms_for_name Tom Tromey
2018-04-02  1:39   ` Simon Marchi
2018-04-01 16:35 ` [RFA 09/10] Remove typep and VEC(typep) from linespec.c Tom Tromey
2018-04-01 16:35 ` [RFA 02/10] Fix some indentation in linespec.c Tom Tromey
2018-04-02  1:49   ` Simon Marchi
2018-04-01 16:35 ` [RFA 06/10] Remove a string copy from event_location_to_sals Tom Tromey
2018-04-01 16:35 ` [RFA 07/10] Change streq to return bool Tom Tromey
2018-04-02  2:28   ` Simon Marchi
2018-04-01 16:35 ` [RFA 03/10] Make copy_token_string return unique_xmalloc_ptr Tom Tromey
2018-04-01 16:35 ` [RFA 04/10] Return std::string from canonical_to_fullform Tom Tromey
2018-04-02  2:15   ` Simon Marchi
2018-04-01 16:35 ` [RFA 10/10] Remove unnecessary include from linespec.h Tom Tromey
2018-04-01 16:35 ` [RFA 08/10] More use of std::vector in linespec.c Tom Tromey
2018-04-02  2:35   ` Simon Marchi
2018-04-02  2:44 ` [RFA 00/10] Remove some cleanups from linespec.c Simon Marchi
2018-04-03 22:31   ` 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).