This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] .gdb_index: Do not crash on NOBITS
- 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: Wed, 08 Sep 2010 13:40:12 -0600
- Subject: Re: [patch] .gdb_index: Do not crash on NOBITS
- References: <20100908185837.GA24606@host1.dyn.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> and due to it GDB while reading the file can error() by:
Jan> Reading symbols from x.debug...Dwarf Error: Can't read DWARF data from 'x.debug'
Jan> which should not be fatal but due to some other bugs therein it can
Jan> crash GDB.
I am curious about these other bugs.
Jan> OK to check-in?
Jan> It does not attempt to use .gdb_index from the main binary, it will just
Jan> disable .gdb_index usage on these binaries.
This is ok. Thank you.
Tom