Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dbxhang(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dbx(1)



DBXHANG(1)                                                          DBXHANG(1)



NAME
     dbxhang - start a process without really starting it

SYNOPSIS
     dbxhang  object-file

DESCRIPTION
     dbxhang starts a program running by doing a fork(2) and  exec(2), leaving
     the program stopped before executing its first instruction.

     This is useful when a program to be debugged does unusual things with tty
     characteristics, or which is sensitive to the <Interrupt> character and
     you don't want any <Interrupt> in the dbx command window sent to the
     program to be debugged.

     Use dbxhang on the program to be debugged in one window and intercept the
     stopped program with dbx -p or dbx -P from a different window.  In the
     dbx session window, continue the program (after setting any breakpoints
     desired) with the cont command: the run command is not usable on a
     program intercepted with -p or -P.

     Example:

         dbxhang myprog myargument1 myargument2
         (and, from another window)
         dbx -P myprog
         stop in main
         cont


FILES
     /usr/sbin/dbxhang

SEE ALSO
     dbx(1)
     Compiling Debugging and Performance Tuning
     DBX Reference Manual (odbx)
     IRIS-4D Series Compiler Guide

















                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026