mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
This commit is the result of the following actions: - Running gdb/copyright.py to update all of the copyright headers to include 2024, - Manually updating a few files the copyright.py script told me to update, these files had copyright headers embedded within the file, - Regenerating gdbsupport/Makefile.in to refresh it's copyright date, - Using grep to find other files that still mentioned 2023. If these files were updated last year from 2022 to 2023 then I've updated them this year to 2024. I'm sure I've probably missed some dates. Feel free to fix them up as you spot them.
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# Copyright 2002-2024 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
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
# test gdb/680
|
|
#
|
|
|
|
load_lib mi-support.exp
|
|
set MIFLAGS "-i=mi"
|
|
|
|
if {[mi_clean_restart]} {
|
|
return
|
|
}
|
|
|
|
proc do_test {count} {
|
|
mi_gdb_test "-data-list-register-names -1" \
|
|
{\^error,msg=\"bad register number\"} \
|
|
"-data-list-register-names -1, try $count"
|
|
}
|
|
|
|
# Tests a bug with ui-out and nested uiout types. When
|
|
# an error is encountered building a nest typed, like
|
|
# lists or tuples, the uiout is not reset to some sane
|
|
# state. As a result, uiout still thinks it is building
|
|
# this nested type. Execute enough of these errors and
|
|
# an assertion failure occurs. This is most obvious
|
|
# with invalid register number and the register commands.
|
|
|
|
# MAX_UIOUT_LEVELS is set to 5.
|
|
set counter 0
|
|
for {set i 0} {$i < 4} {incr i} {
|
|
do_test $i
|
|
}
|
|
|
|
#setup_kfail "gdb/680"
|
|
do_test $i
|
|
|
|
mi_gdb_exit
|