32-bit Thumb-2 breakpoints

Daniel Jacobowitz dan at debian.org
Wed Feb 3 10:19:31 EST 2010


On Wed, Feb 03, 2010 at 04:02:40PM +0100, Matthieu CASTET wrote:
> An annoying things about software breakpoints is that gdb doesn't
> understand arm kernel helper (for atomic operation/tls). And when it try
> to set breakpoint here it fails...

This is fixed in current GDB; it knows how to step out of the helper
page automatically.  If you're still seeing a problem with GDB 7.0,
could you file a bug?

On a related note, it would be Very Helpful(TM) if someone would
implement read-only access to the helper page via ptrace!  Not as
helpful as a visible vDSO with symbol names would be, but it would
still make things a lot easier.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the linux-arm-kernel mailing list