Skip to content

Commit

Permalink
fpdebug: Fixed compilation with verbose debugging
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.freepascal.org/svn/lazarus/trunk@58416 4005530d-fff6-0310-9dd1-cebe43e6787f
  • Loading branch information
joost committed Jun 26, 2018
1 parent 350480b commit fedc18d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/fpdebug/fpdbgcontroller.pas
Expand Up @@ -761,9 +761,9 @@ procedure TDbgController.ProcessLoop;
FPDEvent:=FCurrentProcess.ResolveDebugEvent(FCurrentThread);
{$ifdef DBG_FPDEBUG_VERBOSE}
log('Process stopped with event %s. IP=%s, SP=%s, BSP=%s.', [FPDEventNames[FPDEvent],
FCurrentProcess.FormatAddress(FCurrentProcess.GetInstructionPointerRegisterValue),
FCurrentProcess.FormatAddress(FCurrentProcess.GetStackPointerRegisterValue),
FCurrentProcess.FormatAddress(FCurrentProcess.GetStackBasePointerRegisterValue)], dllDebug);
FCurrentProcess.FormatAddress(FCurrentThread.GetInstructionPointerRegisterValue),
FCurrentProcess.FormatAddress(FCurrentThread.GetStackPointerRegisterValue),
FCurrentProcess.FormatAddress(FCurrentThread.GetStackBasePointerRegisterValue)], dllDebug);
{$endif DBG_FPDEBUG_VERBOSE}
if assigned(FCommand) then
begin
Expand Down

0 comments on commit fedc18d

Please sign in to comment.