Subject: Re: 1.4.2: dump taking forever
To: Simon J. Gerraty <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 04/21/2000 10:26:27
On Fri, Apr 21, 2000 at 09:47:25AM +1000, Simon J. Gerraty wrote:
> > When I get back I'll build dump with -g and I can then attach to it
> > with gdb next time it does this. That will be in a few days.
> I build -current's dump and it ran last night. As far as I can tell
> rcache.c:bread() is in an infinite loop. This file is new since 1.3.x
Arg, I'm the one who added this :(
> which may explain the breakage. Sorting out what's going on isn't
> helped by gdb saying 'No symbol "toCopy" in current context.' etc.
> I can modify the code so that interesting vars are not buried within
> narrow contexts where they are hard to access, but is there a reliable
> way to stop gcc optimizing them away?
'gcc -g -O0' ?
I've been running this version of dump on various amanda clients (1.3.x and
1.4.x ) without troubles ...
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr