* vxaddr2line.adb: Add support for x86 vxworks

From-SVN: r91895
This commit is contained in:
Arnaud Charlet 2004-12-08 12:49:07 +01:00
parent bc41faa231
commit 4e8c0836b4
1 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 2002-2003 Ada Core Technologies, Inc. -- -- Copyright (C) 2002-2004 Ada Core Technologies, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
@ -81,7 +81,8 @@ procedure VxAddr2Line is
-- All supported architectures -- All supported architectures
type Architecture is type Architecture is
(WINDOWS_POWERPC, (SOLARIS_I586,
WINDOWS_POWERPC,
WINDOWS_M68K, WINDOWS_M68K,
SOLARIS_POWERPC, SOLARIS_POWERPC,
DEC_ALPHA); DEC_ALPHA);
@ -125,6 +126,11 @@ procedure VxAddr2Line is
Nm_Binary => null, Nm_Binary => null,
Addr_Digits_To_Skip => 0, Addr_Digits_To_Skip => 0,
Bt_Offset_From_Call => 0), Bt_Offset_From_Call => 0),
SOLARIS_I586 =>
(Addr2line_Binary => null,
Nm_Binary => null,
Addr_Digits_To_Skip => 0,
Bt_Offset_From_Call => -2),
DEC_ALPHA => DEC_ALPHA =>
(Addr2line_Binary => null, (Addr2line_Binary => null,
Nm_Binary => null, Nm_Binary => null,
@ -212,7 +218,6 @@ procedure VxAddr2Line is
return; return;
end Detect_Arch; end Detect_Arch;
----------- -----------
-- Error -- -- Error --
----------- -----------
@ -224,7 +229,6 @@ procedure VxAddr2Line is
raise Program_Error; raise Program_Error;
end Error; end Error;
-------------------------- --------------------------
-- Get_Reference_Offset -- -- Get_Reference_Offset --
-------------------------- --------------------------