WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link

To: Christoph Egger <Christoph.Egger@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 04 Jan 2007 09:58:51 +0000
Cc: John Levon <levon@xxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 04 Jan 2007 01:58:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701040930.51259.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Accv5u94LjLz2pvaEduNhgAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] mkelf32: Correct sh_link
User-agent: Microsoft-Entourage/11.2.5.060620
On 4/1/07 08:30, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

>> Indeed, and that's what we're doing currently. But this is problematic
>> as it's very easy for other files to get lost, not be handed over etc.
>> and working backwards to the right version is very rarely feasible...
>> Thus we'd like to have a single binary (or more importantly dump!) that
>> has everything in place.
> 
> Further, when you boot on a serial console how do you connect gdb
> over a serial console? You can't use a serial console for two things
> concurrently. Then a xen-kernel debugger is useful. And yeah, that needs
> standard symtabs and strtabs.
> And with a kernel debugger, you don't need to worry about what John pointed
> out.

Gdbstub and console can share a serial port. When gdbstub is entered then
the gdbstub steals the serial port. Console messages are then wrapped as gdb
messages. Given that this setup works and requires minimal code in Xen, I
have no interest in accepting an in-kernel debugger into the tree.

 -- Keir


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