Index:
[thread]
[date]
[subject]
[author]
From: Marcus Sundberg <mackan@stacken.kth.se>
To : ggi-develop@eskimo.com
Date: Thu, 29 Apr 1999 21:32:51 +0000
Re: Debugging problems...
Jonas Borgström wrote:
> 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?
I have the same problem here. Probably some weird bug with dynamic
linking and gdb.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: mackan@stacken.kth.se
Index:
[thread]
[date]
[subject]
[author]