From f1a00d9107ada70c338d391259fdf63549284311 Mon Sep 17 00:00:00 2001 From: charlet Date: Fri, 19 Nov 2004 10:57:36 +0000 Subject: * exp_dbug.ads: Update documentation to reflect simpler encoding for protected operations. * exp_ch9.adb (Build_Selected_Name): Do not include "PT" suffix in generated name, it complicates decoding in gdb and hinders debugging of protected operations. (Build_Barrier_Function_Specification): Set the Needs_Debug_Info flag for the protected entry barrier function. (Build_Protected_Entry_Specification): Set the Needs_Debug_Info flag for the protected entry function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90907 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/exp_dbug.ads | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gcc/ada/exp_dbug.ads') diff --git a/gcc/ada/exp_dbug.ads b/gcc/ada/exp_dbug.ads index 70bcf95af3e..83604f7901f 100644 --- a/gcc/ada/exp_dbug.ads +++ b/gcc/ada/exp_dbug.ads @@ -354,8 +354,8 @@ package Exp_Dbug is -- calls from other operations on the same object. The locking operation -- simply acquires the lock, and then calls the non-locking version. -- The names of all of these have a prefix constructed from the name of - -- the type, the string "PT", and a suffix which is P or N, depending on - -- whether this is the protected/non-locking version of the operation. + -- the type, and a suffix which is P or N, depending on whether this is + -- the protected/non-locking version of the operation. -- Operations generated for protected entries follow the same encoding. -- Each entry results in two suprograms: a procedure that holds the @@ -376,14 +376,14 @@ package Exp_Dbug is -- the following operations are created: - -- lockPT_getN - -- lockPT_getP, + -- lock_getN + -- lock_getP, - -- lockPT_setN - -- lockPT_setP + -- lock_setN + -- lock_setP - -- lockPT_update1sE - -- lockPT_udpate2sB + -- lock_update1sE + -- lock_udpate2sB ---------------------------------------------------- -- Conversion between Entities and External Names -- -- cgit v1.2.1