From 338c32f1375440aaeb66c65d5d40906a388d20c8 Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Thu, 27 Feb 2020 10:49:47 -0500 Subject: [PATCH] [Ada] Add debugging message 2020-06-09 Bob Duff gcc/ada/ * bindo-graphs.adb (Add_Edge_Kind_Check): Add the Image of the old and new Kinds to the raise Program_Error message. --- gcc/ada/bindo-graphs.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/bindo-graphs.adb b/gcc/ada/bindo-graphs.adb index a720c0f..7cb6edf 100644 --- a/gcc/ada/bindo-graphs.adb +++ b/gcc/ada/bindo-graphs.adb @@ -1824,7 +1824,7 @@ package body Bindo.Graphs is end case; if not OK then - raise Program_Error; + raise Program_Error with Kind'Img & "-->" & Attributes.Kind'Img; end if; end Add_Edge_Kind_Check; -- 2.7.4