This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 00/13] more minor constification
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 24 Jul 2014 09:27:42 -0600
- Subject: Re: [PATCH 00/13] more minor constification
- Authentication-results: sourceware.org; auth=none
- References: <1406055319-26380-1-git-send-email-tromey at redhat dot com> <53D06AE0 dot 9000302 at redhat dot com>
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> That all looked fine to me. That's just working as C intended.
Thanks.
Pedro> Thanks for doing all this.
Thanks for looking at it.
I may push these in earlier than I ordinarily would, given that they're
basically trivia, and since you've reviewed them.
After these constification series, it's nearly time to switch all the
commands. I think there are only one or two infrastructure-like things
to do, maybe just fixing dont_repeat's implementation (and show_values,
which does a similar trick).
On my hacking branch I did this by introducing a new "CLI_CONST" define
so I could change the files one at a time. Maybe that's a reasonable
way to go for trunk as well.
Tom