diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-06-11 20:37:05 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-06-11 20:37:05 +0000 |
commit | 11efa7a3fac0fdbf3d2fe4874d49056d91d12c78 (patch) | |
tree | b947642b0b157bad5ff7e443fce23043ac41058b /gdb/source.c | |
parent | 861ddcdcff54bb5a3a43358f3b7385e27cebd5e1 (diff) | |
download | gdb-11efa7a3fac0fdbf3d2fe4874d49056d91d12c78.tar.gz |
* gdb/source.c (source_info): Mention whether the symtab has
information about preprocessor macros.
* gdb/testsuite/lib/gdb.exp (get_debug_format): Tolerate message
saying whether preprocessor macro information is present.
* gdb/doc/gdb.texinfo (Symbols): Update documentation for `info
source' command.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/source.c b/gdb/source.c index ac743724058..c7c1ce2f5d2 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -500,6 +500,8 @@ source_info (char *ignore, int from_tty) printf_filtered ("Source language is %s.\n", language_str (s->language)); printf_filtered ("Compiled with %s debugging format.\n", s->debugformat); + printf_filtered ("%s preprocessor macro info.\n", + s->macro_table ? "Includes" : "Does not include"); } |