Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA 0/3] preparation for command constification; cleanup removal
@ 2017-09-11  0:33 Tom Tromey
  2017-09-11  0:33 ` [RFA 1/3] Rename _const functions to use overloading instead Tom Tromey
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tom Tromey @ 2017-09-11  0:33 UTC (permalink / raw)
  To: gdb-patches

In addition to the removal of cleanups, I've also long wanted to clean
up gdb by changing commands to take a "const char *".

With C++ this is simpler to do now, because we can use overloading to
minimize the neede code changes.  To that end, the first patch in this
series renames some functions so we can take advantage of overloading
in the future.

The second patch is a minor constification patch in preparation for
the third patch.

The third patch changes extract_arg to return a std::string, which
allows for some cleanup removal.

Regression tested by the buildbot.

Tom


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

end of thread, other threads:[~2017-09-11 21:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11  0:33 [RFA 0/3] preparation for command constification; cleanup removal Tom Tromey
2017-09-11  0:33 ` [RFA 1/3] Rename _const functions to use overloading instead Tom Tromey
2017-09-11 19:16   ` Simon Marchi
2017-09-11  0:33 ` [RFA 2/3] Constify language_enum Tom Tromey
2017-09-11 19:17   ` Simon Marchi
2017-09-11  0:33 ` [RFA 3/3] Make extract_arg return a std::string Tom Tromey
2017-09-11 19:52   ` Simon Marchi
2017-09-11 21:43     ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox