Suraj Kurapati wrote:
> $ export CFLAGS_EXTRA='-g -DDEBUG'
> $ gem install ruby-vpi # will reinstall it
> $ rake vcs ... # run your test
> (core dump)
> $ gdb core `which vcs`
> (gdb) bt full  # print stack trace

Whoops, I had the gdb arguments in the wrong order.  The correct invocation is:

  $ gdb `which vcs` core

Also, be sure to set `ulimit -c unlimited` before running VCS if it
doesn't actually produce a core dump file.

Cheers.

Reply via email to