mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 08:29:31 +01:00
stab_regindex added for GDB support
This commit is contained in:
parent
3d7430e270
commit
af7d17d28c
@ -480,6 +480,21 @@ CONST
|
||||
{
|
||||
registers_saved_on_cdecl = [R_ESI,R_EDI,R_EBX];}
|
||||
|
||||
{*****************************************************************************
|
||||
GDB Information
|
||||
*****************************************************************************}
|
||||
|
||||
{# Register indexes for stabs information, when some
|
||||
parameters or variables are stored in registers.
|
||||
|
||||
Taken from rs6000.h (DBX_REGISTER_NUMBER)
|
||||
from GCC 3.x source code. PowerPC has 1:1 mapping
|
||||
according to the order of the registers defined
|
||||
in GCC
|
||||
|
||||
}
|
||||
|
||||
stab_regindex:ARRAY[tregister]OF ShortInt=({$INCLUDE stabregi.inc});
|
||||
{ generic register names }
|
||||
stack_pointer_reg=R_O6;
|
||||
frame_pointer_reg=R_I6;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user