Commit Graph

301 Commits

Author SHA1 Message Date
Jonas Maebe
9e9a982bfe * synchronised with trunk till r42095
git-svn-id: branches/debug_eh@42096 -
2019-05-18 18:43:51 +00:00
pierre
fb2a8e23d0 Fix compilation of GDB version 7.12.1
git-svn-id: trunk@42086 -
2019-05-16 12:44:08 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
pierre
810b37a877 Fix delete of gdbver.inc generated file after gdbint unit compilation when called from packages level
git-svn-id: trunk@40392 -
2018-11-29 14:23:44 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
4e7003fb94 Update all packages Makefile's
git-svn-id: trunk@39828 -
2018-09-27 07:05:49 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
pierre
a93fe1b363 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38751 -
2018-04-12 15:26:33 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
pierre
7a172d3d5a Regenerated all Makefile from packages directories
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
pierre
659e372ee6 Add gdb_get_stdout and gdb_get_stderr function to gdb_get_stdin.c source
git-svn-id: trunk@35559 -
2017-03-11 08:22:41 +00:00
pierre
ebe0491ba8 Add GDB 7.12 version and fix warning about no recognized version
git-svn-id: trunk@35528 -
2017-03-05 21:38:59 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
pierre
e488d7c81c Prepare for upcoming GDB 7.11 release
git-svn-id: trunk@33082 -
2016-02-10 13:05:01 +00:00
pierre
ab730efac7 Fixed use with 7.9 release or later, symtab strcut was completely changed
git-svn-id: trunk@32605 -
2015-12-07 00:28:57 +00:00
pierre
51d849ae3b Handle collect2 -plugin option and avoid error output on non-existing gdb.exe
git-svn-id: trunk@32221 -
2015-11-02 15:07:33 +00:00
joost
ad28a21b45 * Add gdbver_nogdb.inc to fpmake.inc
git-svn-id: trunk@32124 -
2015-10-22 17:19:14 +00:00
pierre
938c797a0d Fix error in last commit opthandled -> opt_handled; Add FORCEAWK option to overrule AWK found in Makefile
git-svn-id: trunk@31827 -
2015-09-25 13:44:23 +00:00
pierre
4cb5a35228 Add removedir= argument; use cd ; pwd -P to obtain absolute path; use defs.h header in gdb_get_stdin.c source
git-svn-id: trunk@31816 -
2015-09-24 15:34:21 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +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
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +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
aece198492 * moved the code from the libgdb.a interface for setting maximum width and then
restoring it from InternalGetValue to new methods (MaxWidth and NormWidth), so
  they can be reused by other methods as well.

git-svn-id: trunk@30298 -
2015-03-23 22:33:49 +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
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
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
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
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
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
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
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
pierre
caa77e1f8d Add TGDBController.SetCommand method and use it
git-svn-id: trunk@30046 -
2015-03-01 17:00:16 +00:00
pierre
36086cc183 ide/gdbmiint.pas: Add init_count field,
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 -
2015-03-01 13:21:26 +00:00
pierre
4fba54788b set last_breakpoint_address field type to CORE_ADDR
git-svn-id: trunk@30022 -
2015-02-27 09:44:37 +00:00
nickysn
c62f3ec271 * handle failure in GetFPCBreakErrorParameters and continue execution silently
in a gdb/mi safe way

git-svn-id: trunk@30020 -
2015-02-27 00:34:16 +00:00
nickysn
47509b0148 + added parameter BreakIndex (containing the breakpoint index if we stopped on a
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 -
2015-02-25 01:48:23 +00:00