Allocate data in cached_reg_t
authorAlan Hayward <alan.hayward@arm.com>
Wed, 18 Jan 2017 15:15:50 +0000 (15:15 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 18 Jan 2017 15:17:55 +0000 (15:17 +0000)
commitd1dff2266d29c4739aee6f68c8c587d44b03a717
tree2433b48863c8ad6f05aa6d7b6f0d9d488dbcde82
parent9890e4338dcabf4512b4856b09511f25c81d10f1
Allocate data in cached_reg_t

2017-01-18  Alan Hayward  <alan.hayward@arm.com>

* remote.c (struct cached_reg): Change data into a pointer.
* (stop_reply_dtr): Free data pointers before deleting vector.
(process_stop_reply): Likewise.
(remote_parse_stop_reply): Allocate space for data
gdb/ChangeLog
gdb/remote.c