This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+7.4] reread.exp 7.3->7.4 regression
- 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, Joel Brobecker <brobecker at adacore dot com>, Pedro Alves <alves dot ped at gmail dot com>
- Date: Mon, 19 Dec 2011 08:15:23 -0700
- Subject: Re: [patch+7.4] reread.exp 7.3->7.4 regression
- References: <20111218115343.GB22534@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> - if (data != NULL)
Jan> + if (data != NULL && sec->the_bfd_section->index < data->section_count)
I don't understand the need for this hunk.
When can this be called in a context where the BFD doesn't match the
data registered with the objfile?
Tom