
UDI Services
Universal Debugger Interface Specification
3-7
UDIBreakType_14
specifies the type of breakpoint to be applied in a
UDISetBreakpoint_14
call. If the value of a
UDIBreakType_14
parameter is
negative (i.e., the MSB is set), the definition of all other bits is vendor–
specified. The various BreakFlags shown below can be OR'ed together to
make compound breaktypes.
typedef
UDIInt32
UDIBreakType_14;
#define
#define
#define
#define
#define
#define
#define
#define
#define
UDIBreakFlagExecute
UDIBreakFlagRead
UDIBreakFlagWrite
UDIBreakFlagFetch
UDIBreakFlagWidthByte
UDIBreakFlagWidthHalfWord
UDIBreakFlagWidthWord
UDIBreakFlagGenSyncPulse
UDIBreakFlagDoNotStopProcessor
0x0001
0x0002
0x0004
0x0008
0x0010
0x0020
0x0040
0x0080
0x0100
The semantics of these BreakType flags as well as the semantics of the other
fields of BreakInfo are described under the
UDISetBreakpoint_14
call.
Note: the older call
UDISetBreakpoint_13
used a subset of these breaktype
bits passed in a
UDIBreakType_13
type defined as follows:
typedef
UDIInt
UDIBreakType_13;
#define
#define
#define
#define
UDIBreakFlagExecute
UDIBreakFlagRead
UDIBreakFlagWrite
UDIBreakFlagFetch
0x0001
0x0002
0x0004
0x0008
The following are the legal return values for the
KindOfAnswer
parameter
returned by
UDIDFEEvalExpression
:
#define
#define
#define
UDIAnswerKindNone
UDIAnswerKindValue
UDIAnswerKindResource
0
1
2
The
IOType
parameter is used with
UDIDFEPutOutput
and
UDIDFEGetInput
to specify whether the source of the I/O request (TIP or
target) and, for output, whether the destination is standard output or standard
error:
typedef
#define
#define
#define
#define
#define
#define
UDIUInt UDIIOType
UDIIOTypeTIPStdout
UDIIOTypeTIPStderr
UDIIOTypeTIPStdin
UDIIOTypeTargetStdout
UDIIOTypeTargetStderr
UDIIOTypeTargetStdin
0
1
2
3
4
5