2
echo ------------------------\n
11
echo setting breakpoint $arg0\n
16
# now program either terminated, crashed or hit a breakpoint
28
# if program terminated or crashed, 'continue' will cause a script error and
29
# the script will stop. Otherwise it loops forever.
38
# now program is in main() - set all breakpoints
40
set breakpoint pending on
44
brk malloc_error_break
48
#set print array-indexes
50
set print elements 2000