summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-10-25 20:08:15 +0000
committerGreg Clayton <gclayton@apple.com>2010-10-25 20:08:15 +0000
commit0668d1e039d0f4178c766838ba4ec2c174aa776c (patch)
tree19931c3a84bcabe45e079ddd84ecd1b8dbd27fbe
parente6fe1a03c72050299f6a1c3edde6d619178f77ee (diff)
downloadbcm5719-llvm-0668d1e039d0f4178c766838ba4ec2c174aa776c.tar.gz
bcm5719-llvm-0668d1e039d0f4178c766838ba4ec2c174aa776c.zip
Don't set the default architecture to x86_64. Leave it NULL so that it isn't set to anything and so that any single architecture binary will adopt that architecture instead of posting an error stating the binary doesn't contain "x86_64".
llvm-svn: 117292
-rw-r--r--lldb/source/Target/Target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index 943fda41143..488c6b82f20 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -1014,7 +1014,7 @@ SettingEntry
Target::SettingsController::global_settings_table[] =
{
//{ "var-name", var-type , "default", enum-table, init'd, hidden, "help-text"},
- { "default-arch", eSetVarTypeString, "x86_64", NULL, false, false, "Default architecture to choose, when there's a choice." },
+ { "default-arch", eSetVarTypeString, NULL, NULL, false, false, "Default architecture to choose, when there's a choice." },
{ NULL, eSetVarTypeNone, NULL, NULL, 0, 0, NULL }
};
OpenPOWER on IntegriCloud