mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
make ood use absolute path
fixes #3255 Reopening a file in debug mode with 'ood' does not work #3255
This commit is contained in:
parent
b86bf19c85
commit
e973deadca
@ -205,7 +205,7 @@ static void reopen_in_debug(RCore *core) {
|
||||
r_core_cmd0 (core, "oo");
|
||||
} else {
|
||||
int bits = core->assembler->bits;
|
||||
const char *oldname = core->file->desc->uri;
|
||||
const char *oldname = r_file_abspath (core->file->desc->uri);
|
||||
char *newfile = r_str_newf ("dbg://%s", oldname);
|
||||
core->file->desc->uri = newfile;
|
||||
core->file->desc->referer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user