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#2] Fix initial language with -readnow, regressed by: RFC: add DWARF index support


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> So I fixed rather the method implementation than to workaround it
Jan> in the caller.

Thanks.

This looks good.

Jan> BTW find_main_filename is the only caller of ->find_symbol_file.

The main-finding code has caused issues for various laziness patches
I've worked on.  It would be nice to replace it.

Also I tripped across the call to set_main_name in dwarf2read.c ... it
seems bad for debuginfo reading to set global state.  (Instead it could,
say, set a field on the objfile...)

Tom


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