avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avr-gdb: watch on I/O register?


From: Mark Litwack
Subject: Re: [avr-gcc-list] avr-gdb: watch on I/O register?
Date: Mon, 12 May 2008 18:09:33 -0400
User-agent: KMail/1.9.9

On Friday 09 May 2008 06:11:11 pm Joerg Wunsch wrote:
> Mark Litwack <address@hidden> wrote:
> > Is it possible to set a watchpoint on an I/O register?
>
> I have successfully done it, but it's been on IO registers that could
> be accessed through MMIO only.  So it's possible that only ST/LD
> instructions will trigger the watch event but IN/OUT instructions
> don't.

Yep, I just tried it and that does seem to be the case.  I
can only get it to work on registers that are MMIO *only*.
The watch won't work on any of the lower registers
regardless of ST/LD or IN/OUT.

Kind of a bummer if you're trying to catch something that's
writing junk to lower memory (as was my case).

Oh well.

Thanks,

-mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]