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: [2/3, ppc64, elfutils patch] eu-strip vs. func addresses for GDB inferior calls


On Wed, Mar 23, 2011 at 11:29, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> @@ -883,7 +883,8 @@ handle_elf (int fd, Elf *elf, const char *prefix, const char *fname,
> Â Â Â Â Âbool discard_section = (shdr_info[cnt].idx > 0
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â&& shdr_info[cnt].debug_data == NULL
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â&& shdr_info[cnt].shdr.sh_type != SHT_NOTE
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â && cnt != ehdr->e_shstrndx);
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â && cnt != ehdr->e_shstrndx
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â && strcmp (shdr_info[cnt].name, ".opd") != 0);

PPC-specific code has no place in the generic strip code.

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