[android-kernel] Re: Android's kernel debugger

2009-01-01 Thread Dejun Liu
Thanks Niklas, I'm having a holiday now,I will try it later ,thks a lot. Steven 2009/1/1 Niklas Hallqvist > > > I do it all the time. > > Here's a paste of how I start the emulator. If this does no work you > are basing it of a different tree than I (do you use cupcake? maybe it's > changed t

[android-kernel] Re: Android's kernel debugger

2009-01-01 Thread Niklas Hallqvist
I do it all the time. Here's a paste of how I start the emulator. If this does no work you are basing it of a different tree than I (do you use cupcake? maybe it's changed there?) /home/projects/android/mydroid/out/host/openbsd-x86_64/bin/emulator -system out/target/product/generic -kernel kern

[android-kernel] Re: Android's kernel debugger

2008-12-30 Thread Dejun Liu
Hi all: Does anyone debug android kernel in qemu successful?,I have tried ,but failed ,emulator told me that it does not support the qemu option.does anyone add the qemu option to the android emulator? steven 2008/12/22 Niklas Hallqvist > > > OK, I checked my from memory instructions up, and

[android-kernel] Re: Android's kernel debugger

2008-12-21 Thread Niklas Hallqvist
OK, I checked my from memory instructions up, and you cannot issue the target remote command in gdb, before you have started qemu from the monitor: so add a quick (qemu) cont (qemu) stop thing in there. Of course that might mean you're missing real early init, if so, and you need to debug that, y

[android-kernel] Re: Android's kernel debugger

2008-12-21 Thread niklas
Well, it isn't very hard to debug the kernel in the emulator. Configure the kernel by hand to include debugging symbols: cd kernel make menuconfig Select Kernel hacking or whatever it is called and select the item which says to compile the kernel with debugging info. make cd .. When starting the e

[android-kernel] Re: Android's kernel debugger

2008-12-01 Thread Mike Chan
You probably want kgdb for the goldfish platform, you may have to port kgdb to the goldfish platform. The patches my apply pretty cleanly though. So for now, your best bet is printk's. If you do port kgdb to the goldfish platform please send your patches back to us. On Fri, Nov 28, 2008 at 8:47 P

[android-kernel] Re: Android's kernel debugger

2008-11-28 Thread allstars
hi Mike so far i just need to trace it by emulator on my PC since i dont have a msm borad and i just want to know how to easy-tracing Android kernel for example , its initialization (before Zygote is initialized) i think it will be efficient if i have a debugger rather than just seeing print

[android-kernel] Re: Android's kernel debugger

2008-11-21 Thread Mike Chan
Perhaps you are referring to the msm_serial debugger? Which allows one to debug (limited) the kernel over serial on the msm arch. CONFIG_MSM_SERIAL_DEBUGGER On Thu, Nov 20, 2008 at 7:03 PM, allstars <[EMAIL PROTECTED]> wrote: > > > http://source.android.com/release-features > > i think the sour

[android-kernel] Re: Android's kernel debugger

2008-11-20 Thread allstars
http://source.android.com/release-features i think the source for kernel debugger is located in /mydroid/system/ core/adb/kdbg.c and some other files i just dont know how to use it yet On Nov 21, 12:31 am, Frank Maker <[EMAIL PROTECTED]> wrote: > Where did you see their announcement for enha

[android-kernel] Re: Android's kernel debugger

2008-11-20 Thread Frank Maker
Where did you see their announcement for enhancing support for kernel debugging? I am also very interested in the best way to do kernel debugging. -- Frank Maker Graduate Student Researcher University of California, Davis Micropower Circuits and Systems Group (MCSG) [EMAIL PROTECTED] allstar