Skip to content

Commit

Permalink
Patch for windows debugger to load libraries (#4113)
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow authored Jan 16, 2024
1 parent 90c2e5b commit 5b36c7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion librz/debug/p/debug_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ static RzDebugReasonType rz_debug_native_wait(RzDebug *dbg, int pid) {
rz_bin_file_set_cur_binfile(core->bin, cur);
}
} else {
RZ_LOG_VERBOSE("The library %s does not exist.\n", lib->Path);
RZ_LOG_ERROR("The library %s does not exist.\n", lib->Path);
}
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion librz/debug/p/native/windows/windows_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ static char *get_file_name_from_handle(HANDLE handle_file) {
CloseHandle(handle_file_map);
}
if (filename) {
char *ret = rz_sys_conv_win_to_utf8(filename);
char *ret = rz_utf16_to_utf8(filename);
free(filename);
return ret;
}
Expand Down

0 comments on commit 5b36c7c

Please sign in to comment.