On 10/22/26 16:50, Philippe Mathieu-Daudé wrote:
+const char *alpha_exception_name(int excp)
+{
+    const char *name;
+
+    switch (excp) {
+    case EXCP_RESET:
+        name = "reset";
+        break;

  return "reset";

etc, or pop them into an array. The values come from an enumeration, so these are dense.


r~

Reply via email to