source: trunk/SH/arb_trace

Last change on this file was 11754, checked in by westram, 11 years ago
  • Property svn:executable set to *
File size: 306 bytes
Line 
1#!/bin/bash -x
2ARGS="$*"
3echo "Running arb_ntree in debugger (gdb)"
4CMDS=ARB_debug.$$.commands
5arb_echo "set args $ARGS" "source $ARBHOME/lib/BUGS/trace.gdb" > $CMDS
6echo "---------- $CMDS"
7cat $CMDS
8echo "---------- execute in gdb"
9gdb -n -batch -command=$CMDS arb_ntree
10echo "---------- done"
11rm $CMDS
12
13
Note: See TracBrowser for help on using the repository browser.