This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] gdb_bfd_count_sections snafu
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>, Tom Tromey <tromey at redhat dot com>
- Date: Wed, 17 Apr 2013 01:21:06 -0700
- Subject: Re: [RFC] gdb_bfd_count_sections snafu
- References: <yjt2ehe9r31a dot fsf at ruffy2 dot mtv dot corp dot google dot com>
On Wed, Apr 17, 2013 at 1:10 AM, Doug Evans <dje@google.com> wrote:
> [...]
> My preference would be code changes to remove the possibility
> for picking the wrong one, but that would, I think, be non-trivial.
Well, for completeness sake,
another thing we can do is add more asserts to catch the wrong
num_sections value being used.