This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ColdFire registers
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: mrchaoxiang at hotmail dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 22 Jul 2005 20:20:59 +0200 (CEST)
- Subject: Re: ColdFire registers
- References: <BAY12-F84C4F5D685FC99D8A8281ACC90@phx.gbl>
From: =?gb2312?B?z/Igs6w=?= <mrchaoxiang@hotmail.com>
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