andreasgal/B2G — Issue #152: Integrate a pre-built gdb into gonk that's known to work with b2g
Author: cgjones
Created: 2012-02-02 02:01:18+00:00
State: open
Labels: tools

We can grab prebuilt binaries from anywhere, as long as we leave a link to the source they were built from. I've had good results with

http://developer.download.nvidia.com/tegra/files/tegra-gdb-20100902.zip

which includes the patch against upstream gdb (IIRC).

It would be worth re-trying the pre-installed gdb that comes with android to see how well it works. I have not historically had good results with it.

For the first landing here, let's get the following set up:

- the nvidia gdb host binary installed into some kind of host-tools directory. It doesn't really matter where this is.
- the nvidia gdbserver guest binary installed on device. I think there may already be a gdbserver installed, so we want to makes sure to replace that.

There's some more work we can do for a second landing, but this is the really important part.