[Lldb-commits] [lldb] r114962 - in /lldb/trunk/tools/debugserver/source: MacOSX/MachProcess.cpp MacOSX/i386/DNBArchImplI386.h MacOSX/x86_64/DNBArchImplX86_64.h PseudoTerminal.h RNBRemote.h
Johnny Chen
johnny.chen at apple.com
Tue Sep 28 09:34:57 PDT 2010
Author: johnny
Date: Tue Sep 28 11:34:56 2010
New Revision: 114962
URL: http://llvm.org/viewvc/llvm-project?rev=114962&view=rev
Log:
Another patch from Jean-Daniel. Thanks.
Error in dbg server -> MachProcess::SetProcessID() and misc changes to make clang++ happy.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
lldb/trunk/tools/debugserver/source/PseudoTerminal.h
lldb/trunk/tools/debugserver/source/RNBRemote.h
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp?rev=114962&r1=114961&r2=114962&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp Tue Sep 28 11:34:56 2010
@@ -130,7 +130,7 @@
Clear();
// Set the current PID appropriately
if (pid == 0)
- m_pid == ::getpid ();
+ m_pid = ::getpid ();
else
m_pid = pid;
return m_pid; // Return actualy PID in case a zero pid was passed in
Modified: lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h?rev=114962&r1=114961&r2=114962&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h Tue Sep 28 11:34:56 2010
@@ -38,8 +38,8 @@
static const DNBRegisterSetInfo *
GetRegisterSetInfo(nub_size_t *num_reg_sets);
- virtual bool GetRegisterValue(int set, int reg, DNBRegisterValue *reg);
- virtual bool SetRegisterValue(int set, int reg, const DNBRegisterValue *reg);
+ virtual bool GetRegisterValue(int set, int reg, DNBRegisterValue *value);
+ virtual bool SetRegisterValue(int set, int reg, const DNBRegisterValue *value);
virtual nub_size_t GetRegisterContext (void *buf, nub_size_t buf_len);
virtual nub_size_t SetRegisterContext (const void *buf, nub_size_t buf_len);
virtual kern_return_t GetRegisterState (int set, bool force);
Modified: lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h?rev=114962&r1=114961&r2=114962&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h Tue Sep 28 11:34:56 2010
@@ -38,8 +38,8 @@
static const DNBRegisterSetInfo *
GetRegisterSetInfo(nub_size_t *num_reg_sets);
- virtual bool GetRegisterValue(int set, int reg, DNBRegisterValue *reg);
- virtual bool SetRegisterValue(int set, int reg, const DNBRegisterValue *reg);
+ virtual bool GetRegisterValue(int set, int reg, DNBRegisterValue *value);
+ virtual bool SetRegisterValue(int set, int reg, const DNBRegisterValue *value);
virtual nub_size_t GetRegisterContext (void *buf, nub_size_t buf_len);
virtual nub_size_t SetRegisterContext (const void *buf, nub_size_t buf_len);
Modified: lldb/trunk/tools/debugserver/source/PseudoTerminal.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/PseudoTerminal.h?rev=114962&r1=114961&r2=114962&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/PseudoTerminal.h (original)
+++ lldb/trunk/tools/debugserver/source/PseudoTerminal.h Tue Sep 28 11:34:56 2010
@@ -26,7 +26,7 @@
invalid_pid = -1
};
- typedef enum Error
+ enum Error
{
success = 0,
err_posix_openpt_failed = -2,
Modified: lldb/trunk/tools/debugserver/source/RNBRemote.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/RNBRemote.h?rev=114962&r1=114961&r2=114962&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.h (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.h Tue Sep 28 11:34:56 2010
@@ -239,7 +239,7 @@
// gdb can send multiple Z/z packets for the same address and
// these calls must be ref counted.
- typedef struct Breakpoint
+ struct Breakpoint
{
Breakpoint(nub_break_t breakID) :
m_breakID(breakID),
More information about the lldb-commits
mailing list