home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / gdbAddrs.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1996-09-09  |  236b  |  9 lines

  1. #!/bin/sh
  2. # finds the address of the static variable which
  3. # tells gdb it received a control-c.
  4. GDB=$NEXT_ROOT/NextDeveloper/Executables/gdb.exe
  5.  
  6. $GDB $GDB << FUNKYSTUFF | grep Symbol
  7.     info address ctrlc_received_by_debugger
  8. FUNKYSTUFF
  9.