* 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.
This commit is contained in:
Jim Blandy 2002-06-11 20:37:05 +00:00
parent 6827a8f8fe
commit 919d772c55
6 changed files with 31 additions and 4 deletions

View file

@ -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");
}