From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15261 invoked by alias); 22 Jul 2005 18:21:11 -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 15233 invoked by uid 22791); 22 Jul 2005 18:21:08 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 22 Jul 2005 18:21:08 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j6MIL41Y018136; Fri, 22 Jul 2005 20:21:04 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j6MIL3g9029079; Fri, 22 Jul 2005 20:21:03 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j6MIKxEC014714; Fri, 22 Jul 2005 20:20:59 +0200 (CEST) Date: Fri, 22 Jul 2005 18:21:00 -0000 Message-Id: <200507221820.j6MIKxEC014714@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: mrchaoxiang@hotmail.com CC: gdb@sources.redhat.com In-reply-to: (message from =?gb2312?B?z/Igs6w=?= on Fri, 22 Jul 2005 13:29:35 +0000) Subject: Re: ColdFire registers References: X-SW-Source: 2005-07/txt/msg00224.txt.bz2 From: =?gb2312?B?z/Igs6w=?= Date: Fri, 22 Jul 2005 13:29:35 +0000 I am using m68k-bdm-elf-gdb 6.0 for my MCF5249EVB.I built the toolchain myself. The gdb debugger can connect to the target with command 'target bdm /dev/bdmcf0'. my problem is the debugger can display only basic CPU registers, the eMAC registers such as MACSR, ACC0, ACC1 can't be accessed. The 'info reg' command also results the basic registers. How can I tell the gdb to read and modify eMAC registers? Not unless you contribute the code for gdb to do that ;-). Mark