make ocamlopt pretty-print uncaught exception just as ocamlc and Printexc


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13815 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
tweak tests/backtrace to also test ocamlopt

Note that native and byte-test share the same reference file, so in
particular they check that ocamlc and ocamlopt report uncaught
exception in the exact same way. Passing this test required a change
in asmrun/backtrace.c/print_location.


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13816 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
testsuite/tests/backtrace: no need to re-run backtrace2 which catches all exceptions


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13817 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
testsuite/tests/backtrace: new test to exercize Printexc.get_raw_backtrace


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13818 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
implement a caml_get_current_callstack primitive to save the call stack at any point

This commit only implements runtime support in asmrun/ and byterun/.
The more subjective Printexc interface will come separately.


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13819 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
bootstrap after the new primitives


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13820 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02