This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove MAX_REGISTER_SIZE from py-unwind.c
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 22 Jun 2017 09:49:09 -0400
- Subject: [binutils-gdb] Remove MAX_REGISTER_SIZE from py-unwind.c
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 4fa847d78edd4a3901414655bd4b31234b91ba2a ***
Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 4fa847d78edd4a3901414655bd4b31234b91ba2a
Remove MAX_REGISTER_SIZE from py-unwind.c
gdb/
* remote.c (cached_reg): Move from here...
* regcache.h (cached_reg): ...to here.
* python/py-unwind.c (struct reg_info): Remove.
(cached_frame_info): Use cached_reg_t.
(pyuw_prev_register): Likewise.
(pyuw_sniffer): Use cached_reg_t and allocate registers.
(pyuw_dealloc_cache): Free all registers.