i#961: Don't dump core for curiosities in the test suite

Dumping core for tests that hit repeated curiosities can quickly fill
the disk.  We don't usually need core dumps to debug curiosity failures,
so we can disable core dumps for them in the suite.

Fixes issue 961.

Review URL: https://codereview.appspot.com/6819108

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1695 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 974

MAX_LOG_LENGTH_MINUS_ONE must be a raw numeric constant

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1696 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#968 part 1: report_dynamorio_problem() improvements

Use report_dynamorio_problem() for DR crashes on Linux.
+ Previously just had a SYSLOG.
+ Uses a similar message to that used on Windows, including the GPR state.

Use report_dynamorio_problem() for client exceptions.
+ Split out a new flag: DUMPCORE_CLIENT_EXCEPTION.

Improve report_dynamorio_problem() for CLIENT_INTERFACE needs:
+ Switched Delta to Base.
+ Eliminated confusing base adjustment.
+ Increased space for option string (too short for Dr. Memory).
+ Added list of private libs.  There's not enough room to guarantee
  full paths will fit (constrained by MAX_LOG_LENGTH) but we decided
  it's better to have full paths for some than just name for all.
  i#972 will add full paths to the forensics file.
+ Exception{Code,Flags} are DWORDs, not pointer-sized.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1697 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#397: ldmp support on Vista+

+ There are a bunch of warnings about unknown and un-copyable memory
  regions, but basic debugging (of hello.exe at least) works on win7
  after I disabled the fatal errors.
+ Refactored output to all go through stderr to avoid flushing and
  reordering problems.
+ Added -verbose flag for further info w/o a recompile.
+ Made setting the win32 start addr a non-fatal error (receiving
  STATUS_INVALID_PARAMETER and haven't figured out why).
+ Not seeing the STATUS_INVALID_IMAGE_FORMAT we saw on NtCreateThread
  in the past, so sticking with that for now.
+ The dummy process shows up as dummy.exe as expected.
  windbg 6.3 sees it as hello.exe but later windbg sees dummy.exe.
+ Tested -unsafe_crash_process of hello.exe: load_syms and .cxr
  to the crash point all worked.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1698 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 968

i#968 part 2: print diagnostic information on application faults
+ Added a new option appfault_mask with two flags:
  APPFAULT_FAULT and APPFAULT_CRASH.  The second is NYI on Windows
  and is covered by i#966.
+ Added report_app_problem() to report diagnostic info, including a
  callstack, on app faults.
+ Expanded the callstack walker to support printing to a buffer, printing
  module name or path + offset, and have control over whether frame
  pointers are printed.
+ We decided it's better to print module paths even if we run out of space
  on later callstack frames.
+ Produce a forensics file on an app fault.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1699 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
Merge branch 'master' into sscanf-skip-space