[android-porting] Re: How to debug android c programs by gdbserver on G1

2009-02-24 Thread Meryl Silverburgh
Thanks. Can you please tell em if I can do the same for debugging webkit on android? On Tue, Feb 24, 2009 at 8:57 AM, David Turner wrote: > You can use "adb forward tcp:1234 tcp:1234" to forward the local port on > your development machine to the local port 1234 on the device/emulator. > After

[android-porting] Re: How to debug android c programs by gdbserver on G1

2009-02-24 Thread David Turner
You can use "adb forward tcp:1234 tcp:1234" to forward the local port on your development machine to the local port 1234 on the device/emulator. After that, you can do "target remote localhost:1234" in gdb to connect to your target through gdbserver. On Tue, Feb 24, 2009 at 2:18 AM, Maxwell Li wr