From 46d5827cc232c689853b50181b17751aa7574128 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 6 Jul 2009 17:57:33 -0700 Subject: [PATCH] Fix last change. --- src/readelf.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/readelf.c b/src/readelf.c index b990bfe13..c8bb2f08e 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -4332,7 +4332,15 @@ register_info (Ebl *ebl, unsigned int regno, const Ebl_Register_Location *loc, *bits = loc->bits; if (type != NULL) *type = DW_ATE_unsigned; - set = "??? unrecognized registers"; + set = "??? unrecognized"; + } + else + { + if (bits != NULL && *bits <= 0) + *bits = loc->bits; + if (type != NULL && *type == DW_ATE_void) + *type = DW_ATE_unsigned; + } return set; } -- 2.47.2