Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2000:
[Freeciv-Dev] Re: debugging freeciv with ddd or gdb
Home

[Freeciv-Dev] Re: debugging freeciv with ddd or gdb

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Alain Vicet <alain@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: debugging freeciv with ddd or gdb
From: Thue <thue@xxxxxxx>
Date: Thu, 5 Oct 2000 23:09:32 +0200
Reply-to: thue@xxxxxxx

On Thu, 05 Oct 2000 22:58:25 Alain Vicet wrote:
> 
> Hi,
> 
> how can I run freeciv with gdb or ddd ?
> 
> It seems impossible to have the civserver prompt needed to enter commands
> 
> thank you
> 
> alain Vicet

With gdb from the source root:

gdb server/civserver

and from the gdb promt "run". Now it will run as normal. If you want access to
the debugger just suspend CTRL-z the server, and you will be dropped back to the
gdb prompt.

-Thue



[Prev in Thread] Current Thread [Next in Thread]