mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 05:08:06 +02:00
Add Dwarf debug info generation by default for mips cpu
git-svn-id: trunk@22509 -
This commit is contained in:
parent
fcaff0489c
commit
37a7c1fc25
@ -286,6 +286,7 @@ unit cpubase;
|
||||
function findreg_by_number(r:Tregister):tregisterindex;
|
||||
function std_regnum_search(const s:string):Tregister;
|
||||
function std_regname(r:Tregister):string;
|
||||
function dwarf_reg(r:tregister):shortint;
|
||||
|
||||
implementation
|
||||
|
||||
@ -385,6 +386,12 @@ unit cpubase;
|
||||
result:=generic_regname(r);
|
||||
end;
|
||||
|
||||
function dwarf_reg(r:tregister):shortint;
|
||||
begin
|
||||
result:=regdwarf_table[findreg_by_number(r)];
|
||||
if result=-1 then
|
||||
internalerror(200603251);
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
||||
|
@ -58,7 +58,7 @@ implementation
|
||||
**************************************}
|
||||
|
||||
{$define NoCFIDwarf}
|
||||
{$define NoDbgDwarf}
|
||||
{define NoDbgDwarf}
|
||||
{ Try only stabs for a start }
|
||||
{$ifndef NoCFIDwarf}
|
||||
,cfidwarf
|
||||
|
Loading…
Reference in New Issue
Block a user