2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling. Allow a start function above main. * gdb.threads/linux-dp.exp: Fix copyright date.
This commit is contained in:
parent
396cc25565
commit
7148ab6212
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
|
||||
Allow a start function above main.
|
||||
* gdb.threads/linux-dp.exp: Fix copyright date.
|
||||
|
||||
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999, 2000, 2001
|
||||
# Copyright 1999, 2000, 2001, 2002
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -247,8 +247,8 @@ gdb_expect {
|
|||
#
|
||||
send_gdb "backtrace\n"
|
||||
gdb_expect {
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032frame-begin 0 $hex\r\n.0 \r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*\032\032frame-function-name\r\nprintf\r\n\032\032frame-args\r\n \\(.*frame-end\r\n\r\n\032\032frame-begin 1 $hex\r\n.1 \r\n\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n${srcdir}/${subdir}/${srcfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032frame-end\r\n$gdb_prompt$" \
|
||||
{ pass "bactrace from shlibrary" }
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032frame-begin 0 $hex\r\n.0 \r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*\032\032frame-function-name\r\nprintf\r\n\032\032frame-args\r\n \\(.*frame-end\r\n\r\n\032\032frame-begin 1 $hex\r\n.1 \r\n\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n${srcdir}/${subdir}/${srcfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032frame-end\r\n(\r\n\032\032frame-begin .*\r\n\r\n\032\032frame-end\r\n)*$gdb_prompt$" \
|
||||
{ pass "backtrace from shlibrary" }
|
||||
-re ".*$gdb_prompt$" { fail "backtrace from shlibrary" }
|
||||
timeout { fail "backtrace from shlibrary (timeout)" }
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999 Free Software Foundation, Inc.
|
||||
# Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
Loading…
Reference in a new issue