The following procedures describe how to connect to the target for a standard application debug and for a process dump.
Specify the communication port.
If RDBC has been started on a default port:
(chgdb) rdbport RDBC RDB port is now 2072 (chgdb) |
If RDBC has been started on a non-default port, specify the communication port as follows:
(chgdb) rdbport port_number RDB port is now port_number (chgdb) |
Connect to the target.
(chgdb) target chorusrdb remote_host Attaching remote machine across net... Setting path translation 'root_dir' '/' Connected to remote_host. Now the "run" command will start a remote process. (chgdb) |
You can also pass the port number directly in the target command:
(chgdb) target chorusrdb remote_host:RDBC Attaching remote machine across net... Setting path translation 'root_dir' '/' Connected to remote_host:RDBC. Now the "run" command will start a remote process. (chgdb) |
Specify the communication port.
If RDBD has been started on a default port:
(chgdb) rdbport RDBD RDB port is now 0 (chgdb) |
If RDBD has been started on a non-default port, specify the communication port as follows:
(chgdb) rdbport port_number RDB port is now port_number (chgdb) |
Connect to the target.
(chgdb) target chorusrdb remote_host Attaching remote machine across net... Connected to remote_host. Now the "run" command will start a remote process. (chgdb) |
You can also pass the port number directly in the target command:
(chgdb) target chorusrdb remote_host:RDBD Attaching remote machine across net... Setting path translation 'root_dir' '/' Connected to remote_host:RDBD. Now the "run" command will start a remote process. (chgdb) |