This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 8 bit read
- To: Naushit Sakarvadia <Naushit_Sakarvadia at quintum dot com>
- Subject: Re: 8 bit read
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 23 Jul 2001 14:50:02 -0400
- Cc: gdb at sources dot redhat dot com
- References: <000c01c11391$00afa020$7802a8c0@QUINTUMCHI.COM>
> Hello All,
>
> This is regarding PowerPC 8260 gdb.
>
> My question is how do I tell gdb to read a byte only while reading
> 0xfff00100..0xfff00500 address range.
> While checking mem I uze "x /b 0xfff00100" and it works fine , but while
> I do unassamble from this address it tries to read a word from this
> location, and as a result the first byte is repeated 4 times.It is 8 bit
> wide flash mem,so
> you cant read a word at a time.
>
> So I want to tell gdb to do byte wide reading while doing unassambling and
> all other operations.
>
> Please reply me personally, I am not on gdb mailing list.
FYI, J.T.C. was working on infrastructure to teach GDB about memory
attributes. A basic framework is in place only nothing uses it.
I believe his next step was to extend the protocol so that memory
packets could include things like the read size.
Andrew