mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
DBG: Fixed reading exception classname with fpc-trunk and dwarf
git-svn-id: trunk@28981 -
This commit is contained in:
parent
5aefc8ac47
commit
6e5ff4cb3e
@ -8544,6 +8544,7 @@ begin
|
||||
OK := ExecuteCommand('-data-evaluate-expression ^^shortstring(%s+%d)^^',
|
||||
[S, TargetInfo^.TargetPtrSize * 3], R);
|
||||
if (not OK) or (LastExecResult.State = dsError)
|
||||
or (pos('value="#0', LastExecResult.Values) > 0)
|
||||
then OK := ExecuteCommand('-data-evaluate-expression ^char(^pointer(%s+%d)^+1)',
|
||||
[S, TargetInfo^.TargetPtrSize * 3], R);
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user