Skip to content

Commit 36b45ef

Browse files
committed
Fix incorrect fd representation
1 parent e633e62 commit 36b45ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiling/debugger/gdb/gdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def handle_v(subcmd: str) -> Reply:
595595
if os.path.exists(host_path) and not path.startswith(r'/proc'):
596596
fd = os.open(host_path, flags, mode)
597597

598-
return f'F{fd}'
598+
return f'F{fd:x}'
599599

600600
elif op == 'pread':
601601
fd, count, offset = (int(p, 16) for p in params)

0 commit comments

Comments
 (0)