<< February 28, 2008 | Home | March 1, 2008 >>

The Wonderful World Of Amazon Spam (Part 3)

Fresh from my Inbox. Enjoy.

How did they made the jump from J2EE design patterns to Windows device drivers, I don't know. However their guess is not completely without merit. Take a look at the Windows device driver I wrote: WQGHLT. It's GPL-ed.

Tags :

Fwd: Debugging native code with Hotspot and GDB

This is related to my past posts on Debugging Into JNI Code from 42 days ago. I haven't tried it yet. I'm blogging about it so that I don't lose the link or the tip.

Roman Kennke: The last couple of hours I struggled to debug a segfault some JNI code of OpenJDK. I could not get GDB doing anything useful with Hotspot. Until I discovered the following very useful command line option:

java -XX:OnError="gdb - %p" MyApplication

This fires up gdb whenever an error occurs, and sets up all the libraries etc for debugging. Very nice. Ideally you do this using a debug build of OpenJDK, so get get as much useful information as possible.