mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-04 08:08:01 +00:00
* remote.c (remote_parse_stop_reply): Use REG only after its NULL check.
This commit is contained in:
parent
fbc558e16b
commit
4100683baa
@ -1,3 +1,7 @@
|
||||
2008-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* remote.c (remote_parse_stop_reply): Use REG only after its NULL check.
|
||||
|
||||
2008-12-08 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* python/python-value.c (values_in_python): Add specific initialization
|
||||
|
@ -4305,8 +4305,6 @@ Packet: '%s'\n"),
|
||||
struct packet_reg *reg = packet_reg_from_pnum (rsa, pnum);
|
||||
cached_reg_t cached_reg;
|
||||
|
||||
cached_reg.num = reg->regnum;
|
||||
|
||||
p = p1;
|
||||
|
||||
if (*p != ':')
|
||||
@ -4320,6 +4318,8 @@ Packet: '%s'\n"),
|
||||
Packet: '%s'\n"),
|
||||
phex_nz (pnum, 0), p, buf);
|
||||
|
||||
cached_reg.num = reg->regnum;
|
||||
|
||||
fieldsize = hex2bin (p, cached_reg.data,
|
||||
register_size (target_gdbarch,
|
||||
reg->regnum));
|
||||
|
Loading…
x
Reference in New Issue
Block a user