mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
* Add relocate_gdb_directory to avoid loading of main.o from libgdb.a
git-svn-id: trunk@20649 -
This commit is contained in:
parent
1c27730c8c
commit
5262fbc77c
@ -2629,6 +2629,13 @@ end;
|
||||
{$endif not GDB_NOTIFY_BREAKPOINT_ARG_IS_BREAKPOINT_PTR}
|
||||
{$endif def GDB_HAS_OBSERVER_NOTIFY_BREAKPOINT_CREATED}
|
||||
|
||||
{ Avoid loading of main.o object by providing a
|
||||
stripped down version of relocate_gdb_directory function }
|
||||
function relocate_gdb_directory(path : pchar) : pchar; cdecl; public;
|
||||
begin
|
||||
relocate_gdb_directory:=path;
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
tgdbinterface
|
||||
*****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user