public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA 0/8] Constify many commands
@ 2017-10-13 21:00 Tom Tromey
  2017-10-13 21:00 ` [RFA 7/8] Add truncate_repeat_arguments function Tom Tromey
                   ` (7 more replies)
  0 siblings, 8 replies; 30+ messages in thread
From: Tom Tromey @ 2017-10-13 21:00 UTC (permalink / raw)
  To: gdb-patches

This series changes add_abbrev_prefix_cmd,
add_com_suppress_notification, and add_com to take
cmd_const_cfunc_ftype rather than cmd_cfunc_ttype; then cleans up all
the users.

Some cleanups are removed as well, because changes were already needed
in some areas where moving to the cleanup-free style was more
convenient.

This probably overlaps a bit with some of my other breakpoint patches.
Those are still waiting for feedback.

Most of the patches are straightforward.

Patch #7 adds a new function to deal with how "list" and "x" work.

Patch #8 removes some non-const overloads that were added in a
previous series; but also adds some new ones.  The eventual conversion
of add_info should remove these.

Regression tested by the buildbot.  I also built (but did not regtest)
each patch (that is, each spot in the series at least compiles).

Tom

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

end of thread, other threads:[~2017-11-07 14:35 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 21:00 [RFA 0/8] Constify many commands Tom Tromey
2017-10-13 21:00 ` [RFA 7/8] Add truncate_repeat_arguments function Tom Tromey
2017-10-14  4:49   ` Tom Tromey
2017-10-16  3:07     ` Tom Tromey
2017-10-16  9:53       ` Yao Qi
2017-10-18  3:48         ` Tom Tromey
2017-11-06 16:38           ` Tom Tromey
2017-11-07 14:35           ` Pedro Alves
2017-10-13 21:00 ` [RFA 5/8] Constify add_path and friends Tom Tromey
2017-10-16  9:35   ` Yao Qi
2017-10-13 21:00 ` [RFA 4/8] Make strip_bg_char return a unique_xmalloc_ptr Tom Tromey
2017-10-16  9:33   ` Yao Qi
2017-10-16 18:37     ` Simon Marchi
2017-10-17 11:05       ` Yao Qi
2017-10-18  3:32         ` Tom Tromey
2017-10-18  9:37     ` Pedro Alves
2017-11-06 16:33       ` Tom Tromey
2017-10-13 21:00 ` [RFA 3/8] Make set_cmd_cfunc private Tom Tromey
2017-10-16  9:20   ` Yao Qi
2017-10-13 21:00 ` [RFA 2/8] Constify add_com_suppress_notification Tom Tromey
2017-10-16  9:03   ` Yao Qi
2017-10-16 15:55     ` Tom Tromey
2017-10-13 21:00 ` [RFA 8/8] Constify add_com Tom Tromey
2017-10-16  9:59   ` Yao Qi
2017-10-13 21:00 ` [RFA 6/8] Remove cleanup from backtrace_command Tom Tromey
2017-10-16  9:46   ` Yao Qi
2017-10-13 21:00 ` [RFA 1/8] Constify add_abbrev_prefix_cmd Tom Tromey
2017-10-16  9:02   ` Yao Qi
2017-10-16 15:54     ` Tom Tromey
2017-10-16 20:23       ` Yao Qi

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