Subject: patch - KGDB read and write of IO registers

From: Frank Rowand <[email-masked]>
Date: Fri, 21 Dec 2001 14:49:47 -0800

Tom,

Please apply the attached patch to linuxppc_2_4_devel.

The patch allows IO device registers to be accessed by KGDB via word
(or halfword) loads and stores for word (or halfword) sized objects
when naturally aligned.  The previous behaviour was to always do
byte load and stores which can result in side effects when accessing
an IO device register.

A second fix in the patch is to pass the correct address to
flush_icache_range() when writing to memory in hex2mem().

Thanks!

-Frank
--
Frank Rowand <[email-masked]>
MontaVista Software, Inc