+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
+ for 'regcache->register_status'.
+
2013-03-07 Pedro Alves <palves@redhat.com>
* breakpoint.c (breakpoint_xfer_memory): Change type of local to
regcache->registers
= XCALLOC (descr->sizeof_cooked_registers, gdb_byte);
regcache->register_status
- = XCALLOC (descr->sizeof_cooked_register_status, gdb_byte);
+ = XCALLOC (descr->sizeof_cooked_register_status, signed char);
}
else
{
regcache->registers
= XCALLOC (descr->sizeof_raw_registers, gdb_byte);
regcache->register_status
- = XCALLOC (descr->sizeof_raw_register_status, gdb_byte);
+ = XCALLOC (descr->sizeof_raw_register_status, signed char);
}
regcache->aspace = aspace;
regcache->ptid = minus_one_ptid;