This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb can't gain full control of app



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]