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

📄 nm.exp

📁 SimpleScaler(RISC处理器仿真分析程序)指令集相对应的汇编
💻 EXP
字号:
#   Copyright (C) 1988, 1990, 1991, 1992 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 2 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, write to the Free Software# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */# Please email any bugs, comments, and/or additions to this file to:# bug-dejagnu@prep.ai.mit.edu# This file was written by Rob Savoye. (rob@cygnus.com)load_lib util-defs.expload_lib utils-lib.exp# extract and print the version number of nmsend_user "Version [binutil_version $NM]"set test_code $objdir/$subdir/bintestset addr "\[0-9A-Fa-f\]+"## setup the list. Here the layout:# 1st field is the command line option.# 2nd field is the pattern to match. NOTE - No variable substitutions can be used!# 3rd field is an optional message to print with PASS/FAIL.#set utility [list { "" ".*\[0-9A-Fa-f\]+ T _?one.*\[0-9A-Fa-f\]+ T _?two.*" "No arguments" } \		 { "-g" ".*\[0-9A-Fa-f\]+ T _?one.*\[0-9A-Fa-f\]+ T _?two.*" "External only" } \		 { "-o" ".*[file tail $test_code]:\[0-9A-Fa-f\]+ T _?one.*[file tail $test_code]:\[0-9A-Fa-f\]+ T _?two.*" "Print input file names" } ]foreach i $utility {    if [util_test "$NM" "$NMFLAGS [lindex $i 0]" $test_code [lindex $i 1] [lindex $i 2]] then {	fail "[lindex $i 2]"    } else {	pass "[lindex $i 2]"    }}## FIXME: lots more options to test...#

⌨️ 快捷键说明

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