Index:
[thread]
[date]
[subject]
[author]
From: =?iso-8859-1?Q?Jonas_Borgstr=F6m?= <jonas_b@bitsmart.com>
To : ggi-develop@eskimo.com
Date: Thu, 29 Apr 1999 21:49:56 +0200
Debugging problems...
Hi all,
I have a little problem debugging ggi programs
hello.c:
#include <stdio.h>
void main() {
printf("Hello World\n");
}
I can run this program with gdb several times like:
gdb hello
run
Starting program hello
Hello World
run
Starting program hello-ggi
Hello World
...
But if I use ggi, I can only run the program once in gdb.
//hello-ggi.c
#include <stdio.h>
#include <ggi/ggi.h>
void main() {
ggiInit();
printf("Hello World\n");
ggiExit();
}
gdb hello-ggi
run
Starting program hello-ggi
Hello World
run
Cannot access memory address 0x4012df30
Do I need ggi to be compiled with debug symbols to debug my own program or
what?
/ Jonas
--
--------------------------------------------------------
Jonas Borgström <jonas_b@bitsmart.com>
GGI-Project http://www.ggi-project.org
--------------------------------------------------------
Index:
[thread]
[date]
[subject]
[author]