PowerAda Debug: Adbg Command Line Arguments

From OC Systems Wiki!
Jump to: navigation, search

This dialog allows you to alter the command line arguments for adbg before running it. The command line already includes all arguments necessary to start the debugger on the target program--you can just click Start to start the debugger session. The adbg command line syntax is as follows:

adbg              [-hRF] [-f File] [-L Library] [-a Pid] [-c File]			
                [-r uid@host] [-mono|-gray] [[-x] Executable]

where:

-L Library - use the given library list. Normally the library is extracted from the Executable file named by -x.
-F - disable executable consistency check. This is already present on the initial command line provided by powerada.
-h - display information about the adbg command. This information will go to the window containing the shell in which you started the current powerada session.
-Rv - disables redirection of standard input, output, so the target-program's standard I/O is the same as the current powerada process, i.e., the window containing the shell in which you started the current powerada session.
-f File - specifies a file of debugger commands
-a Pid - attach to Process ID Pid
-r Uid@Host - use user id UID on remote host HOST (only valid with -a for attaching to programs running on other machines).
-mono - use monochrome colors
-gray - use grayscale colors
-c File - read a core file produced by a previously crashed Ada program
-x Executable - the executable to be debugged