[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] port access with avr-gdb
From: |
GOUY Yann |
Subject: |
Re: [avr-gcc-list] port access with avr-gdb |
Date: |
Sun, 13 Jun 2004 14:50:23 +0200 |
Le sam 12/06/2004 à 14:15, Rob MacLachlan a écrit :
> Yes. it is possible to set I/O registers directly using GDB, but it's a
> pain because the port location and format info is #defines in header
> files, and is not known to GDB. For this reason, I've never done this
> other than as an experiment. In comparison to the register browser of
> AVRStudio, this is rather lacking. You have to convert the I/O register
> number into a data space address, cast it to an appropriate type, then
> assign to it.
>
> I thought of writing some tool to translate the header file into a gdb
> script as a way to get this info into gdb, but never did. I suppose a
> better solution would be to get this imported as symbol table info somehow.
>
it seems to me that the registers don't appear in the symbol table.
if you take a look at the .lst file, you'll see accesses to
memory-mapped registers aren't decoded with the name of the registers.
regards.
Yann
> Rob
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
- [avr-gcc-list] port access with avr-gdb, Sébastien Taylor, 2004/06/11
- [avr-gcc-list] port access with avr-gdb, Rob MacLachlan, 2004/06/12
- Re: [avr-gcc-list] port access with avr-gdb,
GOUY Yann <=
- RE: [avr-gcc-list] port access with avr-gdb, Dave Hylands, 2004/06/13
- RE: [avr-gcc-list] port access with avr-gdb, Larry Barello, 2004/06/16
- RE: [avr-gcc-list] port access with avr-gdb, Theodore A. Roth, 2004/06/17
- RE: [avr-gcc-list] port access with avr-gdb, Theodore A. Roth, 2004/06/17
- Re: [avr-gcc-list] port access with avr-gdb, David Brown, 2004/06/17
- RE: [avr-gcc-list] port access with avr-gdb, Larry Barello, 2004/06/17
- RE: [avr-gcc-list] port access with avr-gdb, Theodore A. Roth, 2004/06/17
- Message not available
- RE: [avr-gcc-list] port access with avr-gdb, Theodore A. Roth, 2004/06/17
Re: [avr-gcc-list] port access with avr-gdb, Ned Konz, 2004/06/18