fix gdb io plugin .open (#5375)
This commit is contained in:
parent
6ab1904b07
commit
498b990dc5
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ static RzIODesc *__open(RzIO *io, const char *file, int rw, int mode) {
|
|||
i_port = atoi(port);
|
||||
}
|
||||
|
||||
desc = RZ_NEW(libgdbr_t);
|
||||
gdbr_init(desc, false);
|
||||
|
||||
if (gdbr_connect(desc, host, i_port) == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue