Re: [PATCH v4 31/36] Hexagon: kgdb support files

From: Linas Vepstas (Code Aurora)
Date: Mon Sep 19 2011 - 11:15:47 EST


On Mon, Sep 19, 2011 at 05:46:09PM +0800, Dongdong Deng wrote:
> On Thu, Sep 15, 2011 at 2:19 AM, Richard Kuo <rkuo@xxxxxxxxxxxxxx> wrote:
> > +#if 0
> > +       ret = kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err,
> > +                                   regs);
> > +       if (ret)
> > +               return NOTIFY_DONE;
> > +#endif
>
> Hmm, the key code of invoking kgdb_core was disabled by "#if 0".

The Hexagon kgdb implementation is incomplete; I work on it as time
permits and urgency requires. I know from direct experience that,
for kernel bringup and stress testing on new platforms, that kdb is
invaluable, being infinitely easier to use than any hardware debugger.
(cheaper, too)

This world could use a really cheap, easy-to-setup jtag debugger.

-- Linas

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/