summaryrefslogtreecommitdiff
path: root/gcc/ada/s-traent-vms.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-15 13:57:26 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-15 13:57:26 +0000
commite74c4a507af77e8358d7bab79a167716cee4e837 (patch)
tree4bee605a57c669a56aafb92101d10a93d71bb26b /gcc/ada/s-traent-vms.ads
parent57df6d00c860b5214bda34307c9584e37dae076c (diff)
downloadgcc-e74c4a507af77e8358d7bab79a167716cee4e837.tar.gz
2007-10-15 Olivier Hainque <hainque@adacore.com>
* tb-alvms.c (tb_entry_t, __gnat_backtrace): Store a frame pointer instead of a procedure value in each traceback entry. * g-trasym-vms-alpha.adb (Symbolic_Traceback): Pass frame pointer instead of procedure value to TBK$SYMBOLIZE. * s-traent-vms.adb (PV_For): Rename as FP_For and access the proper field. (TB_Entry_For): Account for the PV/FP renaming. * s-traent-vms.ads (Traceback_Entry): Rename PV component into FP and add comment. (Null_TB_Entry): Account for change of component name. (PV_For): Rename as FP_For. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-traent-vms.ads')
-rw-r--r--gcc/ada/s-traent-vms.ads11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ada/s-traent-vms.ads b/gcc/ada/s-traent-vms.ads
index ab90478b0b4..33dc98894b1 100644
--- a/gcc/ada/s-traent-vms.ads
+++ b/gcc/ada/s-traent-vms.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2003-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 2003-2007, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -40,19 +40,22 @@
package System.Traceback_Entries is
pragma Preelaborate;
+ -- Symbolization is done by a VMS service which requires an instruction
+ -- and a frame pointer for each traceback entry.
+
type Traceback_Entry is record
PC : System.Address;
- PV : System.Address;
+ FP : System.Address;
end record;
pragma Suppress_Initialization (Traceback_Entry);
Null_TB_Entry : constant Traceback_Entry :=
(PC => System.Null_Address,
- PV => System.Null_Address);
+ FP => System.Null_Address);
function PC_For (TB_Entry : Traceback_Entry) return System.Address;
- function PV_For (TB_Entry : Traceback_Entry) return System.Address;
+ function FP_For (TB_Entry : Traceback_Entry) return System.Address;
function TB_Entry_For (PC : System.Address) return Traceback_Entry;