Explorar el Código

* use hex when retrieving registers via gdb/mi. This stops gdb from returning
negative numbers.

git-svn-id: trunk@30114 -

nickysn hace 10 años
padre
commit
3250a91995
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ide/gdbmicon.pas

+ 1 - 1
ide/gdbmicon.pas

@@ -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