This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: memory region attribute CLI
"J.T. Conklin" wrote:
>
> >>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
> Andrew> Looking at it further, have you considered including
> Andrew> architectural information (arch, endian, ...?) in the
> Andrew> attributes? There are a number of operations that I suspect
> Andrew> would benefit from it - breakpoints and dissassembly. As a
> Andrew> real example, ever tried to debug the PPC's endian-switching
> Andrew> code?
>
> No, I hadn't thought of any of those, although my intention is not to
> preclude any useful attributes being added. I don't want to bite off
> too much at the start though --- all I was asked to do was to support
> n-bit reads and writes, but I wanted to put in place a complete frame-
> work rather than yet another hack.
Sounds good. I've lots of other gdbarch stuff to do before worrying
about that.
Andrew