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]

Re: upgraded gdb won't trace code


My bad,  I couldn't use the run icon.  I first had to open a console window and use the run command and then the icons
worked.

Sorry for the earlier post.

sps

Stephen Smith wrote:

> I wanted to upgrade to the newest gdb (remember that the one currently built for cygwin is the 5.0 release and doesn't
> follow the mount table correctly).  Anyway,
> it is the same version that I built as a cross debugger (snapshot 20010306).
>
> I compile the gdb (i686-pc-cygwin) and compile a target executable t.exe to test the new debugger.   I then run "gdb
> t.exe" and the code comes up in the window
> But I can't run or step through the program from within gdb.  Any clue as to why not?
>
> sps
>
> ------------------------------- code for executible ------------------------------------
> #include <stdio.h>
>
> int a = 5;
>
> main ()
> {
>    while( --a > 0)
>         printf( "%d\n", a );
> }
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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