9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] breakpoint and single step on ARM
@ 2013-08-03 20:23 Richard Miller
  2013-08-04  8:56 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Miller @ 2013-08-03 20:23 UTC (permalink / raw)
  To: 9fans

A couple of patches applied yesterday should make debugging on ARM a
bit more reliable.  Using db or acid on ARM, you may have noticed that
a program being debugged would sometimes execute through a breakpoint
without stopping, or run away while being single stepped.  It turns out,
as often happens, that one symptom had two separate causes.  For details:
	/n/sources/patch/applied/5db-condcode/readme
	/n/sources/patch/applied/arm-bkpt-cond/readme

To take advantage of the patches, rebuild libmach.a, then acid and db.
On machines with a kw kernel (sheevaplug et al), you'll also want to
rebuild /arm/9plug; otherwise breakpoints will stop working at all.
The new 9plug will, however, still work with the old libmach; and
the bcm and teg2 kernels are already compatible with the new libmach.




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

* Re: [9fans] breakpoint and single step on ARM
  2013-08-03 20:23 [9fans] breakpoint and single step on ARM Richard Miller
@ 2013-08-04  8:56 ` erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2013-08-04  8:56 UTC (permalink / raw)
  To: 9fans

On Sat Aug  3 16:28:26 EDT 2013, 9fans@hamnavoe.com wrote:
> A couple of patches applied yesterday should make debugging on ARM a
> bit more reliable.  Using db or acid on ARM, you may have noticed that
> a program being debugged would sometimes execute through a breakpoint
> without stopping, or run away while being single stepped.  It turns out,
> as often happens, that one symptom had two separate causes.  For details:
> 	/n/sources/patch/applied/5db-condcode/readme
> 	/n/sources/patch/applied/arm-bkpt-cond/readme
>
> To take advantage of the patches, rebuild libmach.a, then acid and db.
> On machines with a kw kernel (sheevaplug et al), you'll also want to
> rebuild /arm/9plug; otherwise breakpoints will stop working at all.
> The new 9plug will, however, still work with the old libmach; and
> the bcm and teg2 kernels are already compatible with the new libmach.

thanks!

- erik



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

end of thread, other threads:[~2013-08-04  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-03 20:23 [9fans] breakpoint and single step on ARM Richard Miller
2013-08-04  8:56 ` erik quanstrom

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 NNTP newsgroup(s).