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 PM, allstars <[EMAIL PROTECTED]> wrote:

>
> 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 printk by dmesg
>
> thanks
>
> On Nov 22, 4:36 am, "Mike Chan" <[EMAIL PROTECTED]> wrote:
> > 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 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 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]
> >
> > > > allstars wrote:
> > > > > hello world
> > > > > Android has announced that it enhances support for kernel debugger
> >
> > > > > where can i find the code for kernel debugger?
> >
> > > > > i have found other enhancements like alarm, ashmem, binder ,....
> etc
> > > > > but anyway i cannot find kernel debugger
> >
> > > > > and how should i do to do kernel debugging?
> > > > > just take qemu for example....
> > > > > Android has removed the -S option which freezes CPU at start-up
> >
> > > > > so can someone recommend what to do to kernel-debugging??
> >
> > > > > thanks
> >
> > --
> > MIke Chan
> >
>


-- 
MIke Chan

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to