+ Add code to handle GDBRawBuf if GDB_RAW_OUTPUT macro is defined.
+ Use SelectFrameCommand method instead of Command('f '+...
+ Remove /x modifer from getValue for FreamNameKnown code inside TWatch.Get_new_value;
fpviews.pas:
+ Also use correct address size in AddDisassemblyLine
* Replace 'set sym on' by 'set symbol on' to avoid mi error
* Use /m modifier for disassembly to get also source code lines
+ Recognize '=> ' current pc indicator inside TDisassemblyWindow.ProcessPChar
git-svn-id: trunk@30089 -
* return got_error=true in case of an error (fixes display of local variables of a parent function from a nested one)
* fixed returning an error message (previously it would return an empty string)
* trimming the #10 at the end simplified by the use of an ansistring function
* we now also trim whitespace from the end, which was previously done in TWatch.Get_new_value, so I assume it was necessary for some gdb versions
git-svn-id: trunk@30077 -
* Changed nds tool: grit has been replaced by grit_fpc (https://github.com/flodd/grit_fpc) to simplify the nds programming workflow
git-svn-id: trunk@30074 -
like (the '= ' used to come from the gdb output and was intentionally kept by
the response parsing code, which is now removed)
git-svn-id: trunk@30059 -
TWatch.Get_new_value as that is now done in PrintCommand for the libgdb.a
interface (and is unnecessary for the gdb/mi interface, where we get the value
only, without anything else)
git-svn-id: trunk@30058 -
* supports returning long strings
* can be easily converted to a pchar without truncation (a simple PChar(x)
works for read-only access or a full copy via StrNew(PChar(x)) )
* can be easily converted to shortstring without memleaks (shortstr := pchar
works, but creates a silent memleak, when the pchar returned should be
StrDispose'd)
git-svn-id: trunk@30052 -
gdb/mi's TGDBController.PrintCommand() method, because
-var-evaluate-expressions produces no meaningful results at least with my gdb
(7.8.2) and according to the docs, requires variable objects to be created
with -var-create before using it
git-svn-id: trunk@30051 -
sizeint" function that returns:
<0: invalid sequence detected after processing "-result" bytes
0: incomplete (may still be valid if MaxLookAhead is increased)
>0: sequence of result bytes forms a codepoint (+ combining diacritical
marks if that parameter was true)
git-svn-id: trunk@30047 -
New Set_debuggee_started method to update init_count properly.
ide/gdbmicon.ppas and packages/gdbint/src/gdbcon.pp:
Add PrintCommand and PrintFormattedCommand methods to
allow using of mi command for fpdebug unit TDebugController.GetValue method
packages/gdbint/src/gdbcon.pp:
Add InternalGetValue method, that uses previous code from fpdebug GetValue method
git-svn-id: trunk@30043 -