gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 11 May 2011 04:56:08 +0000 (04:56 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 11 May 2011 04:56:08 +0000 (04:56 +0000)
commit5488dafb5a9528b7381ea2a0d6218504fce92b68
tree043545375d78e295485ee951fe2222227f825390
parent403676b5704d576dfc3a663e4d55d6525053ce3f
gdb/
Make addrs->SECTINDEX always defined.
* symfile.c (relative_addr_info_to_section_offsets): Check for
SECTINDEX -1, not for zero ADDR.
(addrs_section_compar): Remove checking for invalid SECTINDEX.
(addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries.
* symfile.h (struct section_addr_info) <sectindex>: Update the comment
on its validity.
gdb/ChangeLog
gdb/symfile.c
gdb/symfile.h
This page took 0.027096 seconds and 4 git commands to generate.