public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How does breakpoint setted on GDB operates on mpc860 module?
@ 2001-06-18 20:51 Tony Ko
  2001-06-19  1:02 ` Jesper Skov
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Ko @ 2001-06-18 20:51 UTC (permalink / raw)
  To: ecos-discuss

hi.
I know GDB use software breakpoint. 
What operation happens in mpc860  when setting of breakpoint by
software ?
I mean what register is used for setting instruction breakpoint or
something else?

thank you.

Nohee Ko
Staff Engineer, SI Hardware
www.gctsemi.com
Tel.  82-2-2167-1283
Fax. 82-2-2167-1290
Mobile : 016-368-7742

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

* Re: [ECOS] How does breakpoint setted on GDB operates on mpc860 module?
  2001-06-18 20:51 [ECOS] How does breakpoint setted on GDB operates on mpc860 module? Tony Ko
@ 2001-06-19  1:02 ` Jesper Skov
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Skov @ 2001-06-19  1:02 UTC (permalink / raw)
  To: Tony Ko; +Cc: ecos-discuss

>>>>> "Tony" == Tony Ko <nhko@gctsemi.com> writes:

Tony> hi.  I know GDB use software breakpoint.  What operation happens
Tony> in mpc860 when setting of breakpoint by software ?

Nothing happens. GDB sets a break instruction in the code
stream. Eventually the CPU hits it.

Tony>  I mean what register is used for setting instruction breakpoint
Tony> or something else?

None. A trap instruction is used.

Jesper

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

end of thread, other threads:[~2001-06-19  1:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-18 20:51 [ECOS] How does breakpoint setted on GDB operates on mpc860 module? Tony Ko
2001-06-19  1:02 ` Jesper Skov

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).