Re: RFC: bfd_section should not be NULL in call to prim_record_minimal_*

Tom Tromey
2012-04-18T14:57:36Z

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> So I tested your patch using AdaCore's testsuite, which shows that
Joel> it fixes the problem as well, with no unexpected failures. And since
Joel> this patch affects all platforms, I also tested it against the
Joel> official testsuite on x86_64-linux. No regression either.

Joel> So I think your patch is good to go.

Thanks Joel.
I'm checking it in now, with this ChangeLog entry:

2012-04-18 Tom Tromey <tromey@redhat.com>

* linespec.c (convert_linespec_to_sals): Don't use
SYMBOL_OBJ_SECTION.
(compare_msymbols): Arguments are minsym_and_objfile, not
minimal_symbol*. Don't use SYMBOL_OBJ_SECTION.

Tom