This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How does breakpoint setted on GDB operates on mpc860 module?


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]