Hallo zusammen, fürchte muss euch nochmals stören:
Ich habe dieses kleine "test" Programm geschrieben:
-------------------------------------------------------------------------------------
#include <stdio.h>
int main()
{
int i;
for(i=0; i < 10; i++)
{
printf("Hello, world!\n");
}
return 0;
}
-------------------------------------------------------------------------------------
Ich speichere das als firstprog.c ab und gebe im Terminal:
g++ firstprog.c -o test und anschliessend ./test ein.
Alles läuft wunderbar.
Nun will ich aber mit: gdb -q ./test das programm debuggen um den Zustand der Prozessorregister anzuschauen. Allerdings kommt dann folgende meldung:
Reading symbols from /root/test...(no debugging symbols found)...done.
Was kann ich dagegen machen?
Danke für eure Antworten ;-):thumb_up:
Ich habe dieses kleine "test" Programm geschrieben:
-------------------------------------------------------------------------------------
#include <stdio.h>
int main()
{
int i;
for(i=0; i < 10; i++)
{
printf("Hello, world!\n");
}
return 0;
}
-------------------------------------------------------------------------------------
Ich speichere das als firstprog.c ab und gebe im Terminal:
g++ firstprog.c -o test und anschliessend ./test ein.
Alles läuft wunderbar.
Nun will ich aber mit: gdb -q ./test das programm debuggen um den Zustand der Prozessorregister anzuschauen. Allerdings kommt dann folgende meldung:
Reading symbols from /root/test...(no debugging symbols found)...done.
Was kann ich dagegen machen?
Danke für eure Antworten ;-):thumb_up: