diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-11-18 21:31:27 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-11-18 21:31:27 +0000 |
commit | c14c28ba117dee9fd0bf17fc3437e808221a7829 (patch) | |
tree | f325e191374bc352f84e4194fe2dbfc521e7133d /gdb/testsuite | |
parent | 00a0b122cf3b524243c3cea05101bacd5a1595ba (diff) | |
download | gdb-c14c28ba117dee9fd0bf17fc3437e808221a7829.zip gdb-c14c28ba117dee9fd0bf17fc3437e808221a7829.tar.gz gdb-c14c28ba117dee9fd0bf17fc3437e808221a7829.tar.bz2 |
2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h: New MULTI_OBJFILE_P macro.
* printcmd.c (sym_info): Print object name.
* maint.c (maintenance_translate_address): Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/sepsymtab.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba31a1d..f06c5ac 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com> + + * gdb.base/sepsymtab.exp: Update for new 'info sym' format. + 2008-11-17 Doug Evans <dje@google.com> * gdb.mi/mi-syn-frame.exp: Update expected output. diff --git a/gdb/testsuite/gdb.base/sepsymtab.exp b/gdb/testsuite/gdb.base/sepsymtab.exp index ce0ea7d..3192701 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 in section \[^\r\n\]+\[\r\n\]+$gdb_prompt \$" { + -re "^${command_regex}\[\r\n\]+main \\+ 0 in section \[^\r\n\]+\[\r\n\]+$gdb_prompt \$" { pass "$command" } } |