Commit Graph

1627 Commits

Author SHA1 Message Date
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
nickysn
2e3cb70489 * regenerated makefiles after adding the win16 target
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
marco
c9ae6b34c6 * initial support for INSTALL_BINDIR. If that option isn't used behaviour
should be the same as old. Mantis #27272

git-svn-id: trunk@31166 -
2015-06-28 15:06:04 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
pierre
54621aec9a Use pascal style doubling of quote char instead of C style escaping for ini file
git-svn-id: trunk@30573 -
2015-04-13 16:40:27 +00:00
pierre
03ef994cc8 Add -G command line option to allow specification of GDB executable name
git-svn-id: trunk@30572 -
2015-04-13 16:39:27 +00:00
pierre
c59e8733d6 Try to fix error introduced in commit 28925 leading to corruption of HelpFiles and SourceDirList
git-svn-id: trunk@30447 -
2015-04-05 19:42:01 +00:00
Károly Balogh
226c184d14 IDE: made FixFileName to actually fix and not break file names on Amiga-like systems
git-svn-id: trunk@30359 -
2015-03-29 02:02:35 +00:00
nickysn
011e8fcd07 * moved the code for setting max width and then restoring it when obtaining a
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 -
2015-03-24 00:27:44 +00:00
nickysn
39dbfcc3d5 * fixed gdb/mi crash when program exits with exit code >= $80000000
git-svn-id: trunk@30176 -
2015-03-12 23:25:07 +00:00
nickysn
e87ce29a4e * use the AsQWord and AsLongWord methods to do the conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30175 -
2015-03-12 22:53:02 +00:00
nickysn
44f272ca3f * use unsigned int conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30174 -
2015-03-12 22:49:16 +00:00
nickysn
f4c0c92628 + added methods AsInt64, AsQWord and AsLongWord to TGDBMI_Value
git-svn-id: trunk@30173 -
2015-03-12 22:46:46 +00:00
nickysn
bf7785f567 * only define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE on Windows. This fixes
console output under Linux and other non-Windows platforms.

git-svn-id: trunk@30163 -
2015-03-11 10:44:47 +00:00
nickysn
aff3fb62ae - rm code that parses the response when retrieving the value of a watchpoint
variable, since that's now done in PrintCommand for the libgdb.a interface
  (and is not necessary for the gdb/mi interface)

git-svn-id: trunk@30162 -
2015-03-11 00:59:53 +00:00
pierre
3cd33af823 Avoid double definition of FPBaseName for powerpc cpu target on i386
git-svn-id: trunk@30157 -
2015-03-10 07:52:44 +00:00
pierre
d62a8b4b14 Avoid range check error
git-svn-id: trunk@30156 -
2015-03-10 07:51:46 +00:00
nickysn
05ab2ea0cb * also use the last line of the FPU and Vector Unit register view windows
git-svn-id: trunk@30136 -
2015-03-08 02:24:22 +00:00
nickysn
5d43ce99cd * show a persistent message "debugger error" in the register windows in case
there's an error retrieving the register values. Previously, the message would
  appear, but subsequent window redraws would show invalid register values
  instead of the message.

git-svn-id: trunk@30135 -
2015-03-08 02:19:52 +00:00
nickysn
fa48ef574a * always show the "no values available" msg in the register windows when program
isn't running

git-svn-id: trunk@30134 -
2015-03-08 01:47:54 +00:00
nickysn
aa79cd38b3 * register window messages "<no values available>" and "<debugger error>"
converted to resourcestrings

git-svn-id: trunk@30124 -
2015-03-07 18:11:40 +00:00
nickysn
7b6e649714 * simplified the GetValue nested procedure inside TWatch.Get_new_value
git-svn-id: trunk@30119 -
2015-03-07 14:44:59 +00:00
nickysn
e52238df42 - rm code for parsing and extracting the value of the print command result, when
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 -
2015-03-07 14:26:10 +00:00
nickysn
a32b335832 * use sizeof(CORE_ADDR) instead of sizeof(pointer) for finding the parameters
on the stack in GetFPCBreakParameters

git-svn-id: trunk@30117 -
2015-03-07 01:15:16 +00:00
nickysn
4fbab88449 * fixed powerpc register window size
git-svn-id: trunk@30116 -
2015-03-06 21:54:25 +00:00
nickysn
e8e09edf79 * use TGDBController.GetIntRegister (which supports gdb/mi) for retrieving the
registers of cpus "known" by the ide (i386,x86_64,m68k,powerpc,sparc)

git-svn-id: trunk@30115 -
2015-03-06 21:43:25 +00:00
nickysn
3250a91995 * use hex when retrieving registers via gdb/mi. This stops gdb from returning
negative numbers.

git-svn-id: trunk@30114 -
2015-03-06 21:12:43 +00:00
nickysn
52d13e6ddb + added 16-bit int overloads for TGDBController.GetIntRegister. Useful for
e.g. getting the segment registers on x86.

git-svn-id: trunk@30113 -
2015-03-06 21:10:57 +00:00
nickysn
b6ececfca0 * added comment to the endif directive
git-svn-id: trunk@30112 -
2015-03-06 20:34:46 +00:00
nickysn
a41ff9ac9e * rearranged the x86_64 registers window, so it takes less screen space
git-svn-id: trunk@30109 -
2015-03-05 23:00:17 +00:00
nickysn
8ef6845930 + added function gdbmiwrap.C2PascalNumberPrefix for converting C number prefixes
to Pascal (i.e. 0x to $, 0 to &)
* use the new function when parsing numbers returned by gdb. This fixes parsing
  of octal numbers, which are sometimes returned by gdb (no idea why).

git-svn-id: trunk@30104 -
2015-03-05 21:36:54 +00:00
nickysn
e76b416b04 * force gdb/mi on windows to always run the debuggee in another console, since I
couldn't get same console debugging to work with gdb/mi on windows (and I
  doubt it's even possible with the current gdb, without patching it)

git-svn-id: trunk@30100 -
2015-03-05 15:18:55 +00:00
nickysn
f556a4ea31 * fixed endif comment
git-svn-id: trunk@30099 -
2015-03-05 13:53:16 +00:00
pierre
fd33786c67 Fix compilation error if DEBUG is not set, use GDB_RAW_OUTPUT macro
git-svn-id: trunk@30094 -
2015-03-04 15:41:10 +00:00
pierre
93ca6267c8 Add function parameters with values in Call Stack window
git-svn-id: trunk@30091 -
2015-03-03 22:24:20 +00:00
pierre
3af4a43834 Use sizeof(CORE_ADDR)*2 in hexstr call inside GetLongintAt and GetPointerAt methods
git-svn-id: trunk@30090 -
2015-03-03 21:54:43 +00:00
pierre
1c5be35315 fpdebug.pas:
+ 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 -
2015-03-03 21:44:07 +00:00
pierre
a0c6d55d10 Reset GDBRawBuf at same time as GDBOutputBuf and avoid error on -environment-cd if string is empty
git-svn-id: trunk@30088 -
2015-03-03 21:32:30 +00:00
pierre
7567325417 Added separate GDBRawBuf and output_raw boolean to avoid parsing of raw output
git-svn-id: trunk@30087 -
2015-03-03 21:30:46 +00:00
pierre
ded9bbd9f8 Add GDB_RAW_OUTPUT macro for GDBMI with DEBUG set
git-svn-id: trunk@30086 -
2015-03-03 21:29:17 +00:00
nickysn
f6250b3a5a * fixed handling of both #13#10 and #10 line separators when reading from the
gdb/mi output on windows. Previous code only handled #13#10, but not #10.

git-svn-id: trunk@30085 -
2015-03-03 20:16:38 +00:00
nickysn
54dcd555d0 * switch to always using an unsigned type for CORE_ADDR
git-svn-id: trunk@30081 -
2015-03-02 22:44:24 +00:00
nickysn
249be70290 * show 64-bit addresses as 64-bit in the stack trace
git-svn-id: trunk@30073 -
2015-03-02 15:49:54 +00:00
nickysn
4794b901ae * changed the type of TFrameEntry.address from PtrInt to CORE_ADDR
git-svn-id: trunk@30071 -
2015-03-02 13:43:58 +00:00
nickysn
1e842ffb6f * TGDBMI_Value.AsPtrInt replaced with .AsCoreAddr, which returns CORE_ADDR
instead of PtrInt

git-svn-id: trunk@30070 -
2015-03-02 13:38:01 +00:00
nickysn
2adee6834c * the definition of CORE_ADDR moved from gdbmiint to gdbmiwrap, because we're
going to use it there as well

git-svn-id: trunk@30069 -
2015-03-02 12:20:13 +00:00
nickysn
78676b8f16 + include globdir.inc in the gdb/mi interface units, so that the TARGET_IS_64BIT
define has effect

git-svn-id: trunk@30067 -
2015-03-02 11:28:24 +00:00