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.
This commit is contained in:
Tom Tromey
2022-09-12 07:04:21 -06:00
parent 6c8912c64b
commit 7807dfae36
5 changed files with 13 additions and 9 deletions

View File

@@ -282,9 +282,6 @@ enum stop_kind
};
/* Possible values for gdbarch_call_dummy_location. */
#define ON_STACK 1
#define AT_ENTRY_POINT 4
/* Base class for target-specific inferior data. */