gdb can't gain full control of app

bumps man bumps@linuxmail.org
Fri Sep 28 11:49:00 GMT 2001


I'm doing some cell phone programming.

Coding is done on a windows machine; the
API package ('BREW') includes a windows 
nt/2000 emulator (I am running 2000).  
I make a dll which gets loaded into the
emulator.  MSVC++ is the officially
supported environment, but I can compile
with gcc -mno-cygwin as well.

To debug, I do

(gdb) symbol-file ./mymodule.dll
(gdb) exec-file ./emulator.exe

It sort of works.  Control-c doesn't break
the program, but it will stop at the first
breakpoint.  However if you continue after
hitting the breakpoint, gdb loses its
attachment; it won't stop at any more breakpoints
thereafter and control-c still won't break.

(Debugging works fine with MSVC++.)

Since BREW is closed and proprietary, the best
I can do is to solicit suggestions; maybe
a similar problem occurs elsewhere.

Thanks in advance.





-- 

Get your free email from www.linuxmail.org 


Powered by Outblaze

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list