Darn! I forgot to 'trim' the patch'. I have attached the 'trimmed' version. -=# Paul #=- On Mon, 2006-04-24 at 17:18 -0700, PAUL GILLIAM wrote: > I don't know if all ppc systems have this problem. But on a PowerPC-64 > system, I get the following when I try to build a 32-bit gdb: > > gcc -c -g -O2 -mminimal-toc -I. -I.././gdb -I.././gdb/config > -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H > -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd > -I.././gdb/../bfd -I.././gdb/../include -I../intl -I.././gdb/../intl > -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs > -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral > -Wunused-label -Wunused-function -Wno-pointer-sign -Wuninitialized > -Werror ppc-linux-nat.c > cc1: warnings being treated as errors > ppc-linux-nat.c: In function ‘fetch_register’: > ppc-linux-nat.c:396: warning: cast to pointer from integer of different > size > ppc-linux-nat.c: In function ‘store_register’: > ppc-linux-nat.c:691: warning: cast to pointer from integer of different > size > ppc-linux-nat.c: In function ‘ppc_linux_stopped_by_watchpoint’: > ppc-linux-nat.c:904: warning: cast from pointer to integer of different > size > make: *** [ppc-linux-nat.o] Error 1 > > > So as a starting point, I have attached a patch that gets rid of the > warnings. > > OK to commit? (not expecting a 'yes', but you never know unless you ask > 8-) > > -=# Paul #=- > >