diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-06-11 20:37:05 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-06-11 20:37:05 +0000 |
commit | 919d772c556e521f21902cfdf3ac67e3468fce12 (patch) | |
tree | 4265c076a6980721d71d6c5f92f2ac4476629c37 /gdb/testsuite | |
parent | 6827a8f8fe10eb8f47681e3d8566a50e310faf29 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2d02577..da681a6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2002-06-11 Jim Blandy <jimb@redhat.com> + * lib/gdb.exp (get_debug_format): Tolerate message saying whether + preprocessor macro information is present. + * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New tests. 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; |