This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [2/3, ppc64, elfutils patch] eu-strip vs. func addresses for GDB inferior calls
- From: Ulrich Drepper <drepper at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: elfutils-devel at lists dot fedorahosted dot org, binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Wed, 23 Mar 2011 18:14:06 -0400
- Subject: Re: [2/3, ppc64, elfutils patch] eu-strip vs. func addresses for GDB inferior calls
- References: <20110323152942.GA13640@host1.jankratochvil.net>
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.