Re: [PATCH 2/3] kgdb, mips: add arch support for the kernel's kgdbcore

From: Atsushi Nemoto
Date: Mon Jul 28 2008 - 21:24:20 EST


On Mon, 28 Jul 2008 13:50:55 -0500, Jason Wessel <jason.wessel@xxxxxxxxxxxxx> wrote:
> There is no technical reason that frame pointers are required for KGDB
> in the present mainline sources. This does allow for further
> traceability but it is certainly not a requirement for the use of kgdb.
> If all you want to do is look at frame 0 and inspect memory or set a
> breakpoint and look at some structures kgdb will certainly serve your
> purpose.

Yes. On MIPS, I can even show backtrace without FRAME_POINTER (if I
enabled DEBUG_INFO).

> I'll consider this a defect to the kgdb core and update the
> documentation to reflect that it is advised to use frame pointers, but
> not a requirement.

Thanks, your patch is fine for me.

---
Atsushi Nemoto
--
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/