aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1993-12-03 04:07:15 +0000
committerRob Savoye <rob@cygnus>1993-12-03 04:07:15 +0000
commit00d8666550b91667b296ecd7ad38b5b7152a948d (patch)
tree5701cef2195ab3d64e569066ddd80312df5141a3 /binutils
parent2031a59499fbbeb5dbec82ab0c2a5460fae8beaf (diff)
downloadgdb-00d8666550b91667b296ecd7ad38b5b7152a948d.zip
gdb-00d8666550b91667b296ecd7ad38b5b7152a948d.tar.gz
gdb-00d8666550b91667b296ecd7ad38b5b7152a948d.tar.bz2
* config/unix.exp: Add global before seeing if the variables for
nm, objdump, and size exist.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/config/unix.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/testsuite/config/unix.exp b/binutils/testsuite/config/unix.exp
index 29ea0d8..31fe7e3 100644
--- a/binutils/testsuite/config/unix.exp
+++ b/binutils/testsuite/config/unix.exp
@@ -21,21 +21,27 @@
load_lib util-defs.exp
+global NM
if ![info exists NM] then {
set NM [transform nm]
}
+global NMFLAGS
if ![info exists NMFLAGS] then {
set NMFLAGS ""
}
+global SIZE
if ![info exists SIZE] then {
set SIZE [transform size]
}
+global SIZEFLAGS
if ![info exists SIZEFLAGS] then {
set SIZEFLAGS ""
}
+global OBJDUMP
if ![info exists OBJDUMP] then {
set OBJDUMP [transform objdump]
}
+global OBJDUMPFLAGS
if ![info exists OBJDUMPFLAGS] then {
set OBJDUMPFLAGS ""
}