public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Troubles with gdbtk
@ 2000-05-25 13:14 Earnie Boyd
  0 siblings, 0 replies; 4+ messages in thread
From: Earnie Boyd @ 2000-05-25 13:14 UTC (permalink / raw)
  To: cygwin users

I'm having troubles with gdbtk in that I can't get it to open (stat) a source
file.  It doesn't matter how I specify the path.  It is also getting some
strange signals and aborting.

I might add this is with the most recent snapshot, non-windowed displays the
source, I've even rebuilt it.  Nada, can no do.

With the 1.1.0 version of Cygwin it worked fine.  I'll try on my home PC
tonight just in case it's a setup problem.

Anybody else having problems?

TIA,

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles with gdbtk
  2000-05-26 10:04 Earnie Boyd
@ 2000-05-26 14:32 ` Chris Faylor
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Faylor @ 2000-05-26 14:32 UTC (permalink / raw)
  To: cygwin users

On Fri, May 26, 2000 at 10:03:54AM -0700, Earnie Boyd wrote:
>Thanks for replying Scott.  You've described the same problems I'm having.  If
>you use the non-GUI (i.e. the -nw switch), the source code is displayed
>properly.  This is a feature of the pathing changes I described concerning \ vs
>/.  It has caused a bug in gdbtk when it passes the source file name to the tk
>routines to display it.  I haven't found where this happens in gdbtk source
>yet, it's difficult to debug a debugger that's broken.

The console version of gdb works fine.  Just type: "gdb -nw whatever".

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles with gdbtk
@ 2000-05-26 10:04 Earnie Boyd
  2000-05-26 14:32 ` Chris Faylor
  0 siblings, 1 reply; 4+ messages in thread
From: Earnie Boyd @ 2000-05-26 10:04 UTC (permalink / raw)
  To: Scott A. Hill, cygwin users

--- "Scott A. Hill" <s.a.hill@larc.nasa.gov> wrote:
> Earnie,
> 
> I've been having a similar problem ever since I transitioned from V1.1.0 to
> V1.1.1.  When I execute the command
> 
>     > gdb msr
> 
> on an executable that has been compiled and linked with the -g option, the
> gdb gui interface pops up and an error window opens to inform me
> 
>         couldn't stat "/e/Programs/MSR/msr.f": no such file or directory
>            while excuting
>         "File mtime $f"
>         etc
> 
> Once the error message is closed, the executable can be run and stops at the
> first pre-defined breakpoint, the assembly code can be displayed and stepped
> through.  Just can't view the original source.  The source resides in the
> same directory as the executable.  Also, since DOS files on binary mounts
> have been causing problems recently, I also tried removing the CR-LF from
> the source but the problem persists.  Hopefully, that provides some useful
> information.
> 
> 

Thanks for replying Scott.  You've described the same problems I'm having.  If
you use the non-GUI (i.e. the -nw switch), the source code is displayed
properly.  This is a feature of the pathing changes I described concerning \ vs
/.  It has caused a bug in gdbtk when it passes the source file name to the tk
routines to display it.  I haven't found where this happens in gdbtk source
yet, it's difficult to debug a debugger that's broken.

Regards,

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles with gdbtk
@ 2000-05-26  8:10 Scott A. Hill
  0 siblings, 0 replies; 4+ messages in thread
From: Scott A. Hill @ 2000-05-26  8:10 UTC (permalink / raw)
  To: cygwin users

Earnie,

I've been having a similar problem ever since I transitioned from V1.1.0 to
V1.1.1.  When I execute the command

    > gdb msr

on an executable that has been compiled and linked with the -g option, the
gdb gui interface pops up and an error window opens to inform me

        couldn't stat "/e/Programs/MSR/msr.f": no such file or directory
           while excuting
        "File mtime $f"
        etc

Once the error message is closed, the executable can be run and stops at the
first pre-defined breakpoint, the assembly code can be displayed and stepped
through.  Just can't view the original source.  The source resides in the
same directory as the executable.  Also, since DOS files on binary mounts
have been causing problems recently, I also tried removing the CR-LF from
the source but the problem persists.  Hopefully, that provides some useful
information.


Scott Hill


-----Original Message-----
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: cygwin users <cygwin@sourceware.cygnus.com>
Date: Thursday, May 25, 2000 4:16 PM
Subject: Troubles with gdbtk


>I'm having troubles with gdbtk in that I can't get it to open (stat) a
source
>file.  It doesn't matter how I specify the path.  It is also getting some
>strange signals and aborting.
>
>I might add this is with the most recent snapshot, non-windowed displays
the
>source, I've even rebuilt it.  Nada, can no do.
>
>With the 1.1.0 version of Cygwin it worked fine.  I'll try on my home PC
>tonight just in case it's a setup problem.
>
>Anybody else having problems?
>
>TIA,
>
>=====
>---
>   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
>            __Cygwin: POSIX on Windows__
>Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
>           __Minimalist GNU for Windows__
>  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
>    Mingw Home: < http://www.mingw.org/ >
>
>__________________________________________________
>Do You Yahoo!?
>Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-26 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-25 13:14 Troubles with gdbtk Earnie Boyd
2000-05-26  8:10 Scott A. Hill
2000-05-26 10:04 Earnie Boyd
2000-05-26 14:32 ` Chris Faylor

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