This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix assert crashes with minidebuginfo
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 01 Feb 2013 12:21:12 -0700
- Subject: Re: [patch] Fix assert crashes with minidebuginfo
- References: <20130201182134.GA14273@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * elfread.c (elf_symfile_read): Limit separate debug info additions to
Jan> files with no separate debug info.
Jan> * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
Jan> * symfile.c (read_symbols): Call find_separate_debug_file_in_section
Jan> only for files with no separate debug info.
Ok, I understand now.
I think this patch is fine. Please put it in.
Tom