[Lldb-commits] [lldb] r189684 - Use /bin/sh on FreeBSD
Ed Maste
emaste at freebsd.org
Fri Aug 30 10:53:18 PDT 2013
Author: emaste
Date: Fri Aug 30 12:53:18 2013
New Revision: 189684
URL: http://llvm.org/viewvc/llvm-project?rev=189684&view=rev
Log:
Use /bin/sh on FreeBSD
Modified:
lldb/trunk/include/lldb/Host/Host.h
Modified: lldb/trunk/include/lldb/Host/Host.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/Host.h?rev=189684&r1=189683&r2=189684&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/Host.h (original)
+++ lldb/trunk/include/lldb/Host/Host.h Fri Aug 30 12:53:18 2013
@@ -473,7 +473,12 @@ public:
int *signo_ptr, // Pass NULL if you don't want the signal that caused the process to exit
std::string *command_output, // Pass NULL if you don't want the command output
uint32_t timeout_sec,
- const char *shell = "/bin/bash");
+#ifdef __FreeBSD__
+ const char *shell = "/bin/sh"
+#else
+ const char *shell = "/bin/bash"
+#endif
+ );
static lldb::DataBufferSP
GetAuxvData (lldb_private::Process *process);
More information about the lldb-commits
mailing list