This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC PATCH 0/4] GDB Linux Kernel Thread Awareness
- From: Kieran Bingham <kieran dot bingham at linaro dot org>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org, arnez at linux dot vnet dot ibm dot com, jeffm at suse dot com, peter dot griffin at linaro dot org, lee dot jones at linaro dot org, russell dot wayman at linaro dot org, kernel at stlinux dot com
- Date: Wed, 2 Mar 2016 15:38:14 +0000
- Subject: Re: [RFC PATCH 0/4] GDB Linux Kernel Thread Awareness
- Authentication-results: sourceware.org; auth=none
- References: <1456427706-30077-1-git-send-email-kieran dot bingham at linaro dot org> <86r3fu9mzz dot fsf at gmail dot com>
On 01/03/16 16:33, Yao Qi wrote:
> Kieran Bingham <kieran.bingham@linaro.org> writes:
>
>> For ease of access/replication, this patch set is also hosted at:
>>
>> URL: http://git.linaro.org/people/kieran.bingham/binutils-gdb.git
>> TAG: 2016-02-25-LKD-thread-aware-c-gdb-submission
>
> How can I play with these new bits in GDB? Do you have some
> instructions to use GDB to debug linux kernel over QEMU?
Hi Yao,
I've added a script to build a kernel, gdb, and set up QEmu with some
instructions to get started with LKD to the following wiki-page:
https://wiki.linaro.org/LandingTeams/ST/GDB
Currently it needs ~5GB of disk space, which I realise is quite large,
but it is building a multi_v7_defconfig kernel target with debug-info
enabled which is the bulk of this.
--
Regards
Kieran