Skip to content

Commit f82ca0f

Browse files
committed
Use proper value endian
1 parent 0a06dd4 commit f82ca0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

qiling/debugger/gdb/gdb.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,13 +541,15 @@ def handle_q(subcmd: str) -> Reply:
541541
return 'l'
542542

543543
elif query == 'TStatus':
544+
tsize = __hexstr(0x500000)
545+
544546
fields = (
545547
'T0',
546548
'tnotrun:0',
547549
'tframes:0',
548550
'tcreated:0',
549-
'tfree:500000',
550-
'tsize:500000',
551+
f'tfree:{tsize}',
552+
f'tsize:{tsize}',
551553
'circular:0',
552554
'disconn:0',
553555
'starttime:0',

0 commit comments

Comments
 (0)