aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-27 06:18:09 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-27 06:18:09 +0000
commita02e4a61b2bcdf34f85dac7e81b5cfc218f1b76d (patch)
treefcac30a8032d65f35f8957e1d05548cc4a56bfb5 /gdb
parentce0eebec89d16a4339025428816ec84dcbfd4a9f (diff)
downloadgdb-a02e4a61b2bcdf34f85dac7e81b5cfc218f1b76d.zip
gdb-a02e4a61b2bcdf34f85dac7e81b5cfc218f1b76d.tar.gz
gdb-a02e4a61b2bcdf34f85dac7e81b5cfc218f1b76d.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/gdbserver/Makefile.in5
-rw-r--r--gdb/gdbserver/configure.srv2
-rw-r--r--gdb/regformats/reg-i386-linux.dat44
4 files changed, 56 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e060a9a..e085ae1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index b758a7f..350a840 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 4b2ee7d..6c0b00d 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 0000000..91baa8f
--- /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