From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH 0/4] kgdb: Small usability improvements for x86 Date: Fri, 16 Mar 2012 13:14:39 +0100 Message-ID: <4F632EAF.5020307@siemens.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Jason Wessel , kvm@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , x86@kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from david.siemens.de ([192.35.17.14]:28055 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606Ab2CPMPE (ORCPT ); Fri, 16 Mar 2012 08:15:04 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 2012-03-16 12:40, Jan Kiszka wrote: > This cleans up the "info register" result on x86 and adds gdb detach on > reboot/shutdown for this target arch. See patches for details. > > CC: "H. Peter Anvin" > CC: Ingo Molnar > CC: Thomas Gleixner > CC: x86@kernel.org > > Jan Kiszka (4): > kgdb: x86: Return all segment registers also in 64-bit mode > kgdb: Make gdbstub_exit a nop unless gdb is attached > kgdb: Respect that flush op is optional > kgdb: x86: Detach gdb if machine shuts down or reboots > > arch/x86/include/asm/kgdb.h | 6 +++++- > arch/x86/kernel/kgdb.c | 6 ++++-- > arch/x86/kernel/reboot.c | 6 ++++++ > include/linux/kgdb.h | 1 + > kernel/debug/gdbstub.c | 6 +++++- > 5 files changed, 21 insertions(+), 4 deletions(-) > Sorry, wrong CC. Should have gone to LKML instead of the kvm list. I will repost. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux