mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
* fix argv0 passing in gdb_init call
git-svn-id: trunk@6289 -
This commit is contained in:
parent
1d049300fd
commit
2f873f287b
@ -2502,7 +2502,7 @@ begin
|
||||
{$ifdef GDB_INIT_HAS_ARGV0}
|
||||
getmem(argv0,length(paramstr(0))+1);
|
||||
strpcopy(argv0,paramstr(0));
|
||||
gdb_init(@argv0);
|
||||
gdb_init(argv0);
|
||||
freemem(argv0,length(paramstr(0))+1);
|
||||
{$else not GDB_INIT_HAS_ARGV0}
|
||||
gdb_init;
|
||||
|
Loading…
Reference in New Issue
Block a user