patch for ARM GNU/Linux gdbserver

Philip Blundell Philip.Blundell@pobox.com
Sun May 14 11:27:00 GMT 2000


I sent this patch last month.  Some of it was applied, but the section below 
doesn't seem to have been (nor was it explicitly rejected).  Did it just fall 
through the cracks?

p.

>2000-04-08  Philip Blundell  <philb@gnu.org>
>
>	* gdbserver/low-linux.c: Add support for ARM GNU/Linux.
>	* config/arm/tm-linux.h (ARM_GNULINUX_TARGET): Define.
>
>Index: config/arm/tm-linux.h
>===================================================================
>RCS file: /cvs/src/src/gdb/config/arm/tm-linux.h,v
>retrieving revision 1.3
>diff -u -p -u -r1.3 tm-linux.h
>--- config/arm/tm-linux.h	2000/02/28 20:51:08	1.3
>+++ config/arm/tm-linux.h	2000/04/08 22:37:11
>@@ -26,6 +26,8 @@
> 
> #include "tm-linux.h"
> 
>+#define ARM_GNULINUX_TARGET
>+
> /* Target byte order on ARM Linux is not selectable.  */
> #undef TARGET_BYTE_ORDER_SELECTABLE_P
> #define TARGET_BYTE_ORDER_SELECTABLE_P		0
>Index: gdbserver/low-linux.c
>===================================================================
>RCS file: /cvs/src/src/gdb/gdbserver/low-linux.c,v
>retrieving revision 1.2
>diff -u -p -u -r1.2 low-linux.c
>--- gdbserver/low-linux.c	2000/03/21 05:23:05	1.2
>+++ gdbserver/low-linux.c	2000/04/08 22:37:15
>@@ -276,6 +276,20 @@ m68k_linux_register_u_addr (blockend, re
> {
>   return (blockend + 4 * regmap[regnum]);
> }
>+#elif defined(ARM_GNULINUX_TARGET)
>+static void
>+initialize_arch ()
>+{
>+  return;
>+}
>+
>+/* From arm-linux-nat.c */
>+int
>+arm_linux_register_u_addr (int blockend, int regnum)
>+{
>+  return blockend + REGISTER_BYTE (regnum);
>+}
>+
> #elif defined(IA64_GNULINUX_TARGET)
> #undef NUM_FREGS
> #define NUM_FREGS 0
>
>




More information about the Gdb-patches mailing list