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: [RFA][PATCH v5 0/2] S/390: Add TDB regset support


  This patch uses
#include "elf.h"
 header in s390-tdep.c
but this generates a compilation error
for mingw64 cross build 
configured with option --enable-targets=all

x86_64-w64-mingw32-gcc -gdwarf-3 -O0 -D__USE_MINGW_ACCESS    -I.
-I../../src/gdb
 -I../../src/gdb/common -I../../src/gdb/config
-DLOCALEDIR="\"/usr/local/share/
locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../o
pcodes/.. -I../../src/gdb/../readline/..  -I../bfd -I../../src/gdb/../bfd
-I../.
./src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber
-I./../i
ntl -I../../src/gdb/gnulib/import -Ibuild-gnulib/import    -Wall
-Wdeclaration-a
fter-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value
-Wunuse
d-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
-Wdeclaration-a
fter-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration
-Wo
ld-style-definition -Wno-format -Werror -c -o s390-tdep.o -MT s390-tdep.o
-MMD -
MP  -MF .deps/s390-tdep.Tpo ../../src/gdb/s390-tdep.c
../../src/gdb/s390-tdep.c:55:17: erreur fatale: elf.h : No such file or
director
y

Could this be fixed?


Pierre Muller

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Ulrich Weigand
> Envoyé : vendredi 13 septembre 2013 16:19
> À : Andreas Arnez
> Cc : gdb-patches@sourceware.org
> Objet : Re: [RFA][PATCH v5 0/2] S/390: Add TDB regset support
> 
> Andreas Arnez wrote:
> 
> > Another attempt on adding the TDB regset for S/390 targets.  This
> > version avoids introducing dynamic regset support.  Instead, the TDB
> > regset is unconditionally written into a core dump.  Upon reading,
> > before supplying the TDB to the regcache, its validity is verified.  If
> > invalid, the TDB registers are cleared to "unavailable" status.
> >
> > Common code should no longer be affected by this version of the patch
> > set.
> 
> I've committed both patches now.
> 
> Thanks,
> Ulrich
> 
> --
>   Dr. Ulrich Weigand
>   GNU/Linux compilers and toolchain
>   Ulrich.Weigand@de.ibm.com


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