2003-09-11 Elena Zannoni <ezannoni@redhat.com>

* gdb.base/relocate.exp: Handle new gdb output at startup.
This commit is contained in:
Elena Zannoni 2003-09-11 18:59:02 +00:00
parent e961d8dc41
commit 1c19974635
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.

View File

@ -67,7 +67,7 @@ gdb_reinitialize_dir $srcdir/$subdir
# Load the object file.
gdb_test "add-symbol-file ${binfile} 0" \
"Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \
"Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.(|\r\nUsing host libthread_db library .*libthread_db.so.*\\.)" \
"add-symbol-file ${testfile}.o 0" \
"add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x0\[\r\n\]+\\(y or n\\) " \
"y"
@ -116,7 +116,7 @@ gdb_test "set \$offset = 0x10000" ""
# Load the object file.
gdb_test "add-symbol-file ${binfile} \$offset" \
"Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \
"Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.(|\r\nUsing host libthread_db library .*libthread_db.so.*\\.)" \
"add-symbol-file ${testfile}.o \$offset" \
"add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x10000\[\r\n\]+\\(y or n\\) " \
"y"