public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Debugging an JNI-C-dll with gdb in XP
@ 2005-05-09  8:56 Rastislav Lukac
  2005-05-09 13:59 ` Just test [was RE: Debugging an JNI-C-dll with gdb in XP] Dave Korn
  0 siblings, 1 reply; 2+ messages in thread
From: Rastislav Lukac @ 2005-05-09  8:56 UTC (permalink / raw)
  To: gdb

Hi all,

I am trying to debug a simple "HelloWorld" Dll written in C with JNI
header declaration. This library is used by my java application.
Everything runs fine until the debugging.

I open two command windows separately. In the first one i start my
simple java application with simple jFrame via command java HelloWorld.
In the second command window I start the gdb with the parameter -nw for
debugging of my dll.
Then I attach the debuuger to the process of the HelloWorld application
an let the debuger continuing.
In the moment of calling the dll-function the debugger reports following

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4088.0xbc4]
0x77c4610f in strcat () from /cygdrive/c/WINDOWS/system32/msvcrt.dll

..and finito


Please help me to resolve this problem..it's important for me...
Thank you.

Rastislav



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Just test [was RE: Debugging an JNI-C-dll with gdb in XP]
  2005-05-09  8:56 Debugging an JNI-C-dll with gdb in XP Rastislav Lukac
@ 2005-05-09 13:59 ` Dave Korn
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Korn @ 2005-05-09 13:59 UTC (permalink / raw)
  To: gdb

----Original Message----
>From: Rastislav Lukac
>Sent: 09 May 2005 09:56

> 
> Please help me to resolve this problem..it's important for me...
> Thank you.
> 
> Rastislav


This is just a test answer.  If this was a real answer there would be an
answer to your problem here, but it's just a test, so there isn't.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-09 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09  8:56 Debugging an JNI-C-dll with gdb in XP Rastislav Lukac
2005-05-09 13:59 ` Just test [was RE: Debugging an JNI-C-dll with gdb in XP] Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).