Revised pr 9067 patch
Tom Tromey
tromey@redhat.com
Wed Feb 3 22:21:00 GMT 2010
>>>>> "Chris" == Chris Moller <cmoller@redhat.com> writes:
Chris> Fixes "Nested static causing infinite recursion in print."
There are still the formatting nits that I mentioned on the last
go-round.
Chris> + void * statmem_obstack_top = NULL;
No space after *.
Chris> + /* set the current printed-statics stack top */
Comments in the GNU style are sentences. They start with a capital
letter and end with a period and two spaces.
Chris> + /* In effect, a pop of the printed-statics stack */
Ditto.
Chris> + first_dont_print = (CORE_ADDR *)obstack_base (&dont_print_statmem_obstack);
Line goes past column 79? It seems to but sometimes it is hard to tell
in a patch. Space after the closing paren of the cast.
Chris> + i = obstack_object_size (&dont_print_statmem_obstack) / sizeof(CORE_ADDR);
Space after sizeof. Too many columns, should line break.
Tom
More information about the Gdb-patches
mailing list