aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-12 19:05:33 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-12 19:05:33 +0000
commit98216c5d0266a049874cef93f7892ad2364b695b (patch)
tree641397f056c9dd75075b54e19b4f376a1c8a5a8d /gdb/i386-linux-tdep.c
parentd1764264f94d16c0f1d268424e04716fc92d0015 (diff)
downloadgdb-98216c5d0266a049874cef93f7892ad2364b695b.zip
gdb-98216c5d0266a049874cef93f7892ad2364b695b.tar.gz
gdb-98216c5d0266a049874cef93f7892ad2364b695b.tar.bz2
2002-08-12 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete declarations. * i386-linux-tdep.c (i386_linux_register_byte): Delete function. (i386_linux_register_raw_size): Delete function. i386_linux_init_abi): Update. * i386-tdep.c (i386_register_raw_size): Delete function. (i386_register_byte): Delete function. (i386_gdbarch_init): Update. (i386_register_size): Delete array. (i386_register_offset): Delete array. * config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro. (REGISTER_RAW_SIZE): Delete macro. * config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro. (REGISTER_BYTE): Delete macro.
Diffstat (limited to 'gdb/i386-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 394699f..a833fb5 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -47,27 +47,6 @@ i386_linux_register_name (int reg)
return i386_register_name (reg);
}
-
-static int
-i386_linux_register_byte (int reg)
-{
- /* Deal with the extra "orig_eax" pseudo register. */
- if (reg == I386_LINUX_ORIG_EAX_REGNUM)
- return (i386_register_byte (I386_LINUX_ORIG_EAX_REGNUM - 1)
- + i386_register_raw_size (I386_LINUX_ORIG_EAX_REGNUM - 1));
-
- return i386_register_byte (reg);
-}
-
-static int
-i386_linux_register_raw_size (int reg)
-{
- /* Deal with the extra "orig_eax" pseudo register. */
- if (reg == I386_LINUX_ORIG_EAX_REGNUM)
- return 4;
-
- return i386_register_raw_size (reg);
-}
/* Recognizing signal handler frames. */
@@ -458,8 +437,6 @@ i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_num_regs (gdbarch, I386_SSE_NUM_REGS + 1);
set_gdbarch_register_name (gdbarch, i386_linux_register_name);
set_gdbarch_register_bytes (gdbarch, I386_SSE_SIZEOF_REGS + 4);
- set_gdbarch_register_byte (gdbarch, i386_linux_register_byte);
- set_gdbarch_register_raw_size (gdbarch, i386_linux_register_raw_size);
tdep->jb_pc_offset = 20; /* From <bits/setjmp.h>. */