mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 00:38:55 +00:00
fix radare2-regressions/t.archos/Linux-x86_64/dbg_bps regressions (#5661)
This commit is contained in:
parent
9fa781becc
commit
d9cac5b3ff
@ -30,8 +30,8 @@ R_API int r_debug_reg_sync(RDebug *dbg, int type, int write) {
|
||||
}
|
||||
} else {
|
||||
// int bufsize = R_MAX (1024, dbg->reg->size*2); // i know. its hacky
|
||||
//int bufsize = dbg->reg->size;
|
||||
int bufsize = dbg->reg->regset[i].arena->size;
|
||||
int bufsize = dbg->reg->size;
|
||||
//int bufsize = dbg->reg->regset[i].arena->size;
|
||||
if (bufsize > 0) {
|
||||
ut8 *buf = calloc (1, bufsize);
|
||||
if (!buf) {
|
||||
|
Loading…
Reference in New Issue
Block a user