upgraded gdb won't trace code
Stephen Smith
ischis2@home.com
Mon Mar 19 08:33:00 GMT 2001
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
More information about the Cygwin
mailing list