public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Chris Faylor <cgf@cygnus.com>
To: MWCruess@cs.com
Cc: insight@sourceware.cygnus.com
Subject: Re: Insight on Windows NT w/cygwin
Date: Thu, 08 Jun 2000 20:36:00 -0000	[thread overview]
Message-ID: <20000608233638.A19277@cygnus.com> (raw)
In-Reply-To: <e2.57481dd.2671b735@cs.com>

On Thu, Jun 08, 2000 at 10:57:57PM -0400, MWCruess@cs.com wrote:
>I have am having trouble building a working version of Insight for a
>Windows NT host.  Insight builds, but when I run it nothing appears to
>happen.  I just get a shell prompt.  When I use the -nw option the
>command line interface seems to work fine.
>
>I downloaded and installed a completely new cygwin environment a few
>days ago.  The binary of gdb/insight that comes with cygwin works,
>although debugging the binary that I built gives odd results.  The
>program under debug will suddenly exit with no indication of what
>happened.  When single-stepping I have seen a function entered with the
>return statement highlighted, then one more step causes an earlier
>statement to be highlighted.  The behavior changes from run to run on
>the same binary.  This has me wondering if I have a compiler problem.

I've just uploaded a new gdb binary to cygwin/latest/gdb.  I don't know
if it will work any better for you but what you are describing sounds
like standard behavior when attempting to debug a program that was
compiled with -O and -g.  If you drop the optimization from your compiles
I'll bet things will work better.

The problem of gdb returning silently to the windows prompt is usually
due to an inability to find init.tcl in any of the standard places that
gdb normally searches.  I have recently checked in a patch which should
make gdb a little smarter, at least with regard to standard cygwin
locations for this file.  This is in CVS now, is also in the source tar
ball on sourceware, and should show up in the next gdb/insight snapshot.

>If any of this sounds familiar, I would appreciate some advice.  The
>Solaris version built first time and runs great, but I don't have much
>experience with the Windows system.

If you have further problems the people at the cygwin@sourceware.cygnus.com
mailing list will probably be able to offer more insight.  No pun
intended.

cgf

  reply	other threads:[~2000-06-08 20:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-08 19:58 MWCruess
2000-06-08 20:36 ` Chris Faylor [this message]
2000-06-09 11:55 MWCruess
2000-06-09 17:52 ` Chris Faylor
2000-06-12 11:04   ` John A. Turner
2000-06-12 12:31     ` Chris Faylor
2000-06-12 12:32       ` Syd Polk
2000-06-12 12:36         ` Chris Faylor
2000-06-09 20:18 MWCruess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000608233638.A19277@cygnus.com \
    --to=cgf@cygnus.com \
    --cc=MWCruess@cs.com \
    --cc=insight@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).