From 7807dfae36d5c0435ac58711a5028f217800db60 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 12 Sep 2022 07:04:21 -0600 Subject: Use enum for gdbarch's call_dummy_location This changes gdbarch to use an enum for call_dummy_location, providing a little more type safety. --- gdb/gdbarch-components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbarch-components.py') diff --git a/gdb/gdbarch-components.py b/gdb/gdbarch-components.py index c997a70..b2c7b78 100644 --- a/gdb/gdbarch-components.py +++ b/gdb/gdbarch-components.py @@ -647,7 +647,7 @@ Method( ) Value( - type="int", + type="enum call_dummy_location_type", name="call_dummy_location", predefault="AT_ENTRY_POINT", invalid=False, -- cgit v1.1