From 919d772c556e521f21902cfdf3ac67e3468fce12 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 11 Jun 2002 20:37:05 +0000 Subject: * 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. --- gdb/source.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/source.c') 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"); } -- cgit v1.1