aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/sepsymtab.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-11-20 16:13:11 +0000
committerDoug Evans <dje@google.com>2008-11-20 16:13:11 +0000
commite2fd701eb4e8c8e59741a6a5ae97d759e70e239a (patch)
tree75e12f826b8052dea0ff2ecd1c8cb90d580fc459 /gdb/testsuite/gdb.base/sepsymtab.exp
parent607cecd2d4e6f0533f7e28f18d088ff4ec1109dd (diff)
downloadgdb-e2fd701eb4e8c8e59741a6a5ae97d759e70e239a.zip
gdb-e2fd701eb4e8c8e59741a6a5ae97d759e70e239a.tar.gz
gdb-e2fd701eb4e8c8e59741a6a5ae97d759e70e239a.tar.bz2
* printcmd.c (sym_info): Don't print the offset if it's zero.
* gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
Diffstat (limited to 'gdb/testsuite/gdb.base/sepsymtab.exp')
-rw-r--r--gdb/testsuite/gdb.base/sepsymtab.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/sepsymtab.exp b/gdb/testsuite/gdb.base/sepsymtab.exp
index 3192701..ce0ea7d 100644
--- a/gdb/testsuite/gdb.base/sepsymtab.exp
+++ b/gdb/testsuite/gdb.base/sepsymtab.exp
@@ -45,7 +45,7 @@ gdb_load ${binfile}
set command "info sym main"
set command_regex [string_to_regexp $command]
gdb_test_multiple "$command" "$command" {
- -re "^${command_regex}\[\r\n\]+main \\+ 0 in section \[^\r\n\]+\[\r\n\]+$gdb_prompt \$" {
+ -re "^${command_regex}\[\r\n\]+main in section \[^\r\n\]+\[\r\n\]+$gdb_prompt \$" {
pass "$command"
}
}