Re: [Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.

2014-06-26 Thread Todd Fiala
After a lengthy debugging session it turns out this is the change that breaks core file loading on FreeBSD. The core file has no sections (the core data and thread / register notes are in program segments), so ParseSectionHeaders() returns 0. Oh dang. I originally had a comment on that in

[Lldb-commits] [lldb] r211812 - Fix an incomplete null structure spec in Python readline suppression module.

2014-06-26 Thread Todd Fiala
Author: tfiala Date: Thu Jun 26 17:35:36 2014 New Revision: 211812 URL: http://llvm.org/viewvc/llvm-project?rev=211812view=rev Log: Fix an incomplete null structure spec in Python readline suppression module. Now that I'm building Linux with clang, I'm seeing more clang warnings. This fills in

Re: [Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.

2014-06-26 Thread Todd Fiala
Hey Ed, This patch fixes the ParseHeaders() with a zero return value so that it does not fail out the GetArchitecture() call. Let me know if that gets you further. We'll still need to figure out how to adjust the code to not require a FreeBSD version number (or adjust how the version number

Re: [Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.

2014-06-26 Thread Todd Fiala
Okay cool, thanks! On Thu, Jun 26, 2014 at 3:39 PM, Greg Clayton gclay...@apple.com wrote: On Jun 26, 2014, at 3:03 PM, Todd Fiala tfi...@google.com wrote: Hey Greg, On Thu, Jun 26, 2014 at 2:52 PM, Greg Clayton gclay...@apple.com wrote: A few things with respect to triple

[Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.

2014-06-25 Thread Todd Fiala
Hi emaste, This change modifies how ObjectFileELF determines the architecture of an ELF file. It no longer assumes the elf file's vendor and OS is the same as the current host. It is one step in supporting running lldb across MacOSX/Linux/FreeBSD/NetBSD. The current ELF note parsing added

Re: [Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.

2014-06-25 Thread Todd Fiala
Hang on - just caught a couple member variables that are not in the initializer list. Will add a new diff in a few minutes with all members properly in the initializer list. http://reviews.llvm.org/D4302 ___ lldb-commits mailing list

[Lldb-commits] [lldb] r211635 - Fix up Windows build for the SBUnixSignals addition.

2014-06-24 Thread Todd Fiala
Author: tfiala Date: Tue Jun 24 16:38:31 2014 New Revision: 211635 URL: http://llvm.org/viewvc/llvm-project?rev=211635view=rev Log: Fix up Windows build for the SBUnixSignals addition. Change by Zachary Turner. Modified: lldb/trunk/source/API/CMakeLists.txt

Re: [Lldb-commits] [PATCH] lldb: deal with non-portable PTRACE-related constants

2014-06-23 Thread Todd Fiala
Missed this one earlier this month. I'll have a look at this now. http://reviews.llvm.org/D4091 ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r211503 - lldb: deal with non-portable PTRACE-related constants

2014-06-23 Thread Todd Fiala
Author: tfiala Date: Mon Jun 23 10:59:04 2014 New Revision: 211503 URL: http://llvm.org/viewvc/llvm-project?rev=211503view=rev Log: lldb: deal with non-portable PTRACE-related constants See http://reviews.llvm.org/D4091 for details. Change by Paul Osmialowski. Modified:

[Lldb-commits] [lldb] r211526 - Add API control of the signal disposition.

2014-06-23 Thread Todd Fiala
, stop or forward using the Python and C++ APIs. Change by Russell Harmon. Xcode build system changes (and any mistakes) by Todd Fiala. Tested on MacOSX 10.9.3 and Xcode 6 beta. (Xcode 5 is hitting the dependency checker crasher on all my systems). Added: lldb/trunk/include/lldb/API

[Lldb-commits] [lldb] r211535 - Part 2 of SBUnitSignals check-in.

2014-06-23 Thread Todd Fiala
Author: tfiala Date: Mon Jun 23 15:56:48 2014 New Revision: 211535 URL: http://llvm.org/viewvc/llvm-project?rev=211535view=rev Log: Part 2 of SBUnitSignals check-in. I missed adding a few new files to the change list. The build is broken from r211526 without this fix. (And Ed Maste caught it

Re: [Lldb-commits] [PATCH] lldb: deal with non-portable PTRACE-related constants

2014-06-23 Thread Todd Fiala
for all the ptrace values we use. On Mon, Jun 23, 2014 at 1:48 PM, Paul Osmialowski paw...@king.net.pl wrote: On Mon, 23 Jun 2014, Todd Fiala wrote: Hi Paul, I guess we're not going to require access to kernel headers for lldb cross-compilation, so your fix should be a better solution. Yeah

[Lldb-commits] [lldb] r211381 - Added gdb-remote tests for Q{Save, Restore}RegisterState.

2014-06-20 Thread Todd Fiala
Author: tfiala Date: Fri Jun 20 12:39:24 2014 New Revision: 211381 URL: http://llvm.org/viewvc/llvm-project?rev=211381view=rev Log: Added gdb-remote tests for Q{Save,Restore}RegisterState. Tests for both thread suffix and no thread suffix execution. Moved some bit-flipping helper methods from

[Lldb-commits] [lldb] r211425 - Fix a gdbremote bug in _M/_m stub support detection.

2014-06-20 Thread Todd Fiala
Author: tfiala Date: Fri Jun 20 19:48:09 2014 New Revision: 211425 URL: http://llvm.org/viewvc/llvm-project?rev=211425view=rev Log: Fix a gdbremote bug in _M/_m stub support detection. When a stub reported $#00 (unsupported) for _M and _m packets, the unsupported response was not handled and the

[Lldb-commits] [lldb] r211283 - Fixed up gdb-remote auxv regex issues with binary data.

2014-06-19 Thread Todd Fiala
Author: tfiala Date: Thu Jun 19 12:35:40 2014 New Revision: 211283 URL: http://llvm.org/viewvc/llvm-project?rev=211283view=rev Log: Fixed up gdb-remote auxv regex issues with binary data. Fixes two causes for https://github.com/tfiala/lldb/issues/7. 1. Ensures the inferior program has started

[Lldb-commits] [lldb] r211105 - Added gdb-remote auxv tests.

2014-06-17 Thread Todd Fiala
Author: tfiala Date: Tue Jun 17 11:04:45 2014 New Revision: 211105 URL: http://llvm.org/viewvc/llvm-project?rev=211105view=rev Log: Added gdb-remote auxv tests. First batch of auxv-related tests from llgs branch. Includes helpers for unescaping gdb-remote binary-escaped data, converting binary

Re: [Lldb-commits] [lldb] r210035 - Fix most of the remaining Windows build warnings.

2014-06-17 Thread Todd Fiala
testing. On Tue, Jun 17, 2014 at 12:25 PM, Todd Fiala tfi...@google.com wrote: Ok - so given it's a linker related flags issue, what is the correct cmake way to test out the linker being used? On Tue, Jun 17, 2014 at 11:49 AM, Ed Maste ema...@freebsd.org wrote: On 17 June 2014 14:33, Todd

Re: [Lldb-commits] [lldb] r210035 - Fix most of the remaining Windows build warnings.

2014-06-17 Thread Todd Fiala
Darwin) On Tue, Jun 17, 2014 at 1:02 PM, Todd Fiala tfi...@google.com wrote: This latest patch works on Ubuntu12.04/gcc4.8.2 and MacOSX10.9.3/clang. But thinking more about it, the predicate as a whole (changing based on compiler rather than Linker) is just incorrect. So the platform

Re: [Lldb-commits] [lldb] r210035 - Fix most of the remaining Windows build warnings.

2014-06-17 Thread Todd Fiala
I've now tested that final cmake patch on Ubuntu Linux 12.04/gcc-4.8.2, MacOSX 10.9.3/clang, FreeBSD 10/clang and they all pass. I'll go check it in. Ping me with your failure case if you end up with one after the change. On Tue, Jun 17, 2014 at 1:14 PM, Todd Fiala tfi...@google.com wrote

[Lldb-commits] [lldb] r211123 - Fix up lldb cmake linker flags for MacOSX.

2014-06-17 Thread Todd Fiala
Author: tfiala Date: Tue Jun 17 15:54:56 2014 New Revision: 211123 URL: http://llvm.org/viewvc/llvm-project?rev=211123view=rev Log: Fix up lldb cmake linker flags for MacOSX. Change r210035 broke the Darwin cmake build. The initial change was intended to stop the --start-group/--end-group

[Lldb-commits] [lldb] r211127 - Added gdb-remote auxv test for chunked reads.

2014-06-17 Thread Todd Fiala
Author: tfiala Date: Tue Jun 17 17:01:27 2014 New Revision: 211127 URL: http://llvm.org/viewvc/llvm-project?rev=211127view=rev Log: Added gdb-remote auxv test for chunked reads. Verifies that a sum of offset,length auxv reads matches a single large read, and that the auxv data extracted from

[Lldb-commits] [lldb] r211026 - Move x86-specific struct user code for Linux ProcessMonitor behind #define guards.

2014-06-16 Thread Todd Fiala
Author: tfiala Date: Mon Jun 16 09:49:28 2014 New Revision: 211026 URL: http://llvm.org/viewvc/llvm-project?rev=211026view=rev Log: Move x86-specific struct user code for Linux ProcessMonitor behind #define guards. See http://reviews.llvm.org/D4092 for details. Change by Paul Osmialowski.

[Lldb-commits] [lldb] r211006 - Minor gdb-remote test QListThreadsInStopReply changes from llgs branch.

2014-06-15 Thread Todd Fiala
Author: tfiala Date: Sun Jun 15 18:33:09 2014 New Revision: 211006 URL: http://llvm.org/viewvc/llvm-project?rev=211006view=rev Log: Minor gdb-remote test QListThreadsInStopReply changes from llgs branch. Modified: lldb/trunk/test/tools/lldb-gdbserver/TestGdbRemoteThreadsInStopReply.py

[Lldb-commits] [lldb] r210982 - Added several gdb-remote tests around QListThreadsInStopReply.

2014-06-14 Thread Todd Fiala
Author: tfiala Date: Sat Jun 14 17:00:36 2014 New Revision: 210982 URL: http://llvm.org/viewvc/llvm-project?rev=210982view=rev Log: Added several gdb-remote tests around QListThreadsInStopReply. Added: lldb/trunk/test/tools/lldb-gdbserver/TestGdbRemoteThreadsInStopReply.py Modified:

[Lldb-commits] [lldb] r210957 - Sync accumulated minor diffs in llgs branch gdb-remote tests.

2014-06-13 Thread Todd Fiala
Author: tfiala Date: Fri Jun 13 18:34:17 2014 New Revision: 210957 URL: http://llvm.org/viewvc/llvm-project?rev=210957view=rev Log: Sync accumulated minor diffs in llgs branch gdb-remote tests. I've been making some subtle changes to the gdb-remote tests as I implement them in the llgs branch.

[Lldb-commits] [lldb] r210963 - Added gdb-remote expedited register dupe check.

2014-06-13 Thread Todd Fiala
Author: tfiala Date: Fri Jun 13 22:03:23 2014 New Revision: 210963 URL: http://llvm.org/viewvc/llvm-project?rev=210963view=rev Log: Added gdb-remote expedited register dupe check. The llgs branch had a bug where register sets were not terminated with LLDB_INVALID_REGNUM so the expedite register

[Lldb-commits] [lldb] r210964 - Properly terminated POSIX register sets with LLDB_INVALID_REGNUM.

2014-06-13 Thread Todd Fiala
Author: tfiala Date: Fri Jun 13 22:13:01 2014 New Revision: 210964 URL: http://llvm.org/viewvc/llvm-project?rev=210964view=rev Log: Properly terminated POSIX register sets with LLDB_INVALID_REGNUM. RegisterSets are assumed to be terminated by this value. Loops over register set values would

[Lldb-commits] [lldb] r210818 - Added gdb-remote P/p thread suffix test.

2014-06-12 Thread Todd Fiala
Author: tfiala Date: Thu Jun 12 15:38:56 2014 New Revision: 210818 URL: http://llvm.org/viewvc/llvm-project?rev=210818view=rev Log: Added gdb-remote P/p thread suffix test. Improved the P writes all GPR register values test. It now limits itself to GPR registers that are not containers for

[Lldb-commits] [lldb] r210681 - Add gdb-remote P register write test.

2014-06-11 Thread Todd Fiala
Author: tfiala Date: Wed Jun 11 13:09:01 2014 New Revision: 210681 URL: http://llvm.org/viewvc/llvm-project?rev=210681view=rev Log: Add gdb-remote P register write test. Added test that attempts to write a value to each general purpose register that is bit-flipped from the initial read value.

[Lldb-commits] [lldb] r210573 - Added gdb-remote tests around $qSupported.

2014-06-10 Thread Todd Fiala
Author: tfiala Date: Tue Jun 10 15:16:31 2014 New Revision: 210573 URL: http://llvm.org/viewvc/llvm-project?rev=210573view=rev Log: Added gdb-remote tests around $qSupported. Right now it just checks that qSupported returns at least one recognized gdb stub feature. Modified:

[Lldb-commits] [lldb] r210594 - Added gdb-remote test to verify M memory write.

2014-06-10 Thread Todd Fiala
Author: tfiala Date: Tue Jun 10 17:15:56 2014 New Revision: 210594 URL: http://llvm.org/viewvc/llvm-project?rev=210594view=rev Log: Added gdb-remote test to verify M memory write. Modified: lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py

[Lldb-commits] [lldb] r210481 - Added gdb-remote test for s packet, single stepping.

2014-06-09 Thread Todd Fiala
Author: tfiala Date: Mon Jun 9 12:46:37 2014 New Revision: 210481 URL: http://llvm.org/viewvc/llvm-project?rev=210481view=rev Log: Added gdb-remote test for s packet, single stepping. Modified: lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py

[Lldb-commits] [lldb] r210376 - Remove invalid comment from last commit.

2014-06-06 Thread Todd Fiala
Author: tfiala Date: Fri Jun 6 16:59:19 2014 New Revision: 210376 URL: http://llvm.org/viewvc/llvm-project?rev=210376view=rev Log: Remove invalid comment from last commit. Modified: lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py Modified:

[Lldb-commits] [lldb] r210272 - Added gdb-remote test for software breakpoints.

2014-06-05 Thread Todd Fiala
Author: tfiala Date: Thu Jun 5 11:34:13 2014 New Revision: 210272 URL: http://llvm.org/viewvc/llvm-project?rev=210272view=rev Log: Added gdb-remote test for software breakpoints. Tests $Z0 and $z0. Extends test exe get-code-address-hex: to take a function name. Enabled for debugserver,

[Lldb-commits] [lldb] r210196 - Added gdb-remote $qMemoryRegionInfo tests for heap and stack.

2014-06-04 Thread Todd Fiala
Author: tfiala Date: Wed Jun 4 11:42:12 2014 New Revision: 210196 URL: http://llvm.org/viewvc/llvm-project?rev=210196view=rev Log: Added gdb-remote $qMemoryRegionInfo tests for heap and stack. Added two new tests: one to verify that a test exe heap address returned is readable and writeable,

[Lldb-commits] [lldb] r210213 - Move MemoryRegionInfo out of Target/Process.h into its own header.

2014-06-04 Thread Todd Fiala
Author: tfiala Date: Wed Jun 4 15:13:37 2014 New Revision: 210213 URL: http://llvm.org/viewvc/llvm-project?rev=210213view=rev Log: Move MemoryRegionInfo out of Target/Process.h into its own header. lldb-gdbserver and NativeProcessProtocol will use MemoryRegionInfo but don't want to pull in

[Lldb-commits] [lldb] r210116 - Added gdb-remote memory read ($m) test.

2014-06-03 Thread Todd Fiala
Author: tfiala Date: Tue Jun 3 13:09:56 2014 New Revision: 210116 URL: http://llvm.org/viewvc/llvm-project?rev=210116view=rev Log: Added gdb-remote memory read ($m) test. Added set-memory:{content} and get-memory-address-hex: commands to the test exe for gdb-remote. Added a test that sets the

[Lldb-commits] [lldb] r210163 - Fix a couple minor typos in $qMemoryRegionInfo packet docs.

2014-06-03 Thread Todd Fiala
Author: tfiala Date: Wed Jun 4 00:07:40 2014 New Revision: 210163 URL: http://llvm.org/viewvc/llvm-project?rev=210163view=rev Log: Fix a couple minor typos in $qMemoryRegionInfo packet docs. Modified: lldb/trunk/docs/lldb-gdb-remote.txt Modified: lldb/trunk/docs/lldb-gdb-remote.txt URL:

[Lldb-commits] [lldb] r210035 - Fix most of the remaining Windows build warnings.

2014-06-02 Thread Todd Fiala
Author: tfiala Date: Mon Jun 2 12:30:22 2014 New Revision: 210035 URL: http://llvm.org/viewvc/llvm-project?rev=210035view=rev Log: Fix most of the remaining Windows build warnings. See http://reviews.llvm.org/D3944 for more details. Change by Zachary Turner. Modified:

[Lldb-commits] [lldb] r210036 - Add executable extension to debugger name, run dotest via binary.

2014-06-02 Thread Todd Fiala
Author: tfiala Date: Mon Jun 2 12:49:35 2014 New Revision: 210036 URL: http://llvm.org/viewvc/llvm-project?rev=210036view=rev Log: Add executable extension to debugger name, run dotest via binary. See http://reviews.llvm.org/D3904 for details. Change by Scott Graham. Modified:

[Lldb-commits] [lldb] r210046 - Add support for inspecting enum members.

2014-06-02 Thread Todd Fiala
Author: tfiala Date: Mon Jun 2 15:55:29 2014 New Revision: 210046 URL: http://llvm.org/viewvc/llvm-project?rev=210046view=rev Log: Add support for inspecting enum members. Change by Russell Harmon. Xcode project updates (and all errors therein) by Todd Fiala. Added: lldb/trunk/include

[Lldb-commits] [lldb] r209912 - gdb-remote signal delivery test cleanup.

2014-05-30 Thread Todd Fiala
Author: tfiala Date: Fri May 30 12:59:47 2014 New Revision: 209912 URL: http://llvm.org/viewvc/llvm-project?rev=209912view=rev Log: gdb-remote signal delivery test cleanup. Learned that MacOSX only accepts signal delivery on a thread that is already signal handling. Reworked the test exe to

[Lldb-commits] [lldb] r209845 - gdb-remote testing: new test, cleaned up socket reading.

2014-05-29 Thread Todd Fiala
Author: tfiala Date: Thu May 29 15:44:45 2014 New Revision: 209845 URL: http://llvm.org/viewvc/llvm-project?rev=209845view=rev Log: gdb-remote testing: new test, cleaned up socket reading. Added new SocketPacketPump class to decouple gdb remote packet reading from packet expectations code. This

[Lldb-commits] [lldb] r209752 - Cmake build changes.

2014-05-28 Thread Todd Fiala
Author: tfiala Date: Wed May 28 12:06:04 2014 New Revision: 209752 URL: http://llvm.org/viewvc/llvm-project?rev=209752view=rev Log: Cmake build changes. Disables exception handling in LLDB, using appropriate compiler flags depending on the platform. This is consistent with the build of LLVM,

[Lldb-commits] [lldb] r209756 - Disabled warning C4251 on MSVC builds.

2014-05-28 Thread Todd Fiala
Author: tfiala Date: Wed May 28 12:58:29 2014 New Revision: 209756 URL: http://llvm.org/viewvc/llvm-project?rev=209756view=rev Log: Disabled warning C4251 on MSVC builds. See http://reviews.llvm.org/D3934 for more details. This is only the CMakeLists.txt portion of that change. Change by

[Lldb-commits] [lldb] r209560 - Added gdb remote tests to verify $Hg{thread-id}.

2014-05-23 Thread Todd Fiala
Author: tfiala Date: Fri May 23 17:25:29 2014 New Revision: 209560 URL: http://llvm.org/viewvc/llvm-project?rev=209560view=rev Log: Added gdb remote tests to verify $Hg{thread-id}. Added test to check that each thread reported by $q{f,s}ThreadInfo can be switched to by $Hg, verified by a

[Lldb-commits] [lldb] r209561 - Remove some unnecessary comments from previous check-in.

2014-05-23 Thread Todd Fiala
Author: tfiala Date: Fri May 23 17:33:42 2014 New Revision: 209561 URL: http://llvm.org/viewvc/llvm-project?rev=209561view=rev Log: Remove some unnecessary comments from previous check-in. Removed a done TODO comment. Moved some helper methods to the top of the unit test. Removed some

[Lldb-commits] [lldb] r209452 - Added gdbremote protocol test for $p and returned data size.

2014-05-22 Thread Todd Fiala
Author: tfiala Date: Thu May 22 12:18:18 2014 New Revision: 209452 URL: http://llvm.org/viewvc/llvm-project?rev=209452view=rev Log: Added gdbremote protocol test for $p and returned data size. Each register returned by $qRegisterInfo is tested that it's $p register read returns a representation

[Lldb-commits] [lldb] r209314 - Added gdb-remote tests for q{f, s}ThreadInfo.

2014-05-21 Thread Todd Fiala
Author: tfiala Date: Wed May 21 13:12:14 2014 New Revision: 209314 URL: http://llvm.org/viewvc/llvm-project?rev=209314view=rev Log: Added gdb-remote tests for q{f,s}ThreadInfo. The First test verifies that qThreadInfo queries work for stub-launched processes. The second test verifies that $qC

[Lldb-commits] [lldb] r209318 - Added tests for q{f, s}ThreadInfo for attached processes.

2014-05-21 Thread Todd Fiala
Author: tfiala Date: Wed May 21 15:12:01 2014 New Revision: 209318 URL: http://llvm.org/viewvc/llvm-project?rev=209318view=rev Log: Added tests for q{f,s}ThreadInfo for attached processes. Added helper methods: prep_debug_monitor_and_inferior(): properly handles the two cases of running the stub

[Lldb-commits] [lldb] r209234 - Change gdb remote test support multi-request format.

2014-05-20 Thread Todd Fiala
Author: tfiala Date: Tue May 20 15:02:08 2014 New Revision: 209234 URL: http://llvm.org/viewvc/llvm-project?rev=209234view=rev Log: Change gdb remote test support multi-request format. The multi request-response test infrastructure support was adding the optional request suffix iteration index

[Lldb-commits] [lldb] r209109 - Added gdb remote test for one valid qRegisterInfo result.

2014-05-19 Thread Todd Fiala
Author: tfiala Date: Mon May 19 01:11:41 2014 New Revision: 209109 URL: http://llvm.org/viewvc/llvm-project?rev=209109view=rev Log: Added gdb remote test for one valid qRegisterInfo result. Checks that at at least qRegisterInfo0 responds with a valid register info reply packet. The packet is

[Lldb-commits] [lldb] r209142 - Update Xcode settings for Xcode 5.1 (5B130a) to remove workspace warning.

2014-05-19 Thread Todd Fiala
Author: tfiala Date: Mon May 19 11:58:52 2014 New Revision: 209142 URL: http://llvm.org/viewvc/llvm-project?rev=209142view=rev Log: Update Xcode settings for Xcode 5.1 (5B130a) to remove workspace warning. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj

Re: [Lldb-commits] [lldb] r209109 - Added gdb remote test for one valid qRegisterInfo result.

2014-05-19 Thread Todd Fiala
, Todd Fiala todd.fi...@gmail.com wrote: Author: tfiala Date: Mon May 19 01:11:41 2014 New Revision: 209109 URL: http://llvm.org/viewvc/llvm-project?rev=209109view=rev Log: Added gdb remote test for one valid qRegisterInfo result. Checks that at at least qRegisterInfo0 responds

[Lldb-commits] [lldb] r209151 - Revert r209142.

2014-05-19 Thread Todd Fiala
Author: tfiala Date: Mon May 19 13:30:48 2014 New Revision: 209151 URL: http://llvm.org/viewvc/llvm-project?rev=209151view=rev Log: Revert r209142. Need to spend a little more time with suppressing the debugserver 64-to-32 bit warnings. Will re-submit after I get the warnings properly

[Lldb-commits] [lldb] r209170 - Added gdb remote protocol tests across all qRegisterInfo responses.

2014-05-19 Thread Todd Fiala
Author: tfiala Date: Mon May 19 17:35:24 2014 New Revision: 209170 URL: http://llvm.org/viewvc/llvm-project?rev=209170view=rev Log: Added gdb remote protocol tests across all qRegisterInfo responses. Added support for gdb remote protocol capture/playback where there is a query/multiple-response

Re: [Lldb-commits] [lldb] r209109 - Added gdb remote test for one valid qRegisterInfo result.

2014-05-19 Thread Todd Fiala
/lldbgdbserverutils.py Sendingtest/tools/lldb-gdbserver/main.cpp Transmitting file data ... Committed revision 209170 On Mon, May 19, 2014 at 1:45 PM, Todd Fiala tfi...@google.com wrote: Yep, going to do that :-) Almost done. On Mon, May 19, 2014 at 1:29 PM, Greg Clayton gclay...@apple.com wrote

[Lldb-commits] [lldb] r209108 - Add support for gdb remote $X stop notification.

2014-05-18 Thread Todd Fiala
Author: tfiala Date: Sun May 18 23:57:23 2014 New Revision: 209108 URL: http://llvm.org/viewvc/llvm-project?rev=209108view=rev Log: Add support for gdb remote $X stop notification. debugserver now returns $X09 as the immediate response to a $k kill process request rather than $W09.

Re: [Lldb-commits] [PATCH] debugserver response to $k with incorrect code

2014-05-18 Thread Todd Fiala
209108. On Thu, May 15, 2014 at 9:41 AM, Todd Fiala tfi...@google.com wrote: Ah right yep. I'll address that too. On Thu, May 15, 2014 at 9:31 AM, Greg Clayton gclay...@apple.com wrote: Looks fine. Just be sure that all code that looks for 'W' also handles 'X'. I see some code

[Lldb-commits] [lldb] r209016 - Refactored RegisterInfoInterface into its own header.

2014-05-16 Thread Todd Fiala
Author: tfiala Date: Fri May 16 15:43:19 2014 New Revision: 209016 URL: http://llvm.org/viewvc/llvm-project?rev=209016view=rev Log: Refactored RegisterInfoInterface into its own header. Also moved it into the lldb_private namespace. The llgs branch is making use of this interface and its use is

[Lldb-commits] [lldb] r208782 - Added debugserver/llgs test for command-line --attach {pid} variant.

2014-05-14 Thread Todd Fiala
Author: tfiala Date: Wed May 14 09:51:27 2014 New Revision: 208782 URL: http://llvm.org/viewvc/llvm-project?rev=208782view=rev Log: Added debugserver/llgs test for command-line --attach {pid} variant. Checks that the pid reported by $qProcessInfo matches the pid that was launched as the attach

[Lldb-commits] [lldb] r208789 - Replace SIZE_T_MAX with std::numeric_limits value in Section.cpp.

2014-05-14 Thread Todd Fiala
Author: tfiala Date: Wed May 14 11:15:43 2014 New Revision: 208789 URL: http://llvm.org/viewvc/llvm-project?rev=208789view=rev Log: Replace SIZE_T_MAX with std::numeric_limits value in Section.cpp. SIZE_T_MAX is not available on Linux. Modified: lldb/trunk/source/Core/Section.cpp Modified:

[Lldb-commits] [lldb] r208804 - Added gdbremote tests to verify kill and continue after attach.

2014-05-14 Thread Todd Fiala
Author: tfiala Date: Wed May 14 14:34:06 2014 New Revision: 208804 URL: http://llvm.org/viewvc/llvm-project?rev=208804view=rev Log: Added gdbremote tests to verify kill and continue after attach. Modified: lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py

[Lldb-commits] [PATCH] debugserver response to $k with incorrect code

2014-05-14 Thread Todd Fiala
Hey guys, Debugserver is responding to a $k kill process command with W09 rather than X09 (i.e. indicating a normal exit with return code 9 rather than a signal-based exit from signal 9). Any issue with me changing that? I've tested it locally and it doesn't appear to cause any harm. lldb

[Lldb-commits] [PATCH] change debugserver $qC to return thread id; change lldb gdb-remote to use $qProcessInfo

2014-05-07 Thread Todd Fiala
Modify debugserver to follow gdb remote $qC protocol definition. $qC from debugserver now returns the current thread's thread-id (and, like $?, will set a current thread if one is not already selected). Previously it was returning the current process id. lldb will now query $qProcessInfo to

Re: [Lldb-commits] [PATCH] change debugserver $qC to return thread id; change lldb gdb-remote to use $qProcessInfo

2014-05-07 Thread Todd Fiala
Great thanks. Will put it in now. On Wed, May 7, 2014 at 11:34 AM, Greg Clayton gclay...@apple.com wrote: Looks good! On May 7, 2014, at 11:15 AM, Todd Fiala todd.fi...@gmail.com wrote: Modify debugserver to follow gdb remote $qC protocol definition. $qC from debugserver now returns

[Lldb-commits] [lldb] r208241 - Modify debugserver to follow gdb remote $qC protocol definition.

2014-05-07 Thread Todd Fiala
Author: tfiala Date: Wed May 7 14:28:21 2014 New Revision: 208241 URL: http://llvm.org/viewvc/llvm-project?rev=208241view=rev Log: Modify debugserver to follow gdb remote $qC protocol definition. $qC from debugserver now returns the current thread's thread-id (and, like $?, will set a current

[Lldb-commits] [lldb] r207556 - Make lldb-gdbserver configure/(g)make build parity with cmake.

2014-04-29 Thread Todd Fiala
Author: tfiala Date: Tue Apr 29 11:57:45 2014 New Revision: 207556 URL: http://llvm.org/viewvc/llvm-project?rev=207556view=rev Log: Make lldb-gdbserver configure/(g)make build parity with cmake. This now builds lldb-gdbserver on all Linux and FreeBSD architectures rather than being locked to

[Lldb-commits] [lldb] r207568 - Added gdb remote protocol tests for no output and inferior non-zero exit code.

2014-04-29 Thread Todd Fiala
Author: tfiala Date: Tue Apr 29 13:21:07 2014 New Revision: 207568 URL: http://llvm.org/viewvc/llvm-project?rev=207568view=rev Log: Added gdb remote protocol tests for no output and inferior non-zero exit code. Tests added for debugserver and lldb-gdbserver. lldb-gdbserver marked as XFAIL on

[Lldb-commits] [lldb] r207398 - Fixed up lldb-gdbserver to match slightly different debugserver listener host:port message.

2014-04-28 Thread Todd Fiala
Author: tfiala Date: Mon Apr 28 01:04:46 2014 New Revision: 207398 URL: http://llvm.org/viewvc/llvm-project?rev=207398view=rev Log: Fixed up lldb-gdbserver to match slightly different debugserver listener host:port message. Fixed up typo in lldb-gdbserver name missed when working on the OS X

[Lldb-commits] [lldb] r207492 - Added debugserver/llgs protocol test for output and clean exit.

2014-04-28 Thread Todd Fiala
Author: tfiala Date: Tue Apr 29 00:01:01 2014 New Revision: 207492 URL: http://llvm.org/viewvc/llvm-project?rev=207492view=rev Log: Added debugserver/llgs protocol test for output and clean exit. Tests for $vCont;c program start, $O output and $W status code. @llgs_test variant currently marked

[Lldb-commits] [lldb] r207395 - Added two new test types: @debugserver_test and @llgs_test.

2014-04-27 Thread Todd Fiala
Author: tfiala Date: Sun Apr 27 23:49:40 2014 New Revision: 207395 URL: http://llvm.org/viewvc/llvm-project?rev=207395view=rev Log: Added two new test types: @debugserver_test and @llgs_test. TestLldbGdbServer now supports both lldb-gdbserver (llgs) and debugserver tests. Similar to the

[Lldb-commits] [lldb] r207273 - Prevent TestLldbGdbServer shutdown cleanup failures from failing the test.

2014-04-25 Thread Todd Fiala
Author: tfiala Date: Fri Apr 25 16:09:28 2014 New Revision: 207273 URL: http://llvm.org/viewvc/llvm-project?rev=207273view=rev Log: Prevent TestLldbGdbServer shutdown cleanup failures from failing the test. Adds try/except blocks around clean-up code. Prevents a race between gdb remote kill

[Lldb-commits] [lldb] r207285 - Added TestLldbGdbServer test for A start exe packet.

2014-04-25 Thread Todd Fiala
Author: tfiala Date: Fri Apr 25 18:08:24 2014 New Revision: 207285 URL: http://llvm.org/viewvc/llvm-project?rev=207285view=rev Log: Added TestLldbGdbServer test for A start exe packet. Fixed up bug in XFAIL tests where I appended an array when I intended to merge an array. Added:

[Lldb-commits] [lldb] r206930 - Added a packet-playback test facility for lldb-gdbserver and a few starter tests.

2014-04-22 Thread Todd Fiala
Author: tfiala Date: Tue Apr 22 18:16:53 2014 New Revision: 206930 URL: http://llvm.org/viewvc/llvm-project?rev=206930view=rev Log: Added a packet-playback test facility for lldb-gdbserver and a few starter tests. lldbgdbserverutils.py has a new expect_lldb_gdbserver_replay() method that plays

<    1   2   3   4