From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Naushit Sakarvadia Cc: gdb@sources.redhat.com Subject: Re: 8 bit read Date: Mon, 23 Jul 2001 09:56:00 -0000 Message-id: <20010723095604.A15486@nevyn.them.org> References: <000c01c11391$00afa020$7802a8c0@QUINTUMCHI.COM> X-SW-Source: 2001-07/msg00321.html On Mon, Jul 23, 2001 at 11:03:23AM -0500, Naushit Sakarvadia wrote: > 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. This is a probablem with your remote stub, not GDB itself. You'll have to teach the stub to only do byte reads. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer