[Lldb-commits] [lldb] r117292 - /lldb/trunk/source/Target/Target.cpp

Greg Clayton gclayton at apple.com
Mon Oct 25 13:08:15 PDT 2010


Author: gclayton
Date: Mon Oct 25 15:08:15 2010
New Revision: 117292

URL: http://llvm.org/viewvc/llvm-project?rev=117292&view=rev
Log:
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".

Modified:
    lldb/trunk/source/Target/Target.cpp

Modified: lldb/trunk/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Target.cpp?rev=117292&r1=117291&r2=117292&view=diff
==============================================================================
--- lldb/trunk/source/Target/Target.cpp (original)
+++ lldb/trunk/source/Target/Target.cpp Mon Oct 25 15:08:15 2010
@@ -1014,7 +1014,7 @@
 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 }
 };
 





More information about the lldb-commits mailing list