--- /dev/null
+--- prc-tools-2.3/binutils/gas/config/tc-m68k.h 2003-01-23 12:51:05.000000000 +0000
++++ prc-tools-2.3/binutils/gas/config/tc-m68k.h 2006-06-16 22:21:34.000000000 +0100
+@@ -20,6 +20,7 @@
+ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
++#include "../tc.h"
+ #define TC_M68K 1
+
+ #ifdef ANSI_PROTOTYPES
+@@ -106,7 +107,7 @@
+
+ #if !defined (REGISTER_PREFIX_OPTIONAL)
+ #if defined (M68KCOFF) || defined (OBJ_ELF)
+-#ifndef BFD_ASSEMBLER
++#if !defined(BFD_ASSEMBLER) && !defined(LOCAL_LABEL)
+ #define LOCAL_LABEL(name) (name[0] == '.' \
+ && (name[1] == 'L' || name[1] == '.'))
+ #endif /* ! BFD_ASSEMBLER */
+--- prc-tools-2.3/binutils/gas/tc.h 2001-11-15 21:28:53.000000000 +0000
++++ prc-tools-2.3/binutils/gas/tc.h 2006-06-16 22:59:00.000000000 +0100
+@@ -19,6 +19,11 @@
+ along with GAS; see the file COPYING. If not, write to
+ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
++#ifndef _GAS_TC_H
++#define _GAS_TC_H
++
++#include "../write.h"
++
+ /* In theory (mine, at least!) the machine dependent part of the assembler
+ should only have to include one file. This one. -- JF */
+
+@@ -85,18 +90,6 @@
+ #else
+ extern arelent **tc_gen_reloc PARAMS ((asection *, fixS *));
+ #endif
+-#else /* not BFD_ASSEMBLER */
+-#ifndef md_convert_frag
+-void md_convert_frag PARAMS ((object_headers * headers, segT, fragS * fragP));
+-#endif
+-
+-#ifndef tc_crawl_symbol_chain
+-void tc_crawl_symbol_chain PARAMS ((object_headers * headers));
+-#endif /* tc_crawl_symbol_chain */
+-
+-#ifndef tc_headers_hook
+-void tc_headers_hook PARAMS ((object_headers * headers));
+-#endif /* tc_headers_hook */
+ #endif /* BFD_ASSEMBLER */
+
+ #ifndef md_section_align
+@@ -108,3 +101,5 @@
+ #endif
+
+ /* end of tc.h */
++
++#endif /* _GAS_TC_H */
+--- prc-tools-2.3/binutils/gas/config/obj-coff.h 2003-04-04 09:15:14.000000000 +0100
++++ prc-tools-2.3/binutils/gas/config/obj-coff.h 2006-06-16 22:59:00.000000000 +0100
+@@ -903,4 +903,19 @@
+ #define SET_SECTION_RELOCS(sec, relocs, n) \
+ SA_SET_SCN_NRELOC (section_symbol (sec), n)
+
++#ifdef _GAS_TC_H
++#ifndef md_convert_frag
++#include "config/obj-coff.h"
++void md_convert_frag PARAMS ((object_headers * headers, segT, fragS * fragP));
++#endif
++
++#ifndef tc_crawl_symbol_chain
++void tc_crawl_symbol_chain PARAMS ((object_headers * headers));
++#endif /* tc_crawl_symbol_chain */
++
++#ifndef tc_headers_hook
++void tc_headers_hook PARAMS ((object_headers * headers));
++#endif /* tc_headers_hook */
++#endif
++
+ #endif /* OBJ_FORMAT_H */
+--- prc-tools-2.3/gdb-5.3/include/obstack.h 2006-06-16 23:12:30.000000000 +0100
++++ prc-tools-2.3/gdb/include/obstack.h 2005-05-10 11:21:08.000000000 +0100
+@@ -1,6 +1,6 @@
+ /* obstack.h - object stack macros
+ Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
+- 1999, 2000
++ 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
+
+
+@@ -19,7 +19,7 @@
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
++ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
+ USA. */
+
+ /* Summary:
+@@ -145,11 +145,7 @@
+
+ #if defined _LIBC || defined HAVE_STRING_H
+ # include <string.h>
+-# if defined __STDC__ && __STDC__
+-# define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N))
+-# else
+-# define _obstack_memcpy(To, From, N) memcpy ((To), (char *)(From), (N))
+-# endif
++# define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N))
+ #else
+ # ifdef memcpy
+ # define _obstack_memcpy(To, From, N) memcpy ((To), (char *)(From), (N))
+@@ -174,18 +170,12 @@
+ char *chunk_limit; /* address of char after current chunk */
+ PTR_INT_TYPE temp; /* Temporary for some macros. */
+ int alignment_mask; /* Mask of alignment for each object. */
+-#if defined __STDC__ && __STDC__
+ /* These prototypes vary based on `use_extra_arg', and we use
+ casts to the prototypeless function type in all assignments,
+ but having prototypes here quiets -Wstrict-prototypes. */
+ struct _obstack_chunk *(*chunkfun) (void *, long);
+ void (*freefun) (void *, struct _obstack_chunk *);
+ void *extra_arg; /* first arg for chunk alloc/dealloc funcs */
+-#else
+- struct _obstack_chunk *(*chunkfun) (); /* User's fcn to allocate a chunk. */
+- void (*freefun) (); /* User's function to free a chunk. */
+- char *extra_arg; /* first arg for chunk alloc/dealloc funcs */
+-#endif
+ unsigned use_extra_arg:1; /* chunk alloc/dealloc funcs take extra arg */
+ unsigned maybe_empty_object:1;/* There is a possibility that the current
+ chunk contains a zero-length object. This
+@@ -198,7 +188,6 @@
+
+ /* Declare the external functions we use; they are in obstack.c. */
+
+-#if defined __STDC__ && __STDC__
+ extern void _obstack_newchunk (struct obstack *, int);
+ extern void _obstack_free (struct obstack *, void *);
+ extern int _obstack_begin (struct obstack *, int, int,
+@@ -207,16 +196,7 @@
+ void *(*) (void *, long),
+ void (*) (void *, void *), void *);
+ extern int _obstack_memory_used (struct obstack *);
+-#else
+-extern void _obstack_newchunk ();
+-extern void _obstack_free ();
+-extern int _obstack_begin ();
+-extern int _obstack_begin_1 ();
+-extern int _obstack_memory_used ();
+-#endif
+ \f
+-#if defined __STDC__ && __STDC__
+-
+ /* Do the function-declarations after the structs
+ but before defining the macros. */
+
+@@ -255,19 +235,10 @@
+ int obstack_chunk_size (struct obstack *obstack);
+ int obstack_memory_used (struct obstack *obstack);
+
+-#endif /* __STDC__ */
+-
+-/* Non-ANSI C cannot really support alternative functions for these macros,
+- so we do not declare them. */
+-
+ /* Error handler called when `obstack_chunk_alloc' failed to allocate
+ more memory. This can be set to a user defined function. The
+ default action is to print a message and abort. */
+-#if defined __STDC__ && __STDC__
+ extern void (*obstack_alloc_failed_handler) (void);
+-#else
+-extern void (*obstack_alloc_failed_handler) ();
+-#endif
+
+ /* Exit value used when `print_and_abort' is used. */
+ extern int obstack_exit_failure;
+@@ -292,8 +263,6 @@
+
+ /* To prevent prototype warnings provide complete argument list in
+ standard C version. */
+-#if defined __STDC__ && __STDC__
+-
+ # define obstack_init(h) \
+ _obstack_begin ((h), 0, 0, \
+ (void *(*) (long)) obstack_chunk_alloc, (void (*) (void *)) obstack_chunk_free)
+@@ -317,33 +286,7 @@
+ # define obstack_freefun(h, newfreefun) \
+ ((h) -> freefun = (void (*)(void *, struct _obstack_chunk *)) (newfreefun))
+
+-#else
+-
+-# define obstack_init(h) \
+- _obstack_begin ((h), 0, 0, \
+- (void *(*) ()) obstack_chunk_alloc, (void (*) ()) obstack_chunk_free)
+-
+-# define obstack_begin(h, size) \
+- _obstack_begin ((h), (size), 0, \
+- (void *(*) ()) obstack_chunk_alloc, (void (*) ()) obstack_chunk_free)
+-
+-# define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \
+- _obstack_begin ((h), (size), (alignment), \
+- (void *(*) ()) (chunkfun), (void (*) ()) (freefun))
+-
+-# define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \
+- _obstack_begin_1 ((h), (size), (alignment), \
+- (void *(*) ()) (chunkfun), (void (*) ()) (freefun), (arg))
+-
+-# define obstack_chunkfun(h, newchunkfun) \
+- ((h) -> chunkfun = (struct _obstack_chunk *(*)()) (newchunkfun))
+-
+-# define obstack_freefun(h, newfreefun) \
+- ((h) -> freefun = (void (*)()) (newfreefun))
+-
+-#endif
+-
+-#define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = achar)
++#define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = (achar))
+
+ #define obstack_blank_fast(h,n) ((h)->next_free += (n))
+
+@@ -411,7 +354,7 @@
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + 1 > __o->chunk_limit) \
+ _obstack_newchunk (__o, 1); \
+- *(__o->next_free)++ = (datum); \
++ obstack_1grow_fast (__o, datum); \
+ (void) 0; })
+
+ /* These assume that the obstack alignment is good enough for pointers or ints,
+@@ -423,19 +366,28 @@
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
+ _obstack_newchunk (__o, sizeof (void *)); \
+- *((void **)__o->next_free)++ = ((void *)datum); \
+- (void) 0; })
++ obstack_ptr_grow_fast (__o, datum); })
+
+ # define obstack_int_grow(OBSTACK,datum) \
+ __extension__ \
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + sizeof (int) > __o->chunk_limit) \
+ _obstack_newchunk (__o, sizeof (int)); \
+- *((int *)__o->next_free)++ = ((int)datum); \
++ obstack_int_grow_fast (__o, datum); })
++
++# define obstack_ptr_grow_fast(OBSTACK,aptr) \
++__extension__ \
++({ struct obstack *__o1 = (OBSTACK); \
++ *(const void **) __o1->next_free = (aptr); \
++ __o1->next_free += sizeof (const void *); \
+ (void) 0; })
+
+-# define obstack_ptr_grow_fast(h,aptr) (*((void **) (h)->next_free)++ = (void *)aptr)
+-# define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint)
++# define obstack_int_grow_fast(OBSTACK,aint) \
++__extension__ \
++({ struct obstack *__o1 = (OBSTACK); \
++ *(int *) __o1->next_free = (aint); \
++ __o1->next_free += sizeof (int); \
++ (void) 0; })
+
+ # define obstack_blank(OBSTACK,length) \
+ __extension__ \
+@@ -443,7 +395,7 @@
+ int __len = (length); \
+ if (__o->chunk_limit - __o->next_free < __len) \
+ _obstack_newchunk (__o, __len); \
+- __o->next_free += __len; \
++ obstack_blank_fast (__o, __len); \
+ (void) 0; })
+
+ # define obstack_alloc(OBSTACK,length) \
+@@ -485,9 +437,9 @@
+ # define obstack_free(OBSTACK, OBJ) \
+ __extension__ \
+ ({ struct obstack *__o = (OBSTACK); \
+- void *__obj = (OBJ); \
++ void *__obj = (void *) (OBJ); \
+ if (__obj > (void *)__o->chunk && __obj < (void *)__o->chunk_limit) \
+- __o->next_free = __o->object_base = __obj; \
++ __o->next_free = __o->object_base = (char *) __obj; \
+ else (obstack_free) (__o, __obj); })
+ \f
+ #else /* not __GNUC__ or not __STDC__ */
+@@ -530,26 +482,29 @@
+ # define obstack_1grow(h,datum) \
+ ( (((h)->next_free + 1 > (h)->chunk_limit) \
+ ? (_obstack_newchunk ((h), 1), 0) : 0), \
+- (*((h)->next_free)++ = (datum)))
++ obstack_1grow_fast (h, datum))
+
+ # define obstack_ptr_grow(h,datum) \
+ ( (((h)->next_free + sizeof (char *) > (h)->chunk_limit) \
+ ? (_obstack_newchunk ((h), sizeof (char *)), 0) : 0), \
+- (*((char **) (((h)->next_free+=sizeof(char *))-sizeof(char *))) = ((char *) datum)))
++ obstack_ptr_grow_fast (h, datum))
+
+ # define obstack_int_grow(h,datum) \
+ ( (((h)->next_free + sizeof (int) > (h)->chunk_limit) \
+ ? (_obstack_newchunk ((h), sizeof (int)), 0) : 0), \
+- (*((int *) (((h)->next_free+=sizeof(int))-sizeof(int))) = ((int) datum)))
++ obstack_int_grow_fast (h, datum))
++
++# define obstack_ptr_grow_fast(h,aptr) \
++ (((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr))
+
+-# define obstack_ptr_grow_fast(h,aptr) (*((char **) (h)->next_free)++ = (char *) aptr)
+-# define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint)
++# define obstack_int_grow_fast(h,aint) \
++ (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr))
+
+ # define obstack_blank(h,length) \
+ ( (h)->temp = (length), \
+ (((h)->chunk_limit - (h)->next_free < (h)->temp) \
+ ? (_obstack_newchunk ((h), (h)->temp), 0) : 0), \
+- ((h)->next_free += (h)->temp))
++ obstack_blank_fast (h, (h)->temp))
+
+ # define obstack_alloc(h,length) \
+ (obstack_blank ((h), (length)), obstack_finish ((h)))
+@@ -574,21 +529,12 @@
+ (h)->object_base = (h)->next_free, \
+ __INT_TO_PTR ((h)->temp))
+
+-# if defined __STDC__ && __STDC__
+-# define obstack_free(h,obj) \
++# define obstack_free(h,obj) \
+ ( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
+ (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
+ ? (int) ((h)->next_free = (h)->object_base \
+ = (h)->temp + (char *) (h)->chunk) \
+ : (((obstack_free) ((h), (h)->temp + (char *) (h)->chunk), 0), 0)))
+-# else
+-# define obstack_free(h,obj) \
+-( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
+- (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
+- ? (int) ((h)->next_free = (h)->object_base \
+- = (h)->temp + (char *) (h)->chunk) \
+- : (_obstack_free ((h), (h)->temp + (char *) (h)->chunk), 0)))
+-# endif
+
+ #endif /* not __GNUC__ or not __STDC__ */
+
+--- prc-tools-2.3/gdb/gdb/remote-palmos.c~ 2006-06-16 23:22:00.000000000 +0100
++++ prc-tools-2.3/gdb/gdb/remote-palmos.c 2006-06-16 23:29:32.000000000 +0100
+@@ -127,8 +127,6 @@
+ other form of hairy serial connection, I would think 2 seconds would
+ be plenty. */
+
+-static int remote_timeout = 2;
+-
+ static CORE_ADDR text_addr=0, data_addr=0, bss_addr=0, __text___addr=0;
+ static int ncodesects=0;
+ static CORE_ADDR save_ssp, save_usp;