aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/sepsymtab.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a737872..b08bcd1 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-20 Doug Evans <dje@google.com>
+
+ * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
+
2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/ppc-dfp.exp: New file.
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"
}
}