Remove MAX_REGISTER_SIZE define

gdb/
	* defs.h: Remove MAX_REGISTER_SIZE.
	* regcache.c (init_regcache_descr): Remove MAX_REGISTER_SIZE
	asserts.
	* python/py-unwind.c (pyuw_sniffer): Likewise.
This commit is contained in:
Alan Hayward
2018-03-08 09:42:21 +00:00
parent e771e7c9fb
commit 4ef0bef68c
4 changed files with 7 additions and 8 deletions

View File

@@ -531,11 +531,6 @@ enum symbol_needs_kind
/* Dynamic target-system-dependent parameters for GDB. */
#include "gdbarch.h"
/* * 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 = 64 };
/* In findvar.c. */
template<typename T, typename = RequireLongest<T>>