[Lldb-commits] [lldb] r112985 - /lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Sep 3 11:20:07 PDT 2010


Author: d0k
Date: Fri Sep  3 13:20:07 2010
New Revision: 112985

URL: http://llvm.org/viewvc/llvm-project?rev=112985&view=rev
Log:
Pacify operator precedence warnings. No functionality change because eLaunchFlagDisableASLR happens to be 1.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=112985&r1=112984&r2=112985&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Fri Sep  3 13:20:07 2010
@@ -405,7 +405,7 @@
                                              NULL, //stdin_path,
                                              LLDB_INVALID_PROCESS_ID,
                                              NULL, false,
-                                             launch_flags & eLaunchFlagDisableASLR != 0,
+                                             (launch_flags & eLaunchFlagDisableASLR) != 0,
                                              inferior_arch);
             if (error.Fail())
                 return error;
@@ -424,7 +424,7 @@
                                              NULL, //stdin_path,
                                              LLDB_INVALID_PROCESS_ID,
                                              NULL, false,
-                                             launch_flags & eLaunchFlagDisableASLR != 0,
+                                             (launch_flags & eLaunchFlagDisableASLR) != 0,
                                              inferior_arch);
             if (error.Fail())
                 return error;





More information about the lldb-commits mailing list