This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: complaints.c
- To: jingham at cygnus dot com
- Subject: Re: complaints.c
- From: Stan Shebs <shebs at cygnus dot com>
- Date: Tue, 21 Sep 1999 18:56:05 -0700
- CC: gdb-patches at sourceware dot cygnus dot com
From: James Ingham <jingham@cygnus.com>
Date: 21 Sep 1999 13:25:18 -0700
Does anyone see a reason why the output from "complain" goes to stdout
rather than stderr? complain is where gdb whinges about things like live
range symbols not found, etc... If it comes to stdout it often gets
mixed into legitimate output that gdbtk is trying to parse, like stack
backtraces.
I suggest the following patch:
This looks reasonable to me. You could ask Fred Fish, since he
created the file in 1992, although even then he was moving code from
utils.c. I suspect that you're seeing "living fossil" code left over
from the late Cretaceous, overlooked because the symbol-reading
complaints are disabled for most users.
Stan