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
9
* QNX Software Systems - Initial API and implementation
10
*******************************************************************************/
12
package org.eclipse.cdt.utils.debug;
18
public final class DebugParameterKind {
21
public final static DebugParameterKind UNKNOWN = new DebugParameterKind(0);
22
/* parameter on the stack*/
23
public final static DebugParameterKind STACK = new DebugParameterKind(1);
24
/* parameter in register. */
25
public final static DebugParameterKind REGISTER = new DebugParameterKind(2);
26
/* parameter by reference. */
27
public final static DebugParameterKind REFERENCE = new DebugParameterKind(3);
28
/* register reference parameter. */
29
public final static DebugParameterKind REGISTER_REFERENCE = new DebugParameterKind(4);
35
private DebugParameterKind(int id) {
40
public boolean equals(Object obj) {
41
if (obj instanceof DebugParameterKind) {
42
DebugParameterKind kind = (DebugParameterKind)obj;
45
return super.equals(obj);