harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weldon Washburn" <weldon...@gmail.com>
Subject [jchevm] configuring gdb to ignore SIGSEGV
Date Fri, 03 Mar 2006 21:35:41 GMT

I am able to run "hello world" at the prompt line on Cywin.  But when
I run it under gdb, it hits a SIGSEGV.  The error messages don't hint
that signals need to be configured.  The uninformed can spend lots of
time trying figure out these details.  It might be useful to put this
info in the HOWTO document you are writing.

The following configuration allows JCHEVM to run properly under gdb:

$ gdb  --args ./jc.exe  --classpath=. --bootclasspath=/usr/local/unzipped_glibj
:/usr/local/unzipped_jc:. hello

(gdb) handle SIGSEGV nostop
(gdb) handle SIGSEGV noprint
(gdb) run

Weldon Washburn
Intel Middleware Products Division

View raw message