mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 11:39:25 +02:00
Merged revision(s) 47581 #f05054dd59 from trunk:
Debugger: GDB more fixes for gdb 7.7 and up. Uppercase expressions / See issue #27136 ........ git-svn-id: branches/fixes_1_4@47582 -
This commit is contained in:
parent
dc1ee78e83
commit
987f026c95
@ -8247,7 +8247,7 @@ begin
|
||||
end;
|
||||
|
||||
R := GDBMIExecResultDefault;
|
||||
Result := ExecuteCommandFull('-gdb-set var %s := %s', [AExpression, S], [cfscIgnoreError], @GDBModifyDone, 0, R)
|
||||
Result := ExecuteCommandFull('-gdb-set var %s := %s', [UpperCase(AExpression), S], [cfscIgnoreError], @GDBModifyDone, 0, R)
|
||||
and (R.State <> dsError);
|
||||
|
||||
FTypeRequestCache.Clear;
|
||||
@ -9107,7 +9107,7 @@ begin
|
||||
Result := False;
|
||||
if ABreakID = 0 then Exit;
|
||||
|
||||
Result := ExecuteCommand('-break-condition %d %s', [ABreakID, AnExpression], []);
|
||||
Result := ExecuteCommand('-break-condition %d %s', [ABreakID, UpperCase(AnExpression)], []);
|
||||
end;
|
||||
|
||||
{ TGDBMIDebuggerCommandBreakInsert }
|
||||
@ -9150,7 +9150,7 @@ begin
|
||||
bpkData:
|
||||
begin
|
||||
if (FWatchData = '') then exit;
|
||||
WatchExpr := WatchData;
|
||||
WatchExpr := UpperCase(WatchData);
|
||||
if FWatchScope = wpsGlobal then begin
|
||||
Result := ExecuteCommand('ptype %s', [WatchExpr], R);
|
||||
Result := Result and (R.State <> dsError);
|
||||
|
Loading…
Reference in New Issue
Block a user