⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.exp

📁 lwip在ucos上的移植
💻 EXP
📖 第 1 页 / 共 3 页
字号:
#test info all-registerssetup_xfail "a29k-*-udi"gdb_test "info all-registers" "The program has no registers now." "info all-registers"#test info argsgdb_test "info args" "No frame selected." "info args"#test info bogus-gdb-commandgdb_test "info bogus-gdb-command" "Undefined info command: \"bogus-gdb-command\".  Try \"help info\".*" "info bogus-gdb-command"#test info breakpointsgdb_test "info breakpoints" "No breakpoints or watchpoints." "info breakpoints"#test info catchgdb_test "info catch" "You can't do that without a process to debug." "info catch"#test info copying# FIXME -- doesn't work worth a shit#send_gdb "info copying"#	-re "GNU GENERAL PUBLIC LICENSE.*#of preserving the free status of all derivatives of our free software and.*#of promoting the sharing and reuse of software generally."# gdb_test "info copying"#	}###test info displaygdb_test "info display" "There are no auto-display expressions now." "info display"#test info frame "f" abbreviationgdb_test "info f" "No stack.*|No selected frame.*" "info frame \"f\" abbreviation"#test info framegdb_test "info frame" "No stack.|No selected frame." "info frame"#test info filesgdb_test "info files" "" "info files"#test info floatif [istarget "arm*-*-*"] then {    gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float"} elseif [istarget "thumb*-*-*"] then {    gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float"} elseif [istarget "strongarm*-*-*"] then {    gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float"} elseif [istarget "i\[3456\]86-*-*"] then {    gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float"} else {    gdb_test "info float" "No floating point info available for this processor." "info float"}#test info functionsgdb_test "info functions" "All defined functions:" "info functions"#test info localsgdb_test "info locals" "No frame selected." "info locals"#test info programsetup_xfail "a29k-*-udi"gdb_test "info program" "The program being debugged is not being run." "info program"#test info registerssetup_xfail "a29k-*-udi"gdb_test "info registers" "The program has no registers now." "info registers"#test info stack "s" abbreviationsetup_xfail "a29k-*-udi"gdb_test "info s" "No stack." "info stack \"s\" abbreviation"#test info stacksetup_xfail "a29k-*-udi"gdb_test "info stack" "No stack." "info stack"#test info set# FIXME -- needs to match the entire outputgdb_test "info set" "confirm:  Whether to confirm potentially dangerous operations is o\[a-z\]*..*\[\r\n\]+history filename:  The filename in which to record the command history is .*\[\r\n\]+listsize:  Number of source lines gdb will list by default is 10.*" "info set"gdb_test "info symbol" "Argument required .address.."#test info sourcegdb_test  "info source" "No current source file..*" "info source"#test info sourcesgdb_test "info sources" "No symbol table is loaded.  Use the \"file\" command.*" "info sources"#test info targetgdb_test "info target" "" "info target"#test info terminalgdb_test "info terminal" "No saved terminal information." "info terminal"#test info typesgdb_test "info types" "All defined types:" "info types"#test info variablesgdb_test "info variables" "All defined variables:" "info variables"#test info warrantysetup_xfail "hppa*-hp-hpux*"gdb_test "info warranty" "NO WARRANTY.*\[\r\n\]+  *11.  *BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY.*\[\r\n\]+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN.*\[\r\n\]+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES.*\[\r\n\]+PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED.*\[\r\n\]+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF.*\[\r\n\]+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS.*\[\r\n\]+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE.*\[\r\n\]+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,.*\[\r\n\]+REPAIR OR CORRECTION..*\[\r\n\]+  *12.  *IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING.*\[\r\n\]+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR.*\[\r\n\]+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,.*\[\r\n\]+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING.*\[\r\n\]+OUT OF THE USE OR INABILITY TO USE THE PROGRAM .INCLUDING BUT NOT LIMITED.*\[\r\n\]+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY.*\[\r\n\]+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER.*\[\r\n\]+PROGRAMS., EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE.*\[\r\n\]+POSSIBILITY OF SUCH DAMAGES.*" "info warranty"#test info watchpointsgdb_test "info watchpoints" "No breakpoints or watchpoints." "info watchpoints"#test inspectgdb_test "inspect" "The history is empty." "inspect"#test jumpsetup_xfail "a29k-*-udi"gdb_test "jump" "The program is not being run." "jump"#test killgdb_test "kill" "The program is not being run." "kill"#test list "l" abbreviationgdb_test "l" "No symbol table is loaded.  Use the \"file\" command.*" "list \"l\" abbreviation"#test listgdb_test "list" "No symbol table is loaded.  Use the \"file\" command.*" "list"#test load# The ``takes a file name'' case is for vxgdb.# The ``Use the "file" command'' case is for newer GDB versions which try# to deduce the filename from the exec file.gdb_test "load" "You can't do that when your target is `None'.*|The load command takes a file name.*|Must specify at least a file name with the load command.*|.*Use the .file. or .exec-file. command.*" "load"#test next "n" abbreviationsetup_xfail "a29k-*-udi"gdb_test "n" "The program is not being run." "next \"n\" abbreviation"#test nextsetup_xfail "a29k-*-udi"gdb_test "next" "The program is not being run." "next"#test nexti "ni" abbreviationsetup_xfail "a29k-*-udi"gdb_test "ni" "The program is not being run." "nexti \"ni\" abbreviation"#test nextisetup_xfail "a29k-*-udi"gdb_test "nexti" "The program is not being run." "nexti"#test outputgdb_test "output" "Argument required .expression to compute.*" "output"#test overlaygdb_test "overlay" "\"overlay\" must be followed by the name of .*"#test a non-existant overlay subcommandgdb_test "overlay on"     "Undefined overlay command.* Try \"help overlay\"."gdb_test "overlay manual" "" "overlay manual #1"gdb_test "overlay auto"   ""gdb_test "overlay off"    ""gdb_test "overlay list"   "No sections are mapped."gdb_test "overlay map"    "Overlay debugging not enabled.*" "overlay map #1"gdb_test "overlay unmap"  "Overlay debugging not enabled.*" "overlay unmap #2"gdb_test "overlay manual" "" "overlay manual #2"gdb_test "overlay map"    "Argument required: name of an overlay section." "overlay map #2"gdb_test "overlay unmap"  "Argument required: name of an overlay section." "overlay unmap #2"#test print "p" abbreviationgdb_test "p" "The history is empty." "print \"p\" abbreviation"#test printgdb_test "print" "The history is empty." "print"#test printfgdb_test "printf" "Argument required .format-control string and values to print.*" "printf"#test ptypegdb_test "ptype" "The history is empty." "ptype"#test pwdgdb_test "pwd" "Working directory .*" "pwd"#test run "r" abbreviationif [istarget "*-*-vxworks*"] then {    gdb_test "set args" "" ""     gdb_test "r" "Starting program: .*You must specify a function name to run, and arguments if any"\		"run \"r\" abbreviation"    gdb_test "set args main" "" "" } else {    send_gdb "r\n"    gdb_expect {	    -re "Starting program:  .*You can't do that when your target is `None'.*$gdb_prompt $"\			{ pass "run \"r\" abbreviation" }	    -re "Starting program:  .*No executable file specified.*Use the \"file\" or \"exec-file\" command.*$gdb_prompt $"\			{ pass "run \"r\" abbreviation" }	    -re "Starting program:  .*No image loaded into target.*$gdb_prompt $"\			{ pass "run \"r\" abbreviation" }	    -re "Starting program:  .*No program loaded.*$gdb_prompt $"\			{ pass "run \"r\" abbreviation" }	    -re "Don't know how to run.  Try \"help target\"..*$gdb_prompt $"\			{ pass "run \"r\" abbreviation" }	    -re ".*$gdb_prompt $"	{ fail "run \"r\" abbreviation" }	    timeout		{ fail "(timeout) run \"r\" abbreviation" }	}}#test runif [istarget "*-*-vxworks*"] then {    gdb_test "set args" "" ""     gdb_test "run" "Starting program: .*You must specify a function name to run, and arguments if any"    gdb_test "set args main" "" "" } else {    send_gdb "run\n"    gdb_expect {	    -re "Starting program:.*You can't do that when your target is `None'.*$gdb_prompt $" { pass "run" }	    -re "Starting program:  .*No executable file specified.*Use the \"file\" or \"exec-file\" command.*$gdb_prompt $"\			{ pass "run" }	    -re "Starting program:  .*No image loaded into target.*$gdb_prompt $"\			{ pass "run" }	    -re "Starting program:  .*No program loaded.*$gdb_prompt $"\			{ pass "run \"r\" abbreviation" }	    -re "Don't know how to run.  Try \"help target\"..*$gdb_prompt $"\			{ pass "run" }	    -re ".*$gdb_prompt $"	{ fail "run" }	    timeout		{ fail "(timeout) run" }	}}#test rbreakgdb_test "rbreak" "" "rbreak"#test return# The middle case accommodates the a29k, where doing the "ni" above causes# an initial stack to be created.gdb_test "return" "No selected frame..*" "return"  "Make .* return now.*y or n. $" "y"#test reverse-searchgdb_test "reverse-search" "No previous regular expression.*|There is no previous regular expression.*" "reverse-search"#test step "s" abbreviationsetup_xfail "a29k-*-udi"gdb_test "s" "The program is not being run." "step \"s\" abbreviation #1"#test stepsetup_xfail "a29k-*-udi"gdb_test "step" "The program is not being run." "step #1"#test searchgdb_test "search" "No previous regular expression.*|There is no previous regular expression.*" "search"#test sectiongdb_test "section" "Must specify section name and its virtual address.*" "section"#test set annotategdb_test "set annotate" "Argument required .integer to set it to.*" "set annotate"#test set argsgdb_test "set args" "" "set args"#test set check "c" abbreviationgdb_test "set c" "\"set check\" must be followed by the name of a check subcommand..*\[\r\n\]+List of set check subcommands:.*\[\r\n\]+set check range -- Set range checking.*\[\r\n\]+set check type -- Set type checking.*\[\r\n\]+Type \"help set check\" followed by set check subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set check \"c\" abbreviation"#test set check "ch" abbreviationgdb_test "set ch" "\"set check\" must be followed by the name of a check subcommand..*\[\r\n\]+List of set check subcommands:.*\[\r\n\]+set check range -- Set range checking.*\[\r\n\]+set check type -- Set type checking.*\[\r\n\]+Type \"help set check\" followed by set check subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set check \"ch\" abbreviation"#test set checkgdb_test "set check" "\"set check\" must be followed by the name of a check subcommand..*\[\r\n\]+List of set check subcommands:.*\[\r\n\]+set check range -- Set range checking.*\[\r\n\]+set check type -- Set type checking.*\[\r\n\]+Type \"help set check\" followed by set check subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set check"#test set check rangegdb_test "set check range" "" "set check range"#test set check typegdb_test "set check type" "" "set check type"#test set complaintsgdb_test "set complaints" "Argument required .integer to set it to.*" "set complaints"#test set confirmgdb_test "set confirm" "" "set confirm"# Don't test set editing. What if we're talking to a gdb that# won't do editing correctly while we're talking to it?# gdb_test "set editing" "" "set editing"#test set environmentgdb_test "set environment" "Argument required .environment variable and value.*" "set environment"#test set heightgdb_test "set height" "Argument required .integer to set it to.*" "set height"#test set history expansiongdb_test "set history expansion" "" "set history expansion"#test set history filenamegdb_test "set history filename" "Argument required .filename to set it to.*" "set history filename"#test set history savegdb_test "set history save" "" "set history save"#test set history sizegdb_test "set history size" "Argument required .integer to set it to.*" "set history size"#test set historygdb_test "set history" "\"set history\" must be followed by the name of a history subcommand..*\[\r\n\]+List of set history subcommands:.*\[\r\n\]+set history expansion -- Set history expansion on command input.*\[\r\n\]+set history filename -- Set the filename in which to record the command history.*\[\r\n\]+set history save -- Set saving of the history record on exit.*\[\r\n\]+set history size -- Set the size of the command history.*\[\r\n\]+Type \"help set history\" followed by set history subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set history"#test set languagegdb_test "set language" "The currently understood settings are:.*\[\r\n\]+local or auto  *Automatic setting based on source file.*\[\r\n\]+c  *Use the C language.*\[\r\n\]+c\[+\]+  *Use the C\[+\]+ language.*\[\r\n\]+modula-2  *Use the Modula-2 language.*" "set language"#test set listsizegdb_test "set listsize" "Argument required .integer to set it to.*" "set listsize"#test set print "p" abbreviationgdb_test "set p" "\"set print\" must be followed by the name of a print subcommand..*\[\r\n\]+List of set print subcommands:.*\[\r\n\]+Type \"help set print\" followed by set print subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set print \"p\" abbreviation"#test set print "pr" abbreviationgdb_test "set pr" "\"set print\" must be followed by the name of a print subcommand..*\[\r\n\]+List of set print subcommands:.*\[\r\n\]+Type \"help set print\" followed by set print subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set print \"pr\" abbreviation"#test set printgdb_test "set print" "\"set print\" must be followed by the name of a print subcommand..*\[\r\n\]+List of set print subcommands:.*\[\r\n\]+Type \"help set print\" followed by set print subcommand name for full documentation..*\[\r\n\]+Command name abbreviations are allowed if unambiguous." "set print"#test set print addressgdb_test "set print address" "" "set print address"#test set print arraygdb_test "set print array" "" "set print array"#test set print asm-demanglegdb_test "set print asm-demangle" "" "set print asm-demangle"#test set print demanglegdb_test "set print demangle" "" "set print demangle"#test set print elementsgdb_test "set print elements" "Argument required .integer to set it to.*" "set print elements"#test set print objectgdb_test "set print object" "" "set print object"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -