mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-25 16:51:30 +00:00
dbg.verbose is now set to false by default (#18911)
* Hide GETREG error shown on WSL1
This commit is contained in:
parent
d14e468b86
commit
3e1d31993d
@ -3598,7 +3598,7 @@ R_API int r_core_config_init(RCore *core) {
|
||||
SETBPREF ("dbg.hwbp", "false", "Use hardware breakpoints instead of software ones when enabled");
|
||||
SETCB ("dbg.", "true", &cb_dbg_verbose, "Verbose debug output");
|
||||
SETCB ("dbg.unlibs", "", &cb_dbg_unlibs, "If set stop when unloading matching libname");
|
||||
SETCB ("dbg.verbose", "true", &cb_dbg_verbose, "Verbose debug output");
|
||||
SETCB ("dbg.verbose", "false", &cb_dbg_verbose, "Verbose debug output");
|
||||
SETBPREF ("dbg.slow", "false", "Show stack and regs in visual mode in a slow but verbose mode");
|
||||
SETBPREF ("dbg.funcarg", "false", "Display arguments to function call in visual mode");
|
||||
|
||||
|
@ -1206,7 +1206,10 @@ int linux_reg_read(RDebug *dbg, int type, ut8 *buf, int size) {
|
||||
// ignore ENODEV, it just means this CPU or kernel doesn't support XSTATE
|
||||
ret = 0;
|
||||
} else if (ret != 0) {
|
||||
r_sys_perror ("PTRACE_GETREGSET");
|
||||
if (dbg->verbose) {
|
||||
// WSL1 doesnt support retrieving YMM registers, so this call just fails, no need to be noisy
|
||||
r_sys_perror ("PTRACE_GETREGSET");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// stitch together xstate.fpstate._xmm and xstate.ymmh assuming LE
|
||||
|
Loading…
x
Reference in New Issue
Block a user