[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH][3 of 3] GDB serial port debugging: Changes to add SMP pausing, x86_64 register mappings for serial port GDB, and others.


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Dan Doucette" <doucette.daniel@xxxxxxxxx>
  • Date: Thu, 20 Dec 2007 12:58:54 -0800
  • Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 20 Dec 2007 12:59:34 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=riiK+3e0nQPIyb9Mw3EnsOxfSpz92qN20/pQqSGT8wo3Ofqietr2872gbOtx3UL+OO13ZrJX0oQjlF7rjzcES6rJ5i301HNw5GDQ7+H0EDuTlV8Lb/82Pdy+M0BR/1PfzgNGFkqoSO6URMHiaRt+jRVDyXSTMvBq/FgE/tUk8+w=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello,

>> Pausing/resuming cpus looks like arch generic.
>> Could you move them to the common code?
 
Yes.  Moved to common/gdbstub.c.

>> TRAP_int3 is x86 specific.
>> Please define a constant like TRAP_gdbstab in the arch header and use it.
 
The value of the vector is not used, yet.  I just removed this change from the patch.
 
>> Adding gdb_arch_write_reg() breaks other arch (IA64 and power).
>> How about adding the default definition which just returns
>> as a weak symbol?
 
>>> Just add the no-op implementation to arch/{ia64,powerpc}/gdbstub.c.
 
I added the no-op implementations to ia64 and powerpc.
 
Dan.
 
 
 
On Dec 20, 2007 1:39 AM, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:



On 20/12/07 01:36, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx> wrote:

> Adding gdb_arch_write_reg() breaks other arch (IA64 and power).
> How about adding the default definition which just returns
> as a weak symbol?

Just add the no-op implementation to arch/{ia64,powerpc}/gdbstub.c.

 -- Keir



Attachment: gdb_patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.