* 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:
parent
6827a8f8fe
commit
919d772c55
6 changed files with 31 additions and 4 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue