backtrace from fpdebug.pas to the Backtrace method in the libgdb.a interface.
- removed the code for changing the gdb window width from fpdebug.pas entirely,
because it makes no sense for the gdb/mi interface and it's better to use
MaxWidth/NormWidth in the libgdb.a interface for the libgdb.a functions that
need it.
git-svn-id: trunk@30299 -
retrieving FrameName, since that's already done in TGDBController.PrintCommand
for the libgdb.a interface (and unnecessary for the gdb/mi interface)
git-svn-id: trunk@30118 -
+ 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 -
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 -
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 -
breakpoint, or zero otherwise) to DoSelectSourceLine, instead of using
stop_breakpoint_number
- removed stop_breakpoint_number and all the convoluted logic around it from the
gdb/mi interface
* made stop_breakpoint_number private in the libgdb.a interface to ensure it's
only used for internal use; UI code should rely on the new BreakIndex
parameter instead
git-svn-id: trunk@30003 -
* all breakpoint and watchpoint adding now go through TGDBController and use
the proper gdb/mi commands when compiled with the gdb/mi debugger
git-svn-id: trunk@29746 -
IDE. Tested under Linux (Fedora 21 - x86_64, GDB 7.8.2). It is still disabled
by default on all platforms. To enable it, build a snapshot with:
FPMAKEOPT="--ignoreinvalidoption --GDBMI=1"
Known issue: the GDB window in the IDE causes crashes, so don't open it :)
(for debugging purposes, set the environment variable FPIDE_GDBLOG=1 when
running the IDE and it will log everything in gdblog.txt)
git-svn-id: trunk@29716 -