forked from Imagelibrary/binutils-gdb
* 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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user