2003-10-09 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 10 Oct 2003 03:14:08 +0000 (03:14 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 10 Oct 2003 03:14:08 +0000 (03:14 +0000)
Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.

gdb/ChangeLog
gdb/ppc-tdep.h
gdb/sh-tdep.c
gdb/x86-64-tdep.h

index b5229ff4e1a8f068a8b1b9ee74380794b9640b9e..912545d3dbf22c1ebc0b25b66edd4257b26bcf89 100644 (file)
@@ -1,3 +1,10 @@
+2003-10-09  Andrew Cagney  <cagney@redhat.com>
+
+       * ppc-tdep.h (struct type): Declare opaque.
+       * x86-64-tdep.h (struct regcache): Declare opaque.
+       * sh-tdep.c (sh_do_fp_register): Delete "register" attribute, fix
+       coding style.
+
 2003-10-09  Andrew Cagney  <cagney@redhat.com>
 
        Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
index fd150a0a436f27dc270f7db982cc41a5bd24f853..07395a4cff9be42487f2e211de5dd7eebbec902f 100644 (file)
@@ -26,6 +26,7 @@ struct gdbarch;
 struct frame_info;
 struct value;
 struct regcache;
+struct type;
 
 /* From ppc-linux-tdep.c... */
 CORE_ADDR ppc_linux_frame_saved_pc (struct frame_info *fi);
index 35b9e71c3cafe7142aa0d3d8f1282862d334779b..c42e4113b4272644b5afc31a011f45943c74d03e 100644 (file)
@@ -1551,8 +1551,9 @@ sh_do_fp_register (struct gdbarch *gdbarch, struct ui_file *file, int regnum)
   fprintf_filtered (file, "\t(raw 0x");
   for (j = 0; j < register_size (gdbarch, regnum); j++)
     {
-      register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j
-       : register_size (gdbarch, regnum) - 1 - j;
+      int idx = (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG
+                ? j
+                : register_size (gdbarch, regnum) - 1 - j);
       fprintf_filtered (file, "%02x", (unsigned char) raw_buffer[idx]);
     }
   fprintf_filtered (file, ")");
index 9163405d2cf1d910d9468296d31584a82328b997..e800a2f68aea5f325c7b8f4e6a0d1bfc460c3c04 100644 (file)
@@ -27,6 +27,7 @@
 
 struct gdbarch;
 struct frame_info;
+struct regcache;
 
 #include "i386-tdep.h"