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

[Freeciv-Dev] Re: concerning the use of assert

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: concerning the use of assert
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 9 Sep 2002 12:02:00 +0200

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

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  This message has been ROT-13 encrypted twice for extra security.


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