Skip to content

Commit 168c81f

Browse files
committed
Fix crash when using gdb>v10.0 (Thank to Graeme).
1 parent 9ce847f commit 168c81f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/msegdbutils.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ procedure tgdbmi.startgdb(commandline: msestring);
991991
haslang:= sys_getenv(lcmessages,langbefore);
992992
sys_setenv(lcmessages,'C');
993993

994-
fgdb:= execmse2(syscommandline(commandline)+' --interpreter=mi --nx --readnever ',
994+
fgdb:= execmse2({$ifdef UNIX}'DEBUGINFOD_URLS=; ' + {$endif} syscommandline(commandline)+' --interpreter=mi --nx --readnever',
995995
fgdbto,fgdbfrom,fgdbfrom,-1,
996996
[exo_inactive,exo_tty,exo_winpipewritehandles]);
997997

0 commit comments

Comments
 (0)