home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Apps / ProjectBuilder.app / Resources / gdbAddrs.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1996-05-09  |  236 b   |  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.