mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 00:39:19 +02:00
* use hex when retrieving registers via gdb/mi. This stops gdb from returning
negative numbers. git-svn-id: trunk@30114 -
This commit is contained in:
parent
52d13e6ddb
commit
3250a91995
@ -262,7 +262,7 @@ var
|
||||
begin
|
||||
GetIntRegister := False;
|
||||
Value := 0;
|
||||
if not GetRegisterAsString(RegName, 'd', RegValueStr) then
|
||||
if not GetRegisterAsString(RegName, 'x', RegValueStr) then
|
||||
exit;
|
||||
Val(RegValueStr, Value, Code);
|
||||
if Code <> 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user