mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
2003-01-06 Michael Chastain <mec@shout.net>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): When selecting a thread, 'line' and 'file' are optional. * gdb.mi/mi1-pthreads.exp: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2003-01-06 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
|
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
|
||||||
|
When selecting a thread, 'line' and 'file' are optional.
|
||||||
|
* gdb.mi/mi1-pthreads.exp: Likewise.
|
||||||
|
|
||||||
2003-01-06 Andreas Schwab <schwab@suse.de>
|
2003-01-06 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
|
* lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
|
||||||
|
@ -191,8 +191,11 @@ proc check_mi_thread_command_set {} {
|
|||||||
"check_mi_thread_command_set: -thread-select 123456789"
|
"check_mi_thread_command_set: -thread-select 123456789"
|
||||||
|
|
||||||
foreach thread $thread_list {
|
foreach thread $thread_list {
|
||||||
|
# line and file are optional.
|
||||||
|
# many of the threads are blocked in libc calls,
|
||||||
|
# and many people have libc's with no symbols.
|
||||||
mi_gdb_test "-thread-select $thread" \
|
mi_gdb_test "-thread-select $thread" \
|
||||||
"\\^done,new-thread-id=\"$thread\",frame={.*},line=\"(-)?\[0-9\]+\",file=\".*\"" \
|
"\\^done,new-thread-id=\"$thread\",frame={.*}(,line=\"(-)?\[0-9\]+\",file=\".*\")?" \
|
||||||
"check_mi_thread_command_set: -thread-select $thread"
|
"check_mi_thread_command_set: -thread-select $thread"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -191,8 +191,11 @@ proc check_mi_thread_command_set {} {
|
|||||||
"check_mi_thread_command_set: -thread-select 123456789"
|
"check_mi_thread_command_set: -thread-select 123456789"
|
||||||
|
|
||||||
foreach thread $thread_list {
|
foreach thread $thread_list {
|
||||||
|
# line and file are optional.
|
||||||
|
# many of the threads are blocked in libc calls,
|
||||||
|
# and many people have libc's with no symbols.
|
||||||
mi_gdb_test "-thread-select $thread" \
|
mi_gdb_test "-thread-select $thread" \
|
||||||
"\\^done,new-thread-id=\"$thread\",frame={.*},line=\"(-)?\[0-9\]+\",file=\".*\"" \
|
"\\^done,new-thread-id=\"$thread\",frame={.*}(,line=\"(-)?\[0-9\]+\",file=\".*\")?" \
|
||||||
"check_mi_thread_command_set: -thread-select $thread"
|
"check_mi_thread_command_set: -thread-select $thread"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user