[gvd-users] GVD and Windows
Deloison, Dominique
gvd-users@lists.act-europe.fr
Mon, 22 Apr 2002 09:53:02 +0200
Hi,
I am trying to use GVD-1.2.5 under Windows 2000 with gdb 5.1.1 (mingw). I
have written this small C program:
#include "stdio.h"
int main() {
int i,j,k;
i=1;
j=10*i;
k=10*j;
printf("tete");
return 0;
}
This program is compiled with the following: gcc -o tete.exe -g tete.c
When I debug in a DOS session, everything works fine with GDB, I can debug
step by step.
When I lauchn GVD, I have the following problem:
The Explorer window shows the file "list of files". Clicking on it doesn't
change anything.
I choose the correct directory using "File/Change directory". I use
"File/Open program" to choose the program to debug (tete.exe). Then I use
"Run" and I get the following answer "No executable specified, user target
exec". When I go to the Debug Window and I choose manually the file to debug
using "target exec tete.exe", I can run the program but not debug it:
indeed the command "tbreak main" gets the answer "No symbol table is
loaded".
Can anyone help me ?
Remark : the program to debug is located in a directory whose name contains
blanks.
Thanks in advance.