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: recursive bug in dwarf2read.c


>>>>> "Gaius" == Gaius Mulley <gaius@glam.ac.uk> writes:

Gaius> 2009-12-10  Gaius Mulley  <gaius@glam.ac.uk>
Gaius> 	* dwarf2read.c (read_subroutine_type): Add the subroutine
Gaius> 	  type to the die immediately to allow a parameter type to be
Gaius> 	  the same subroutine type.

This seems almost ok to me.

With this change, read_subroutine_type calls set_die_type twice.
I think it would be preferable to eliminate the second call.

Tom


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