aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch-components.py
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-09-12 07:04:21 -0600
committerTom Tromey <tromey@adacore.com>2022-10-31 09:04:11 -0600
commit7807dfae36d5c0435ac58711a5028f217800db60 (patch)
tree2a6ab1d179d22f1a31afadddec893750e453418f /gdb/gdbarch-components.py
parent6c8912c64bcbfd109af0500577409690074e9d27 (diff)
downloadgdb-7807dfae36d5c0435ac58711a5028f217800db60.zip
gdb-7807dfae36d5c0435ac58711a5028f217800db60.tar.gz
gdb-7807dfae36d5c0435ac58711a5028f217800db60.tar.bz2
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.
Diffstat (limited to 'gdb/gdbarch-components.py')
-rw-r--r--gdb/gdbarch-components.py2
1 files changed, 1 insertions, 1 deletions
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,