From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joern Rennecke To: chris@lslsun.epfl.ch (Christian Iseli) Cc: egcs@cygnus.com Subject: Re: debug_reload output Date: Tue, 14 Oct 1997 08:20:00 -0000 Message-id: <199710141518.QAA00285@phal.cygnus.co.uk> References: <199710140839.KAA20719@lslsun17.epfl.ch> X-SW-Source: 1997-10/msg00535.html > > Hi, > > I would like to be able to redirect the output of de debug_reload routine > to something else than stderr, e.g., the greg dump file... That would be a considerable nuisance - instead of call debug_reload() you'd have to type call debug_reload(stderr) all the time in gdb - and if you forget it just once, the debugged process will crash and you have to start it all over again. If you must have a function that is like debug_reload but accepts an output stream as parameter, I'd prefer if you call it something else and have debug_reload calling it.