OSDN Git Service

2010-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ada / treepr.ads
index b2a8c6f..3d05748 100644 (file)
@@ -6,23 +6,20 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                            $Revision: 1.14 $                             --
---                                                                          --
---     Copyright (C) 1992,1993,1994,1995 Free Software Foundation, Inc.     --
+--          Copyright (C) 1992-2007, Free Software Foundation, 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- --
--- ware  Foundation;  either version 2,  or (at your option) any later ver- --
+-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
 -- for  more details.  You should have  received  a copy of the GNU General --
--- Public License  distributed with GNAT;  see file COPYING.  If not, write --
--- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
--- MA 02111-1307, USA.                                                      --
+-- Public License  distributed with GNAT; see file COPYING3.  If not, go to --
+-- http://www.gnu.org/licenses for a complete copy of the license.          --
 --                                                                          --
 -- GNAT was originally developed  by the GNAT team at  New York University. --
--- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
+-- Extensive contributions were provided by Ada Core Technologies Inc.      --
 --                                                                          --
 ------------------------------------------------------------------------------
 
@@ -60,19 +57,24 @@ package Treepr is
    --  Prints the subtree consisting of the given element list and all its
    --  referenced descendants.
 
-   procedure PE (E : Elist_Id);
-   --  Debugging procedure (to be called within gdb)
-   --  same as Print_Tree_Elist
+   procedure pe (E : Elist_Id);
+   pragma Export (Ada, pe);
+   --  Debugging procedure (to be called within gdb), same as Print_Tree_Elist
 
-   procedure PL (L : List_Id);
-   --  Debugging procedure (to be called within gdb)
-   --  same as Print_Tree_List
+   procedure pl (L : Int);
+   pragma Export (Ada, pl);
+   --  Debugging procedure (to be called within gdb), same as Print_Tree_List,
+   --  except that you can use e.g. 66 instead of -99999966. In other words
+   --  for the positive case we fill out to 8 digits on the left and add a
+   --  minus sign. This just saves some typing in the debugger.
 
-   procedure PN (N : Node_Id);
+   procedure pn (N : Node_Id);
+   pragma Export (Ada, pn);
    --  Debugging procedure (to be called within gdb)
    --  same as Print_Tree_Node with Label = ""
 
-   procedure PT (N : Node_Id);
+   procedure pt (N : Node_Id);
+   pragma Export (Ada, pt);
    --  Debugging procedure (to be called within gdb)
    --  same as Print_Node_Subtree