2002-02-27 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Wed, 27 Feb 2002 06:18:09 +0000 (06:18 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 27 Feb 2002 06:18:09 +0000 (06:18 +0000)
        * 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
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure.srv
gdb/regformats/reg-i386-linux.dat [new file with mode: 0644]

index e060a9a8e52d068e5918650473ffa17e422099ab..e085ae1860a9bf31bd62c77fe773232c8c267e10 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * 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  <ac131313@redhat.com>
 
        * x86-64-tdep.c: Re-indent.  Update copyright date.
index b758a7fdf67f44d762dcd21a5e28bf509ed3b5dc..350a840a9c956a6d7896c65f6d5209ff8bed00eb 100644 (file)
@@ -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
index 4b2ee7d427a412e895ab185aa8982aca09202388..6c0b00d903b87ccd66219bbfdace7a2e3500bba3 100644 (file)
@@ -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 (file)
index 0000000..91baa8f
--- /dev/null
@@ -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