diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-07 03:25:07 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-07 03:25:07 +0000 |
commit | 65289a3a42e60ebfe23f858ccfa0e66b13e844ed (patch) | |
tree | 2c0fbef84f707d26233ad70de66c06425970b8f8 /gcc/toplev.h | |
parent | f759eb8bf0d98603f2e6930126e517ed995a64a8 (diff) | |
download | gcc-65289a3a42e60ebfe23f858ccfa0e66b13e844ed.zip gcc-65289a3a42e60ebfe23f858ccfa0e66b13e844ed.tar.gz gcc-65289a3a42e60ebfe23f858ccfa0e66b13e844ed.tar.bz2 |
c-lex.c (init_c_lex): Request #define / #undef callbacks for verbose DWARF[2] debugging.
* c-lex.c (init_c_lex): Request #define / #undef callbacks
for verbose DWARF[2] debugging.
(cb_define, cb_undef): The new callbacks.
* toplev.h (debug_define, debug_undef): Make const correct.
* toplev.c (debug_define, debug_undef): Similarly. Do not
perform the verbosity tests here anymore.
From-SVN: r38756
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 99669ec..4e029c0 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -39,8 +39,8 @@ extern char *file_name_nondirectory PARAMS ((const char *)); extern void print_time PARAMS ((const char *, long)); extern void debug_start_source_file PARAMS ((const char *)); extern void debug_end_source_file PARAMS ((unsigned)); -extern void debug_define PARAMS ((unsigned, char *)); -extern void debug_undef PARAMS ((unsigned, char *)); +extern void debug_define PARAMS ((unsigned, const char *)); +extern void debug_undef PARAMS ((unsigned, const char *)); extern int debug_ignore_block PARAMS ((union tree_node *)); extern void fatal PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; |