KDWP Specification

KVM Debug Wire Protocol
1.0

October 2002

 
Contents Previous Next

Contents


Preface

1. Introduction

1.1 Architectural Overview

1.2 KDWP Packets

1.3 Command and Reply Packet Fields

1.4 Protocol details

VirtualMachine command set (1) 8
ReferenceType command set (2) 8
ClassType command set (3) 8
ObjectReference command set (9) 8
StringReference command set (10) 8
ThreadReference command set (11) 9
ArrayReference command set (13) 9
EventRequest command set (15) 9
StackFrame command set (16) 9
Event Command Set (64) 9
KVM Vendor Specific Command set (128) 10

2. VirtualMachine Command Set

AllClasses Command (3) 11
AllThreads Command (4) 11
Suspend Command (8) 12
Resume Command (9) 12
Exit Command (10) 13

3. ReferenceType Command Set

GetValues Command (6) 15

4. ClassType Command Set

Superclass Command (1) 17
SetValues Command (2) 17

5. ObjectReference Command Set

ReferenceType Command (1) 19
GetValues Command (2) 19
SetValues Command (3) 20

6. StringReference Command Set

Value Command (1) 23

7. ThreadReference Command Set

Name Command (1) 25
Suspend Command (2) 25
Resume Command (3) 26
Status Command (4) 26
Frames Command (6) 27
FrameCount Command (7) 28
Stop Command (10) 28
SuspendCount Command (12) 29

8. ArrayReference Command Set

Length Command (1) 31
GetValues Command (2) 31
SetValues Command (3) 32

9. EventRequest Command Set

Set Command (1) 33
Clear Command (2) 35
ClearAllBreakpoints Command (3) 35

10. StackFrame Command Set

GetValues Command (1) 37
SetValues Command (2) 38

11. Event Command Set

Composite Command (100) 39

12. Vendor Specific Command Set

Handshake Command (1) 43

A. Constants

ClassStatus Constants 45
ThreadStatus Constants 45
TypeTag Constants 46
Tag Constants 46
Error Constants 47
EventKind Constants 49
SuspendStatus Constants 49
SuspendPolicy Constants 50

 


Contents Previous Next