public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* ColdFire registers
@ 2005-07-22 13:29 向 超
  2005-07-22 13:34 ` Daniel Jacobowitz
  2005-07-22 18:21 ` Mark Kettenis
  0 siblings, 2 replies; 3+ messages in thread
From: 向 超 @ 2005-07-22 13:29 UTC (permalink / raw)
  To: gdb

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?

thx


Chao Xiang


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ColdFire registers
  2005-07-22 13:29 ColdFire registers 向 超
@ 2005-07-22 13:34 ` Daniel Jacobowitz
  2005-07-22 18:21 ` Mark Kettenis
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2005-07-22 13:34 UTC (permalink / raw)
  To: ?? ??; +Cc: gdb

On Fri, Jul 22, 2005 at 01:29:35PM +0000, ?? ?? wrote:
> 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?

GDB does not support the ColdFire registers.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ColdFire registers
  2005-07-22 13:29 ColdFire registers 向 超
  2005-07-22 13:34 ` Daniel Jacobowitz
@ 2005-07-22 18:21 ` Mark Kettenis
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Kettenis @ 2005-07-22 18:21 UTC (permalink / raw)
  To: mrchaoxiang; +Cc: gdb

   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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-22 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 13:29 ColdFire registers 向 超
2005-07-22 13:34 ` Daniel Jacobowitz
2005-07-22 18:21 ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).