diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-03-08 09:42:21 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-03-08 09:42:21 +0000 |
commit | 4ef0bef68cfc777e59156fce1563583c0ffb76d9 (patch) | |
tree | d3c25e7c280cd8d4fe2c79c610f1867b85eb3c40 /gdb/python | |
parent | e771e7c9fb79487d7b192769bc2d91fbe4118ba6 (diff) | |
download | binutils-4ef0bef68cfc777e59156fce1563583c0ffb76d9.zip binutils-4ef0bef68cfc777e59156fce1563583c0ffb76d9.tar.gz binutils-4ef0bef68cfc777e59156fce1563583c0ffb76d9.tar.bz2 |
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.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-unwind.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/python/py-unwind.c b/gdb/python/py-unwind.c index a7e3a93..906a004 100644 --- a/gdb/python/py-unwind.c +++ b/gdb/python/py-unwind.c @@ -583,7 +583,6 @@ pyuw_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, /* `value' validation was done before, just assert. */ gdb_assert (value != NULL); gdb_assert (data_size == TYPE_LENGTH (value_type (value))); - gdb_assert (data_size <= MAX_REGISTER_SIZE); cached_frame->reg[i].data = (gdb_byte *) xmalloc (data_size); memcpy (cached_frame->reg[i].data, value_contents (value), data_size); |