diff options
author | matt rice <ratmice@gmail.com> | 2011-07-21 15:13:30 +0000 |
---|---|---|
committer | matt rice <ratmice@gmail.com> | 2011-07-21 15:13:30 +0000 |
commit | 9b158ba08eb1ad14dc2324b8391263b228fa928a (patch) | |
tree | 29747b586e1e18155aaf1ce9de26781e9468e1ba /gdb/symtab.c | |
parent | d17b6f81012b6844de08934193fe7cb7db8cbd5f (diff) | |
download | gdb-9b158ba08eb1ad14dc2324b8391263b228fa928a.zip gdb-9b158ba08eb1ad14dc2324b8391263b228fa928a.tar.gz gdb-9b158ba08eb1ad14dc2324b8391263b228fa928a.tar.bz2 |
PR macros/12999
* macrotab.h (macro_callback_fn): Add new arguments to callback.
* macrotab.c (foreach_macro): Ditto.
(foreach_macro_in_scope): Ditto.
* macrocmd.c (print_macro_callback): New function.
(info_macro_command): Move some code to print_macro_definition.
(print_macro_definition): New function.
(print_one_macro): Add new arguments to callback.
testsuite/
* gdb.base/info-macros.c: New test sources.
* gdb.base/info-macros.exp: New tests.
docs/
* gdb.texinfo (Macros): Add info definitions and info macros commands.
Update text and cindex entries for info macro command.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index b792081..9447bd9 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -3771,6 +3771,7 @@ struct add_name_data This adds a macro's name to the current completion list. */ static void add_macro_name (const char *name, const struct macro_definition *ignore, + struct macro_source_file *ignore2, int ignore3, void *user_data) { struct add_name_data *datum = (struct add_name_data *) user_data; |