From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16774 invoked by alias); 7 Aug 2003 14:35:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16767 invoked from network); 7 Aug 2003 14:35:01 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 7 Aug 2003 14:35:01 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EC7BB2B7F; Thu, 7 Aug 2003 10:34:53 -0400 (EDT) Message-ID: <3F32638D.1080700@redhat.com> Date: Thu, 07 Aug 2003 14:35:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Schwab , Josef Wolf Cc: gdb@sources.redhat.com Subject: Re: Need Help for bringing m68k-based bdm target-patches form gdb-5.2.1 to gdb-5.3 References: <20030731223514.GD20282@raven.inka.de> <20030806205431.GA3349@raven.inka.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00098.txt.bz2 > Josef Wolf writes: > > >> Ough? Does that mean that gdb should not be used to debug supervisor mode? > > > GDB was designed to debug user level programs, which have no way to > see supervisor-only registers. So from GDB's point of view they don't > exist. That does not mean that GDB on m68k can not be extended to > handle them, you just need a way to get their contents from the target > (no current m68k target provides that). Originally yes. Since then (was the MIPS first?) people have been adding architecture variants that include the supervisor registers. The native register set, though, still only includes user-visible registers. Josef, The m68hc11 is hopefully a straight forward enough embedded architecture to see how it works. Do you have an FSF copyright assignment for GDB? And, would you know the history of these BDM patches - who their author was? Andrew