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][V2] dwarf.exp: Allow generating a stub .debug_line section


Petr Machata writes:
 > Hi there,
 > 
 > this is second iteration of my .debug_line support for dwarf.exp DWARF
 > assembler.  Last time around I implemented it as a macro, and the
 > request was to make it a first-class section.  This is now implemented.
 > 
 > As before, only minimal support for include and file name lists is
 > added, so that DW_AT_decl_file references elsewhere in DWARF file work.
 > 
 > Thoughts?
 > 
 > Thanks,
 > Petr

Hi.

Just one nit.
Otherwise LGTM.

 > +	if { "$label" != "" } {
 > +	    $label:
 > +	}

Should this be:

	if { "$label" != "" } {
	    _emit "$label:"
	}

?


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