~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/IDebugEntryRequestor.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*******************************************************************************
2
 
 * Copyright (c) 2000, 2006 QNX Software Systems and others.
3
 
 * All rights reserved. This program and the accompanying materials
4
 
 * are made available under the terms of the Eclipse Public License v1.0
5
 
 * which accompanies this distribution, and is available at
6
 
 * http://www.eclipse.org/legal/epl-v10.html
7
 
 *
8
 
 * Contributors:
9
 
 *     QNX Software Systems - Initial API and implementation
10
 
 *******************************************************************************/
11
 
package org.eclipse.cdt.utils.debug;
12
 
 
13
 
public interface IDebugEntryRequestor {
14
 
 
15
 
        /**
16
 
         * Entering a compilation unit.
17
 
         * @param name
18
 
         * @param address start of address of the cu.
19
 
         */
20
 
        void enterCompilationUnit(String name, long address);
21
 
 
22
 
        /**
23
 
         * Exit the current compilation unit.
24
 
         * @param address end of compilation unit.
25
 
         */
26
 
        void exitCompilationUnit(long address);
27
 
 
28
 
        /**
29
 
         * Entering new include file in a compilation unit.
30
 
         * @param name
31
 
         */
32
 
        void enterInclude(String name);
33
 
 
34
 
        /**
35
 
         * Exit the current include file.
36
 
         */
37
 
        void exitInclude();
38
 
 
39
 
        /**
40
 
         * Enter a function.
41
 
         * @param name of the function/method
42
 
         * @param type type of the return value.
43
 
         * @param isGlobal return the visiblity of the function.
44
 
         * @param address the start address of the function.
45
 
         */
46
 
        void enterFunction(String name, DebugType type, boolean isGlobal, long address);
47
 
 
48
 
        /**
49
 
         * Exit the current function.
50
 
         * @param address the address where the function ends.
51
 
         */
52
 
        void exitFunction(long address);
53
 
 
54
 
        /**
55
 
         * Enter a code block in a function.
56
 
         * @param offset address of the block starts relative to the current function.
57
 
         */
58
 
        void enterCodeBlock(long offset);
59
 
 
60
 
        /**
61
 
         * Exit of the current code block.
62
 
         * @param offset the address of which the blocks ends relative to the current function.
63
 
         */
64
 
        void exitCodeBlock(long offset);
65
 
 
66
 
        /**
67
 
         * Statement in the compilation unit with a given address.
68
 
         * @param line lineno of the statement relative to the current compilation unit.
69
 
         * @param offset addres of the statement relative to the current function.
70
 
         */
71
 
        void acceptStatement(int line, long address);
72
 
 
73
 
        /**
74
 
         * Integer constant.
75
 
         */
76
 
        void acceptIntegerConst(String name, int value);
77
 
 
78
 
        /**
79
 
         *  floating point constant.
80
 
         * @param name
81
 
         * @param value
82
 
         */
83
 
        void acceptFloatConst(String name, double value);
84
 
 
85
 
        /**
86
 
         * Type constant: "const b = 0", b is a type enum.
87
 
         * @param name
88
 
         * @param type
89
 
         * @param address
90
 
         */
91
 
        void acceptTypeConst(String name, DebugType type, int value);
92
 
 
93
 
        /**
94
 
         * Caught Exception.
95
 
         * @param name
96
 
         * @param value
97
 
         */
98
 
        void acceptCaughtException(String name, DebugType type, long address);
99
 
 
100
 
        /**
101
 
         * Accept a parameter for the current function.
102
 
         * @param name of the parameter
103
 
         * @param type of the parameter
104
 
         * @param kind of the parameter
105
 
         * @param offset address of the parameter relative to the current function.
106
 
         */
107
 
        void acceptParameter(String name, DebugType type, DebugParameterKind kind, long offset);
108
 
 
109
 
        /**
110
 
         * Record a variable.
111
 
         * @param name
112
 
         * @param type
113
 
         * @param kind
114
 
         * @param address
115
 
         */
116
 
        void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address);
117
 
 
118
 
        /**
119
 
         * Type definition.
120
 
         * IDebugEntryRequestor
121
 
         * @param name new name
122
 
         * @param type
123
 
         */
124
 
        void acceptTypeDef(String name, DebugType type);
125
 
        
126
 
}