This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix crash on stale addrinfo->sectindex


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> 2010-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	* symfile.c (addr_info_make_relative): Extend comment.  Move SECT to
Jan> 	a more inner block.  Initialize ADDR by LOWER_OFFSET only if it was
Jan> 	found by bfd_get_section_by_name.
Jan> 	* symfile.h (struct section_addr_info) <sectindex>: New comment.

Oh, by the way, I think this is reasonable for 7.1.  It is
straightforward and fixes a reported crash.  If Joel agrees, please put
it on the branch.  Thanks.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]