stdlib: Fix get_isa_from_str() exception behavior in

When given an input string that does not match any valid ISA, the
get_isa_from_str() function should call get_isas_str_set() to to print
the valid ISA strings in the exception. The current behavior is to
recursively call get_isa_from_str() with no input, which prevents
the correct exception from being raised. This change causes the
correct exception to be raised for invalid inputs.

Change-Id: I92bfe862bbd99ce0b63bfc124e539fab3b175e0c
Reviewed-by: Jason Lowe-Power <>
Maintainer: Bobby Bruce <>
Reviewed-by: Bobby Bruce <>
Tested-by: kokoro <>
1 file changed