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] find_partial_die cleanups


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> but I want to check in some preliminary changes so that there's a
Doug> better base to review the patches from, plus make some general
Doug> improvements along the way.

Sounds great.

Doug> This patch is standalone, and so I'm not submitting it as part of a set.
Doug> I will check this in in a few days if there are no objections.

No objections here, just a question and a nit.

Doug> +	  error (_("Dwarf Error: Type Unit at offset 0x%lx contains"
Doug> +		   " external reference to offset 0x%lx [in module %s].\n"),
Doug> +		 (long) cu->header.offset.sect_off, (long) offset.sect_off,
Doug> +		 bfd_get_filename (objfile->obfd));

Why an error and not a complaint?

I ask because errors have a pretty drastic effect on debuginfo reading.

Doug> +      struct dwarf2_section_info* sec;
 
Wrong "*" placement.

Tom


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