delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/28/14:50:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20010928184948.18945.qmail@linuxmail.org>
MIME-Version: 1.0
X-Mailer: MIME-tools 5.41 (Entity 5.404)
From: "bumps man" <bumps AT linuxmail DOT org>
To: cygwin AT cygwin DOT com
Date: Sat, 29 Sep 2001 02:49:48 +0800
Subject: 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019