Skip to main content

1. Introduction

The Loader-Debugger Protocol (LDP) is an application layer protocol for loading, dumping and debugging target machines from hosts in a network environment. This protocol is designed to accommodate a variety of target cpu types. It provides a powerful set of debugging services. At the same time, it is structured so that a simple subset may be implemented in applications like boot loading where efficiency and space are at a premium.

The authors would like to thank Dan Franklin and Peter Cudhea for providing many of the ideas on which this protocol is based.

1.1 Purpose of This Document​

This is a technical specification for the LDP protocol. It is intended to be comprehensive enough to be used by implementors of the protocol. It contains detailed descriptions of the formats and usage of over forty commands. Readers interested in an overview of LDP should read the Summary of Features, below, and skim Sections 2 through 3.1. Also see Appendix B, the Command Summary. The remainder of the document reads best when accompanied by strong coffee or tea.

1.2 Summary of Features​

LDP has the following features:

  • commands to perform loading, dumping and debugging
  • support for multiple connections to a single target
  • reliable performance in an internet environment
  • a small protocol subset for target loaders
  • addressing modes and commands to support multiple machine types
  • breakpoints and watchpoints which run in the target machine.