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 | 919d772c556e521f21902cfdf3ac67e3468fce12 (patch) | |
tree | 4265c076a6980721d71d6c5f92f2ac4476629c37 /gdb/source.c | |
parent | 6827a8f8fe10eb8f47681e3d8566a50e310faf29 (diff) | |
download | gdb-919d772c556e521f21902cfdf3ac67e3468fce12.zip gdb-919d772c556e521f21902cfdf3ac67e3468fce12.tar.gz gdb-919d772c556e521f21902cfdf3ac67e3468fce12.tar.bz2 |
* 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 ac74372..c7c1ce2 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"); } |