This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFA][PATCH v5 0/2] S/390: Add TDB regset support
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Ulrich Weigand'" <uweigand at de dot ibm dot com>, "'Andreas Arnez'" <arnez at linux dot vnet dot ibm dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Sun, 15 Sep 2013 16:42:38 +0200
- Subject: RE: [RFA][PATCH v5 0/2] S/390: Add TDB regset support
- Authentication-results: sourceware.org; auth=none
- References: <877genmltz dot fsf at br87z6lw dot de dot ibm dot com> from "Andreas Arnez" at Sep 11, 2013 05:15:04 PM <201309131419 dot r8DEJNTe007783 at d06av02 dot portsmouth dot uk dot ibm dot com>
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