This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] minor cleanups for cmd_list_element
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 20 Jan 2014 09:10:27 -0700
- Subject: Re: [PATCH 0/2] minor cleanups for cmd_list_element
- Authentication-results: sourceware.org; auth=none
- References: <1389630533-28327-1-git-send-email-tromey at redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> While working on something else, I happened to notice that
Tom> cmd_list_element is packed poorly.
Tom> This little series first cleans up cmd_list_element by replacing a
Tom> flag field with bitfields. I think the resulting code is clearer.
Tom> The second patch trivially rearranges cmd_list_element. The savings
Tom> are modest -- around 50k for "gdb --batch", the best possible case --
Tom> but I don't think there is any downside.
I'm checking this in now.
Tom