Re: [RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu

From: Mark Brown
Date: Thu Dec 13 2018 - 07:40:49 EST


On Thu, Dec 13, 2018 at 01:29:08PM +0100, Anders Roxell wrote:
> Adding a fragment to make it easier to know what options is needed to
> build a kernel to get the that you can debug in qemu.

> @@ -0,0 +1,7 @@
> +# Enable debug info for gdb
> +# CONFIG_COMPILE_TEST is not set
> +CONFIG_DEBUG_INFO=y
> +CONFIG_GDB_SCRIPTS=y

Is this specifically for qemu or is this just good for debugging with
GDB in general (eg, via JTAG)?

Attachment: signature.asc
Description: PGP signature