This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
PATCH: Increase MAX_REGISTER_SIZE to 32
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GDB <gdb-patches at sourceware dot org>
- Date: Tue, 2 Feb 2010 19:37:16 -0800
- Subject: PATCH: Increase MAX_REGISTER_SIZE to 32
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
Intel AVX has 32byte/256bit YMM registers. This patch increases
MAX_REGISTER_SIZE to 32. OK to install?
Thanks.
H.J.
----
2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
* defs.h (MAX_REGISTER_SIZE): Increase to 32.
diff --git a/gdb/defs.h b/gdb/defs.h
index b0a212d..5b5c261 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1023,7 +1023,7 @@ extern void *alloca ();
/* Maximum size of a register. Something small, but large enough for
all known ISAs. If it turns out to be too small, make it bigger. */
-enum { MAX_REGISTER_SIZE = 16 };
+enum { MAX_REGISTER_SIZE = 32 };
/* Static target-system-dependent parameters for GDB. */