Subject: Re: gdb and trapframes [was Re: Repeatable crash]
To: Nick Hudson <nick.hudson@dsl.pipex.com>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 02/06/2008 19:24:29
On Wed, Feb 06, 2008 at 10:48:07AM +0000, Nick Hudson wrote:
>
> libkvm is not MI. Think cross debugger using target remote - magic constants
> work for this.
However it would be much easier to keep things in step if:
1) The 'magic constants' were replaced by structures that use MI types
to get things at the correct offsets.
2) Native builds verified (at compile time) that the private structures
generated the correct offsets.
David
--
David Laight: david@l8s.co.uk