source: rtems/c/src/ada/rtems-debug.adb @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1--
2--  RTEMS / Body
3--
4--  DESCRIPTION:
5--
6--  This package provides the interface to the RTEMS API.
7--
8--
9--  DEPENDENCIES:
10--
11--
12--
13--  COPYRIGHT (c) 1997-2011.
14--  On-Line Applications Research Corporation (OAR).
15--
16--  The license and distribution terms for this file may in
17--  the file LICENSE in this distribution or at
18--  http://www.rtems.com/license/LICENSE.
19--
20
21package body RTEMS.Debug is
22
23   --
24   -- Debug Manager
25   --
26
27   procedure Enable (To_Be_Enabled : in Set) is
28      procedure Enable_Base (To_Be_Enabled : Set);
29      pragma Import (C, Enable_Base, "rtems_debug_enable");
30   begin
31
32      Enable_Base (To_Be_Enabled);
33
34   end Enable;
35
36   procedure Disable (To_Be_Disabled : in Set) is
37      procedure Disable_Base (To_Be_Disabled : Set);
38      pragma Import (C, Disable_Base, "rtems_debug_disable");
39   begin
40
41      Disable_Base (To_Be_Disabled);
42
43   end Disable;
44
45   function Is_Enabled
46     (Level : in Set)
47      return  RTEMS.Boolean
48   is
49      function Is_Enabled_Base
50        (Level : Set)
51         return  RTEMS.Boolean;
52      pragma Import (C, Is_Enabled_Base, "rtems_debug_is_enabled");
53   begin
54
55      return Is_Enabled_Base (Level);
56
57   end Is_Enabled;
58
59end RTEMS.Debug;
Note: See TracBrowser for help on using the repository browser.