diff options
author | Nick Clifton <nickc@redhat.com> | 2024-05-13 09:56:09 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-05-13 09:56:09 +0100 |
commit | 83b972fc272db31ab48aa5cde84f47c98868d7c8 (patch) | |
tree | 535c22f6be9bf53b1475e9490681ed04987d4ae6 /gas/macro.h | |
parent | 7143ed12051c7e432d93f83b387a26ded3d8ddae (diff) | |
download | gdb-83b972fc272db31ab48aa5cde84f47c98868d7c8.zip gdb-83b972fc272db31ab48aa5cde84f47c98868d7c8.tar.gz gdb-83b972fc272db31ab48aa5cde84f47c98868d7c8.tar.bz2 |
Add new assembler macro pseudo-variable \+ which counts the number of times a macro has been invoked.
Diffstat (limited to 'gas/macro.h')
-rw-r--r-- | gas/macro.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gas/macro.h b/gas/macro.h index a12fb89..e87f64e 100644 --- a/gas/macro.h +++ b/gas/macro.h @@ -60,13 +60,14 @@ typedef struct formal_struct { typedef struct macro_struct { - sb sub; /* Substitution text. */ - int formal_count; /* Number of formal args. */ - formal_entry *formals; /* List of formal_structs. */ - htab_t formal_hash; /* Hash table of formals. */ - const char *name; /* Macro name. */ - const char *file; /* File the macro was defined in. */ - unsigned int line; /* Line number of definition. */ + sb sub; /* Substitution text. */ + int formal_count; /* Number of formal args. */ + formal_entry * formals; /* List of formal_structs. */ + htab_t formal_hash; /* Hash table of formals. */ + const char * name; /* Macro name. */ + const char * file; /* File the macro was defined in. */ + unsigned int line; /* Line number of definition. */ + unsigned int count; /* Invocation count. */ } macro_entry; /* Whether any macros have been defined. */ |