From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Linas Vepstas (Code Aurora)" Subject: Re: [PATCH v4 31/36] Hexagon: kgdb support files Date: Mon, 19 Sep 2011 10:15:32 -0500 Message-ID: <20110919151532.GA6830@codeaurora.org> References: Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Dongdong Deng Cc: Richard Kuo , linux-arch@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org On Mon, Sep 19, 2011 at 05:46:09PM +0800, Dongdong Deng wrote: > On Thu, Sep 15, 2011 at 2:19 AM, Richard Kuo wr= ote: > > +#if 0 > > + =A0 =A0 =A0 ret =3D kgdb_handle_exception(args->trapnr & 0xff, ar= gs->signr, args->err, > > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= regs); > > + =A0 =A0 =A0 if (ret) > > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 return NOTIFY_DONE; > > +#endif >=20 > 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=20 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 --=20 Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora For= um.