aboutsummaryrefslogtreecommitdiffstats
path: root/simulate/debugger.adb
diff options
context:
space:
mode:
Diffstat (limited to 'simulate/debugger.adb')
-rw-r--r--simulate/debugger.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulate/debugger.adb b/simulate/debugger.adb
index 072fba6cb..1677efa58 100644
--- a/simulate/debugger.adb
+++ b/simulate/debugger.adb
@@ -1298,7 +1298,7 @@ package body Debugger is
Add_Declarations (Get_Declaration_Chain (N), False);
when Iir_Kind_For_Loop_Statement =>
Open_Declarative_Region;
- Add_Name (Get_Iterator_Scheme (N));
+ Add_Name (Get_Parameter_Specification (N));
when Iir_Kind_Block_Statement =>
Open_Declarative_Region;
Add_Declarations (Get_Declaration_Chain (N), False);