diff options
author | Greg Clayton <gclayton@apple.com> | 2010-11-08 04:29:11 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-11-08 04:29:11 +0000 |
commit | a78ff2ef3236cb9a38b14745293fb2bd8248c673 (patch) | |
tree | ed205d5774bc7edfb2ba18560c4cc1ab4d3b0b5d /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | bd497244a1f5a2892e6b07c7fbb83f9ede7e85cb (diff) | |
download | bcm5719-llvm-a78ff2ef3236cb9a38b14745293fb2bd8248c673.tar.gz bcm5719-llvm-a78ff2ef3236cb9a38b14745293fb2bd8248c673.zip |
Cleaned up the pseudo terminal code in ProcessGDBRemote as it was spawning
a pseudo terminal even when the process being attached to.
Fixed a possible crasher in the in:
bool
ClangASTContext::IsAggregateType (clang_type_t clang_type);
It seems that if you pass in a record decl, enum decl, or objc class decl
and ask it if it is an aggregate type, clang will crash.
llvm-svn: 118404
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 62473f9ae38..6330c7b0fb2 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -286,14 +286,15 @@ protected: UpdateThreadListIfNeeded (); lldb_private::Error - StartDebugserverProcess (const char *debugserver_url, // The connection string to use in the spawned debugserver ("localhost:1234" or "/dev/tty...") + StartDebugserverProcess (const char *debugserver_url, // The connection string to use in the spawned debugserver ("localhost:1234" or "/dev/tty...") char const *inferior_argv[], char const *inferior_envp[], const char *stdin_path, - lldb::pid_t attach_pid, // If inferior inferior_argv == NULL, then attach to this pid - const char *attach_pid_name, // Wait for the next process to launch whose basename matches "attach_wait_name" - bool wait_for_launch, // Wait for the process named "attach_wait_name" to launch - bool disable_aslr, // Disable ASLR + bool launch_process, // Set to true if we are going to be launching a the process + lldb::pid_t attach_pid, // If inferior inferior_argv == NULL, then attach to this pid + const char *attach_pid_name, // Wait for the next process to launch whose basename matches "attach_wait_name" + bool wait_for_launch, // Wait for the process named "attach_wait_name" to launch + bool disable_aslr, // Disable ASLR lldb_private::ArchSpec& arch_spec); void |