also the by-reference function result of a call node, now that this is
properly checked in the general case (these parameters/function results
are temp nodes in case of inlined calls)
git-svn-id: trunk@34446 -
Set GDBMI Makefile environment variable for targets that support
building IDE with GDBMI.
GDBMI is set to 1 if target OS is in the list GDBMI_DEFAULT_OS_LIST
* Add comment about GDBMI_DEFAULT_OS_LIST, stating that this
makefile variable appaers at three levels:
fpcbuild, fpcsrc and fpcsrc/ide
but that the content should be kept equal.
fpsrc/ide/Makefile.fpc:
* Do not use GDBMI if NOGDB is used.
git-svn-id: trunk@34438 -
building IDE with GDBMI.
GDBMI is set to 1 if target OS is in the list GDBMI_DEFAULT_OS_LIST
* Add comment about GDBMI_DEFAULT_OS_LIST, stating that this
makefile variable appaers at three levels:
fpcbuild, fpcsrc and fpcsrc/ide
but that the content should be kept equal.
fpsrc/ide/Makefile.fpc:
* Do not use GDBMI if NOGDB is used.
git-svn-id: trunk@34437 -
used to display help message if GDBMI does not find GDB executable.
+ Add Nikolay Nikolov to the contributor list in new GDBMI section.
git-svn-id: trunk@34434 -
New conversion of for loop:
i=<StartExpr>;
for(var $loopend=<EndExpr>; i<=$loopend; i++){}
Because StartExpr and EndExpr must be executed exactly once.
git-svn-id: trunk@34430 -
* pscanner:
New TPasSourcePos record and function TPascalScanner.CurSourcePos: TPasSourcePos.
TStreamResolver.Streams public, so the tests can find all sources.
* pastree:
TPasImplForLoop.VariableName is now TPasExpr.
Replaced Element.Free calls with Element.Release.
* pparser:
Improved the source positions of many types, by passing a TPasSourcePos with TypeName.
Replaced Element.Free calls with Element.Release.
Changed try..except to try..finally for nicer stacktraces.
FinishScope ExceptOnExpr: called after expression was parsed, before statement
FinishScope ExceptOn: called after statement.
For-Loop now supports a dotted identifier as variablename.
* pasresolver:
while do
repeat until
if then else
binary operators
case of
try..finally..except, on, else, raise
for loop
* Tests:
Changed for-loop tests for new VariableName.
Testing the resolver with Asserts creates hard to understand tests.
Instead I added an utility function CheckReferenceDirectives to test
resolved references via markers in source snippets. This also tests the
element structure and source positions.
git-svn-id: trunk@34429 -
Change default mode to using mi interpreter, with GDB running as an separete process.
+ New Makefile variable named:
GDBMI_DEFAULT_OS_LIST
which lists all OS's for which the use of gdbmi is enabled by default.
Starting value:
darwin freebsd haiku linux netbsd openbsd solaris win32 win64
Default can be overriden by using NOGDBMI variable.
This change is mainly to anticipate GDB source switch to C++ after 7.12 version.
git-svn-id: trunk@34425 -
+ New Makefile variable named:
GDBMI_DEFAULT_OS_LIST
which lists all OS's for which the use of gdbmi is enabled by default.
Starting value:
darwin freebsd haiku linux netbsd openbsd solaris win32 win64
Default can be overriden by using NOGDBMI variable.
This change is mainly to anticipate GDB source switch to C++ after 7.12 version.
git-svn-id: trunk@34424 -