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
florian
92fffa05d4
* svn:global-ignores property set for global ignores, available since subversion 1.8
...
git-svn-id: trunk@30103 -
2015-03-05 20:41:51 +00:00
florian
ca4f4fb855
* changed casing for nicer code completation, #27604
...
git-svn-id: trunk@30102 -
2015-03-05 20:35:38 +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
94c4308086
annotate_source also has gdbarch parameter since 7.0
...
git-svn-id: trunk@30097 -
2015-03-04 23:11:04 +00:00
pierre
5bb65ded3d
Add missing gdbarch field for annotate_frame_begin for version 7.0 or above
...
Try to cope with buffering problems to catch complete argument list
git-svn-id: trunk@30095 -
2015-03-04 17:37:57 +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
Károly Balogh
73018b39a7
amunits/arosunits: ed_Type field in TExAllData should actually be signed
...
git-svn-id: trunk@30093 -
2015-03-04 00:18:04 +00:00
Károly Balogh
2ead4634e6
amunits: converted MUI to syscalls
...
git-svn-id: trunk@30092 -
2015-03-03 22:46:22 +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
Legolas
8dd9b46d60
* Patch by Karl-Michael Schindler (mantis 0026847): gba and nds targets are now buildable without external dependencies
...
git-svn-id: trunk@30083 -
2015-03-03 09:16:04 +00:00
lacak
69cbcdaa34
fcl-db: mssql: add support for varchar(MAX), varbinary(MAX) data types
...
(text, ntext and image data types are deprecated by SQL Server and will be removed in any future version of SQL Server)
git-svn-id: trunk@30082 -
2015-03-03 07:04:12 +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
Károly Balogh
a71fcd290b
* allocate a temp addressreg instead of a temp intreg in callnode. improves code generation on m68k for these cases
...
git-svn-id: trunk@30080 -
2015-03-02 22:21:53 +00:00
Jonas Maebe
b4033efc00
* fixed typo in comment
...
git-svn-id: trunk@30079 -
2015-03-02 21:45:43 +00:00
Jonas Maebe
6defd861b0
* fixed uninitialized function result in r30048 (mantis #27586 )
...
git-svn-id: trunk@30078 -
2015-03-02 21:45:40 +00:00
nickysn
de6975d001
* improvements to the libgdb.a version of Print[Formatted]Command:
...
* 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 -
2015-03-02 21:34:20 +00:00
florian
e0c4e0456f
* fix parallel building of linux rtl
...
git-svn-id: trunk@30076 -
2015-03-02 19:46:19 +00:00
marco
d20491e0f0
* Patch from Mattias to mostly revert his previous patch that broke his own code.
...
Mantis #27549
git-svn-id: trunk@30075 -
2015-03-02 18:54:03 +00:00
Legolas
177b007eba
* Fixed gba rtl: it generated corrupted executables
...
* 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 -
2015-03-02 17:33:44 +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
fc6fef3cc1
* fixed compilation of gdbint after r30071
...
git-svn-id: trunk@30072 -
2015-03-02 13:49:09 +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
6be3b8cc63
* updated fpcmake's revision.inc
...
git-svn-id: trunk@30068 -
2015-03-02 12:19:04 +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
pierre
1d865d6422
Add SelectFrameCommand method to TGDBController in gdbcon and gdbmicon units (not yet used in ide code)
...
git-svn-id: trunk@30066 -
2015-03-02 10:41:35 +00:00
pierre
f388103456
Replace type of address parameters or fields by CORE_ADDR for fpviews objects
...
git-svn-id: trunk@30065 -
2015-03-02 10:40:06 +00:00
pierre
cec67ade78
Use QWORD for CORE_ADDR if TARGET_IS_64BIT macro is set
...
git-svn-id: trunk@30064 -
2015-03-02 10:37:28 +00:00
pierre
dfb21140a2
Add TARGET_OS_64BIT macro for corresponding CPU targets
...
git-svn-id: trunk@30063 -
2015-03-02 10:36:48 +00:00
Károly Balogh
106056f462
m68k: more FMOVEM.X store/load size fixes
...
git-svn-id: trunk@30062 -
2015-03-02 02:55:23 +00:00
Károly Balogh
acaf382ea0
m68k: FMOVEM.X stores/loads each reg as 12 bytes (96 bits) not 10 bytes (80 bits), see 68k PRM, page 5-86
...
git-svn-id: trunk@30061 -
2015-03-02 02:48:35 +00:00
Károly Balogh
7758ad9313
m68k: clear the FPU Control Register at program start. This fixes some testcode randomly failing on AmigaOS, where the FPCR state is inherited from the parent task. Also added the FPCR layout and rounding modes info, based on the Motorola 68k PRMm68k.inc
...
git-svn-id: trunk@30060 -
2015-03-02 00:51:23 +00:00
nickysn
7acc709ac0
* prepend the watch value with '= ' to keep the old way the IDE watches looked
...
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 -
2015-03-02 00:50:45 +00:00
nickysn
08ed7778db
- removed the response parsing code for extracting the watch value from
...
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 -
2015-03-02 00:47:08 +00:00
nickysn
1709006ad3
* quote strings in TGDBController.PrintCommand and .PrintFormattedCommand to
...
allow evaluating expressions which contain spaces
git-svn-id: trunk@30057 -
2015-03-02 00:26:09 +00:00
nickysn
547e20f1a2
* just realized that AnsiStrPas is entirely unnecessary, because typecasting a
...
pchar to ansistring performs exactly the same thing :)
git-svn-id: trunk@30056 -
2015-03-02 00:03:02 +00:00
nickysn
9d1c9a2a6a
* fixed watches under gdb/mi after r30043
...
git-svn-id: trunk@30055 -
2015-03-01 23:44:11 +00:00
nickysn
00e3c906ef
* fixed AnsiStrPas
...
git-svn-id: trunk@30054 -
2015-03-01 23:42:19 +00:00
nickysn
7859afccc4
* TGDBController.InternalGetValue made private to protect from accidental use
...
in fpdebug.pas, because it's for internal use in the libgdb.a interface only
and is not available in the gdb/mi interface
git-svn-id: trunk@30053 -
2015-03-01 23:09:21 +00:00
nickysn
67a66f104d
* converted the result of TGDBController.PrintCommand from pchar to ansistring:
...
* 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 -
2015-03-01 22:57:48 +00:00