This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How does breakpoint setted on GDB operates on mpc860 module?
- To: "Tony Ko" <nhko at gctsemi dot com>
- Subject: Re: [ECOS] How does breakpoint setted on GDB operates on mpc860 module?
- From: Jesper Skov <jskov at cambridge dot redhat dot com>
- Date: 19 Jun 2001 10:02:06 +0200
- Cc: <ecos-discuss at sources dot redhat dot com>
- References: <9860C773D04D834D83FD6FAD00A61E930F1FE0@gctsemi.gctsemi.com>
>>>>> "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