This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] i386 tweak
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 21 Apr 2003 14:56:26 -0400
- Subject: [ob] i386 tweak
Just FYI, fix a build problem.
Andrew
2003-04-21 Andrew Cagney <cagney at redhat dot com>
* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
"i386_num_mmx_regs".
Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.138
diff -u -r1.138 i386-tdep.c
--- i386-tdep.c 19 Apr 2003 14:43:50 -0000 1.138
+++ i386-tdep.c 21 Apr 2003 18:54:07 -0000
@@ -1542,7 +1542,7 @@
set_gdbarch_pc_in_sigtramp (gdbarch, i386_pc_in_sigtramp);
/* Wire in the MMX registers. */
- set_gdbarch_num_pseudo_regs (gdbarch, mmx_num_regs);
+ set_gdbarch_num_pseudo_regs (gdbarch, i386_num_mmx_regs);
set_gdbarch_pseudo_register_read (gdbarch, i386_pseudo_register_read);
set_gdbarch_pseudo_register_write (gdbarch, i386_pseudo_register_write);