Re: [RFA] new test for separate debug info

Michael Elizabeth Chastain
2003-11-14T19:37:26Z

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