This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: coffread.c and one-line functions cleanup



   Date: Thu, 6 May 1999 15:19:10 +0200 (CEST)
   From: "Philippe De Muyter" <phdm@macqel.be>

   The following patch prevents breakpoints to point at the opening
	   {
   line of multi-line functions.

   Thu May  6 15:25:32 1999  Philippe De Muyter  <phdm@macqel.be>

	   * coffread.c (coff_symtab_read): Call `record_line' with the line
	   number of the ".bf" symbol only for one-line functions.

This looks good, but could you please add an explanatory comment to the
code in the last change block?  It wouldn't have been obvious to me that
the change affects positioning of the stop, perhaps everybody else sees
that clearly though. :-)

								Stan