delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/27/16:05:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002101c24e06$89aafd10$0400a8c0@toastman>
From: "Jeff D. Hamann" <jeff_hamann AT hamanndonald DOT com>
To: <cygwin AT cygwin DOT com>
Subject: gud/gdb in emacs - source file goes invisible....
Date: Tue, 27 Aug 2002 13:15:50 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

This is my first post to the list so please have mercy if it's the wrong
spot......

I've been trying to adopt ntemacs as an ide for a couple of weeks and have
almost given up as the source code window under win2k will dissapear when
trying to step through the source code. I've been unable to figure out if
this is a gdb problem, an emacs problem, or just some strange fluke. This
problem doesn't occur on my FreeBSD box (I still haven't been able to get
the gud tooltips to work on the BSD either :-( )

After I set a breakpoint, type run, the window that contains the source code
with the breakpoint goes blank.... I'm using ntemacs 21.1.1 (GNU Emacs
21.1.1) and the cygwin GNU gdb 5.0 (20010428-3). The source code is simple c
code and I have other machines that this works fine on like the BSD machine.
I haven't been able to
get this to work on a ntemacs/cygwin machine yet however.


Current directory is c:/openfvs/organon/
GNU gdb 5.0 (20010428-3)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
Breakpoint 1 at 0x406eae: file ../src/organon/mortality.c, line 457.
(gdb) run
Starting program: /cygdrive/c/openfvs/organon/organon.exe

Breakpoint 1, CALC_MORTALITY (n_coeffs=5, coeffs=0xa012280,
    STAND_INFO=0x22fa20, N_TREES=20, TREES=0xa014190,
    STAND_BA=68.48513800724038, N_FERTS=0, YRS_FERT=0xa014190,
LBS_FERT=0x13)
    at ../src/organon/mortality.c:457
(gdb)

and the window that now contains the breakpoint is blank. I can type step 1
or next 1 and then type list and the list shows up in the gud/gdb window,
but I need to be able to step through the source code. Is this a bug or do I
have some goofy config somewhere? I have no idea about how to diagnose
this problem. Could someone give some hints?




--
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