From a02e4a61b2bcdf34f85dac7e81b5cfc218f1b76d Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 27 Feb 2002 06:18:09 +0000 Subject: [PATCH] 2002-02-27 Daniel Jacobowitz * regformats/reg-i386-linux.dat: New file, with $orig_eax. * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. * gdbserver/configure.srv: Change i386-*-linux* to use reg-i386-linux.o. --- gdb/ChangeLog | 7 +++++ gdb/gdbserver/Makefile.in | 5 +++- gdb/gdbserver/configure.srv | 2 +- gdb/regformats/reg-i386-linux.dat | 44 +++++++++++++++++++++++++++++++ 4 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 gdb/regformats/reg-i386-linux.dat diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e060a9a8e52..e085ae1860a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-02-27 Daniel Jacobowitz + + * regformats/reg-i386-linux.dat: New file, with $orig_eax. + * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. + * gdbserver/configure.srv: Change i386-*-linux* to use + reg-i386-linux.o. + 2002-02-26 Andrew Cagney * x86-64-tdep.c: Re-indent. Update copyright date. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index b758a7fdf67..350a840a9c9 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -183,7 +183,7 @@ clean: rm -f *.o ${ADD_FILES} *~ rm -f gdbserver gdbreplay core make.log rm -f reg-arm.c reg-i386.c reg-ia64.c reg-m68k.c reg-mips.c - rm -f reg-ppc.c reg-sh.c + rm -f reg-ppc.c reg-sh.c reg-i386-linux.c distclean: clean rm -f nm.h tm.h xm.h config.status @@ -254,6 +254,9 @@ reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh) reg-i386.o : reg-i386.c $(regdef_h) reg-i386.c : $(srcdir)/../regformats/reg-i386.dat $(regdat_sh) sh $(regdat_sh) $(srcdir)/../regformats/reg-i386.dat reg-i386.c +reg-i386-linux.o : reg-i386-linux.c $(regdef_h) +reg-i386-linux.c : $(srcdir)/../regformats/reg-i386-linux.dat $(regdat_sh) + sh $(regdat_sh) $(srcdir)/../regformats/reg-i386-linux.dat reg-i386-linux.c reg-ia64.o : reg-ia64.c $(regdef_h) reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh) sh $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv index 4b2ee7d427a..6c0b00d903b 100644 --- a/gdb/gdbserver/configure.srv +++ b/gdb/gdbserver/configure.srv @@ -17,7 +17,7 @@ case "${target}" in arm*-*-linux*) srv_regobj=reg-arm.o srv_tgtobj="linux-low.o linux-arm-low.o" ;; - i[3456]86-*-linux*) srv_regobj=reg-i386.o + i[3456]86-*-linux*) srv_regobj=reg-i386-linux.o srv_tgtobj="linux-low.o linux-i386-low.o" ;; ia64-*-linux*) srv_regobj=reg-ia64.o diff --git a/gdb/regformats/reg-i386-linux.dat b/gdb/regformats/reg-i386-linux.dat new file mode 100644 index 00000000000..91baa8fc80b --- /dev/null +++ b/gdb/regformats/reg-i386-linux.dat @@ -0,0 +1,44 @@ +name:i386_linux +expedite:ebp,esp,eip +32:eax +32:ecx +32:edx +32:ebx +32:esp +32:ebp +32:esi +32:edi +32:eip +32:eflags +32:cs +32:ss +32:ds +32:es +32:fs +32:gs +80:st0 +80:st1 +80:st2 +80:st3 +80:st4 +80:st5 +80:st6 +80:st7 +32:fctrl +32:fstat +32:ftag +32:fiseg +32:fioff +32:foseg +32:fooff +32:fop +128:xmm0 +128:xmm1 +128:xmm2 +128:xmm3 +128:xmm4 +128:xmm5 +128:xmm6 +128:xmm7 +32:mxcsr +32:orig_eax -- 2.30.2