diff options
author | Tom Tromey <tromey@redhat.com> | 2008-12-11 18:30:28 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-12-11 18:30:28 +0000 |
commit | 7c8adf682b34f6efbd4113c83d93b31fba4c7cb0 (patch) | |
tree | f6ec61538f02c042f9d5273ee99d2b0914fe7353 /gdb/c-lang.h | |
parent | df131623294b8a9f8ebfbd0fe3780886c19527aa (diff) | |
download | gdb-7c8adf682b34f6efbd4113c83d93b31fba4c7cb0.zip gdb-7c8adf682b34f6efbd4113c83d93b31fba4c7cb0.tar.gz gdb-7c8adf682b34f6efbd4113c83d93b31fba4c7cb0.tar.bz2 |
gdb
PR macros/2564:
* c-exp.y (macro_original_text, expansion_obstack,
expression_macro_scope): New globals.
(scan_macro_expansion): New function.
(scanning_macro_expansion): Likewise.
(finished_macro_expansion): Likewise.
(scan_macro_cleanup): Likewise.
(c_parse): Find macro scope. Initialize obstack.
* c-lang.h (scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion, expression_macro_lookup_func,
expression_macro_lookup_baton): Remove.
* c-lang.c (scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion, expression_macro_lookup_func,
expression_macro_lookup_baton): Remove.
(macro_original_text, macro_expanded_text,
c_preprocess_and_parse): Remove.
(c_language_defn, cplus_language_defn, asm_language_defn,
minimal_language_defn): Use c_parse.
gdb/testsuite
* gdb.base/macscp.exp: Print "address.addr".
* gdb.base/macscp1.c (struct outer): New struct.
(address): New global.
Diffstat (limited to 'gdb/c-lang.h')
-rw-r--r-- | gdb/c-lang.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/c-lang.h b/gdb/c-lang.h index cc9abde..a8c95f9 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -55,13 +55,6 @@ extern void c_printstr (struct ui_file * stream, const gdb_byte *string, int force_ellipses, const struct value_print_options *options); -extern void scan_macro_expansion (char *expansion); -extern int scanning_macro_expansion (void); -extern void finished_macro_expansion (void); - -extern macro_lookup_ftype *expression_macro_lookup_func; -extern void *expression_macro_lookup_baton; - extern void c_language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai); |