summaryrefslogtreecommitdiff
path: root/gcc/ada/vxaddr2line.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-08 11:49:07 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-08 11:49:07 +0000
commit3801805db246eb5c472c4a2a86c47e700490b537 (patch)
tree758b8b11604ba12d6668dcb26434a8b64c13bea6 /gcc/ada/vxaddr2line.adb
parent3b328983cfea931fda6aee39e7976bd4c4fb1f29 (diff)
downloadgcc-3801805db246eb5c472c4a2a86c47e700490b537.tar.gz
* vxaddr2line.adb: Add support for x86 vxworks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/vxaddr2line.adb')
-rw-r--r--gcc/ada/vxaddr2line.adb12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ada/vxaddr2line.adb b/gcc/ada/vxaddr2line.adb
index 5fc7759276f..6d79cfc5c48 100644
--- a/gcc/ada/vxaddr2line.adb
+++ b/gcc/ada/vxaddr2line.adb
@@ -6,7 +6,7 @@
-- --
-- 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 --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -81,7 +81,8 @@ procedure VxAddr2Line is
-- All supported architectures
type Architecture is
- (WINDOWS_POWERPC,
+ (SOLARIS_I586,
+ WINDOWS_POWERPC,
WINDOWS_M68K,
SOLARIS_POWERPC,
DEC_ALPHA);
@@ -125,6 +126,11 @@ procedure VxAddr2Line is
Nm_Binary => null,
Addr_Digits_To_Skip => 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 =>
(Addr2line_Binary => null,
Nm_Binary => null,
@@ -212,7 +218,6 @@ procedure VxAddr2Line is
return;
end Detect_Arch;
-
-----------
-- Error --
-----------
@@ -224,7 +229,6 @@ procedure VxAddr2Line is
raise Program_Error;
end Error;
-
--------------------------
-- Get_Reference_Offset --
--------------------------