Josh Gao
acc0ba81cc
Add a gdb_flags argument to gdbrunner.start_gdb.
...
Change-Id: I35aae1290f97a33c55e9bddd2b986a7c3e93d1df
2015-10-28 15:20:57 -07:00
Josh Gao
2c7e952f1c
Allow gdbrunner.start_gdbserver to not upload gdbserver.
...
Change-Id: I59239c3989ccd91755407e65b0d2f8183482564c
2015-10-28 14:22:03 -07:00
Josh Gao
aacbc2318d
Add get_pids helper to gdbrunner.
...
Change-Id: Id685bf740bde382c62a02fa4d6f03717bae91f50
2015-10-28 14:22:02 -07:00
Josh Gao
44b84a8e03
Don't throw when we fail to find a device.
...
Instead, set it to None and let the caller handle things.
Change-Id: Ic4f27fdb52ebd6bc5b4048e4e688ec7bd2509bfa
2015-10-28 14:21:59 -07:00
Josh Gao
3fd43b5bf4
Allow selection of adb command.
...
This is useful for ndk-gdb.py on Windows.
Change-Id: I2a2b6b50ae00bcfc530c555f06c945b4f53f9999
2015-10-28 14:18:55 -07:00
David Pursell
639d1c491a
gdb: allow gdbclient.py to find local files.
...
gdbclient.py is always downloading the stripped version of executable
files from the device. This CL first tries to find the unstripped local
file before falling back to the stripped version.
Bug: http://b/24947939
Change-Id: I7a49d0d8b28590ee99ce892d3e3476921f4ae974
2015-10-21 10:25:25 -07:00
Josh Gao
75b0383747
Add gdbrunner package for shared functionality.
...
This deduplicates code between gdbclient.py and ndk-gdb.py.
Bug: http://b/23715403
Change-Id: I6ee61b466aaf3cde8f6b26b11bfa95761821cb6d
2015-09-30 14:36:35 -07:00