aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-06-11 20:37:05 +0000
committerJim Blandy <jimb@codesourcery.com>2002-06-11 20:37:05 +0000
commit919d772c556e521f21902cfdf3ac67e3468fce12 (patch)
tree4265c076a6980721d71d6c5f92f2ac4476629c37 /gdb/testsuite/lib
parent6827a8f8fe10eb8f47681e3d8566a50e310faf29 (diff)
downloadgdb-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/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index d9285e8..8d666f9 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1440,7 +1440,7 @@ proc get_debug_format { } {
set debug_format "unknown"
send_gdb "info source\n"
gdb_expect 10 {
- -re "Compiled with (.*) debugging format.\r\n$gdb_prompt $" {
+ -re "Compiled with (.*) debugging format.\r\n.*$gdb_prompt $" {
set debug_format $expect_out(1,string)
verbose "debug format is $debug_format"
return 1;