ChorusOS 4.0 Introduction

Setting up a Debugging Session

To begin your first system debugging session, follow these steps:

  1. Connect a serial cable between the host and target.

  2. Prepare the system for symbolic debugging. See "Preparing the System for Symbolic Debugging" for information on how to do this.

  3. Start and configure the ChorusOS DebugServer chserver. See "Setting up a Debugging Session" and chserver(1CC).

  4. Register the target with chadmin, the ChorusOS DebugServer administration tool. See "Registering a Target".

  5. Configure and start rdbs, the ChorusOS debug server for the XRAY Debugger. See "DebugServer Configuration File" and rdbs(1CC).

  6. Start the ChorusOS debug console chconsole. See the chconsole(1CC) man page for further details.

  7. Configure and start the XRAY Debugger for ChorusOS. See "Sample XRAY Start-up Script".


Note -

If you do not start chserver you will not be able to use chconsole. However, you can still view the system console using the tip or cu commands. See tip(1) and cu(1C) for more details.


For subsequent debugging sessions, you need only perform the following steps:

  1. Start the ChorusOS DebugServer chserver, if it is not already running.

  2. Start rdbs, the ChorusOS debug server for the XRAY debugger, if it is not already running.

  3. Start the ChorusOS debug console chconsole.

  4. Start the XRAY Debugger for ChorusOS.