mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-21 00:04:06 +02:00
* 6.4 fixes
git-svn-id: trunk@3704 -
This commit is contained in:
parent
3ba353aa70
commit
7694d8374d
@ -30,6 +30,11 @@ interface
|
||||
{$define GDB_V6}
|
||||
{$endif def GDB_V603}
|
||||
|
||||
{$ifdef GDB_V604}
|
||||
{$define GDB_V6}
|
||||
{$endif def GDB_V604}
|
||||
|
||||
|
||||
{$ifdef GDB_V6}
|
||||
{$define GDB_HAS_SYSROOT}
|
||||
{$define GDB_SYMTAB_HAS_MACROS}
|
||||
@ -2359,8 +2364,10 @@ end;
|
||||
var
|
||||
version : array[0..0] of char;cvar;external;
|
||||
|
||||
{$ifndef GDB_V604}
|
||||
// doesn't seem to exist anymore. Seems to work fine without
|
||||
procedure error_init;cdecl;external;
|
||||
|
||||
{$endif}
|
||||
|
||||
function GDBVersion : string;
|
||||
begin
|
||||
@ -2414,7 +2421,9 @@ begin
|
||||
gdb_stdtarg:=gdb_stderr;
|
||||
set_ui_file_write(gdb_stdout,@gdbint_ui_file_write);
|
||||
set_ui_file_write(gdb_stderr,@gdbint_ui_file_write);
|
||||
{$ifndef GDB_V604}
|
||||
error_init;
|
||||
{$endif}
|
||||
{$ifdef GDB_V6}
|
||||
// gdb_stdtargin := gdb_stdin;
|
||||
gdb_stdtargerr := gdb_stderr;
|
||||
|
Loading…
Reference in New Issue
Block a user