Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] autobacktrace (was: concerning the use of assert)
Home

[Freeciv-Dev] autobacktrace (was: concerning the use of assert)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] autobacktrace (was: concerning the use of assert)
From: Reinier Post <rp@xxxxxxxxxx>
Date: Tue, 10 Sep 2002 15:10:04 +0200

On Mon, Sep 09, 2002 at 12:02:00PM +0200, Raimar Falke wrote:
> On Sun, Sep 08, 2002 at 03:35:12PM +0000, Per I. Mathisen wrote:
> > On Fri, 6 Sep 2002, Raimar Falke wrote:
> > > You can do all the work a wrapper script. Just modify "civ" and
> > > "ser".
> > 
> > I don't understand what you are thinking of here.
> 
> change "civ" so that it looks like:
>   if file core:
>     rename to core.old
>   start client
>   if file core:
>     echo "bt" | gdb path/to/civclient core >backtrace
>     echo "There was a core dump bla bla bla"
>     cat backtrace | mail to freeciv-dev
> 
> > Besides, it should work without use of the wrapper script, IMHO.
> 
> The right tool for the right job. And you don't have access to the
> back trace from C.
> 
>       Raimar

Attached is what civserver.freeciv.org uses.  Note the mess it takes
just to find the correct civserver binary to use.

-- 
Reinier

Attachment: civserver-core-backtrace
Description: Text document


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