[gvd-devel] Problems using gvd

Preben Randhol randhol@pvv.org
Wed, 17 Jan 2001 12:10:08 +0100


I have tested 3 programs. They where all compiled with -gnata -g

1. HelloWorld

This is a simple HelloWorld program and debugging with gvd works fine.

2. Small

This is the small game found in the Lovelace tutorial. The debugger
works fine, except that in order to stop the program one have to type
quit in the gdb window. This command is then passed to the gdb and gdb
quits leaving the gvd running and starting using 100% CPU. If I try this
with gdb it quits the small program and reports that it quited normally.

3. Phanax

This is the phanax program of B Bryant. I was trying to track down an
input error, but when I try to run the program I get this:

(gdb) run 
Starting program:
/home/randhol/Source/Ada95/phanax/phanax/__sample-presentations/../phanax 
Cannot access memory at address 0x40017df0

Now this also happens when I just use gdb, so it is probably I that is
doing something wrong, but my question is: phanax needs an argument or
it will exit, but I cannot find out where one add arguments to a program
that is being debugged.

Thanks in advance.

-- 
Preben Randhol ---------------------- http://www.pvv.org/~randhol/ --
+---+ "There was, I think, never any reason to  believe in any innate
| ! |  superiority of the male, except his superior muscle."
+---+      -- Bertrand Russell, Ideas That Have Harmed Mankind (1950)