This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog rs6000-tdep.c
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 25 Nov 2010 00:23:40 -0000
- Subject: src/gdb ChangeLog rs6000-tdep.c
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2010-11-25 00:23:40
Modified files:
gdb : ChangeLog rs6000-tdep.c
Log message:
Build failure on ppc-aix (bfd_elf_get_obj_attr_int is undefined)
bfd_uses_spe_extensions should only be used when BFD has been built
with ELF support. The typical way of checking that in GDB is to use
the HAVE_ELF macro.
gdb/ChangeLog:
* rs6000-tdep.c (bfd_uses_spe_extensions): Use bfd_elf_get_obj_attr_int
only if HAVE_ELF is defined.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12343&r2=1.12344
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/rs6000-tdep.c.diff?cvsroot=src&r1=1.342&r2=1.343