aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-cygwin-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-16 16:49:55 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-16 16:49:55 +0000
commit3d04925443366a4a1204b82b5355e1b8af5c0732 (patch)
tree93c81b069195c7aab0b32bdd02529a5430fe950c /gdb/i386-cygwin-tdep.c
parent7867684d060b2df5ce37d76c8fc7d8d85a7a8866 (diff)
downloadgdb-3d04925443366a4a1204b82b5355e1b8af5c0732.zip
gdb-3d04925443366a4a1204b82b5355e1b8af5c0732.tar.gz
gdb-3d04925443366a4a1204b82b5355e1b8af5c0732.tar.bz2
From Brian Ford <ford@vss.fsi.com>:
* i386-tdep.c (i386_coff_init_abi): New function. * i386-tdep.h (i386_coff_init_abi): New prototype. * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct register number translation functions for DWARF and DWARF 2.
Diffstat (limited to 'gdb/i386-cygwin-tdep.c')
-rw-r--r--gdb/i386-cygwin-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/i386-cygwin-tdep.c b/gdb/i386-cygwin-tdep.c
index 443f8f7..6047b03 100644
--- a/gdb/i386-cygwin-tdep.c
+++ b/gdb/i386-cygwin-tdep.c
@@ -31,6 +31,8 @@ i386_cygwin_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ i386_coff_init_abi (info, gdbarch);
+
tdep->struct_return = reg_struct_return;
}