This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] new test for separate debug info
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: ezannoni at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 14 Nov 2003 14:37:14 -0500 (EST)
- Subject: Re: [RFA] new test for separate debug info
Elena Zannoni writes:
# If we have too many warnings or errors,
# the output of the test can't be considered correct.
if { $warning_threshold > 0 && $warncnt >= $warning_threshold
|| $perror_threshold > 0 && $errcnt >= $perror_threshold } {
verbose "Error/Warning threshold exceeded: \
$errcnt $warncnt (max. $perror_threshold $warning_threshold)"
set type UNRESOLVED
}
Ick!
> what to do? Maybe just get rid of the unsupported call, and just get
> out of the test.
Well, "nothing different" is okay. I'm not worried about the actual
output, as long as we understand why it behaves that way, and stick that
understanding into a comment somewhere.
As Daniel alluded to -- what SHOULD happen when an end user tries
to do this with stabs+? Should binutils bonk out with a nice error
message?
Michael C