[RFA] Nullified garbage-collected global variables

Tom Tromey tromey@redhat.com
Fri Jul 23 22:50:00 GMT 2010


>>>>> "Jerome" == Jerome Guitton <guitton@adacore.com> writes:

Jerome> Unless you object, I will commit this new version.
Jerome> gdb/ChangeLog:

Jerome> 	* dwarf2read.c (add_partial_symbol): Do not add a global variable if
Jerome> 	its adress is null. Add comment to explain why.
Jerome> 	(new_symbol): Ditto.

Looks ok to me.

FWIW -- I prefer it if a fix and its corresponding test case are
submitted and committed as a unit.  I think it is more logical, and also
the test case sometimes helps the review of the patch.

Tom



More information about the Gdb-patches mailing list