This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix crash on stale addrinfo->sectindex
- 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: Thu, 18 Feb 2010 20:10:30 -0700
- Subject: Re: [patch] Fix crash on stale addrinfo->sectindex
- References: <20100218092203.GA31309@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "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