This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] minor cleanups for cmd_list_element


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]