* config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The
authorJeff Law <law@redhat.com>
Fri, 25 Apr 1997 06:14:15 +0000 (06:14 +0000)
committerJeff Law <law@redhat.com>
Fri, 25 Apr 1997 06:14:15 +0000 (06:14 +0000)
        structure value address is found in $a0 now.
        * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise.
Fixes some struct.exp failures.

gdb/ChangeLog
gdb/config/mn10200/tm-mn10200.h
gdb/config/mn10300/tm-mn10300.h

index c895c7c9f0adb45cc2d223b7d9e0abe6a0a6389c..dc33c45f9b0bf11483dc49eb6b63cb86a7a57bff 100644 (file)
@@ -1,3 +1,9 @@
+Fri Apr 25 00:10:18 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The
+       structure value address is found in $a0 now.
+       * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise.
+
 Thu Apr 24 13:31:10 1997  Jeffrey A Law  (law@cygnus.com)
 
        * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers are
index dfe95cb6bca163604fc3419d68fcb42bc00e52f7..02c9d0c4e07dabd45ccb85c75cc8a0779a9f86dd 100644 (file)
@@ -140,8 +140,8 @@ extern CORE_ADDR mn10200_frame_saved_pc   PARAMS ((struct frame_info *));
   }
 
 #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
-  extract_address (REGBUF + REGISTER_BYTE (0), \
-                  REGISTER_RAW_SIZE (0))
+  extract_address (REGBUF + REGISTER_BYTE (4), \
+                  REGISTER_RAW_SIZE (4))
 
 #define STORE_RETURN_VALUE(TYPE, VALBUF) \
   { \
index d7b06b66dda014feefad84f9d630904a258b2b6c..72dcd52cb9b9c21afcd10a4c72bd50d23854617c 100644 (file)
@@ -104,8 +104,8 @@ extern CORE_ADDR mn10300_frame_saved_pc   PARAMS ((struct frame_info *));
 
 
 #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
-  extract_address (REGBUF + REGISTER_BYTE (0), \
-                  REGISTER_RAW_SIZE (0))
+  extract_address (REGBUF + REGISTER_BYTE (4), \
+                  REGISTER_RAW_SIZE (4))
 
 #define STORE_RETURN_VALUE(TYPE, VALBUF) \
   if (TYPE_CODE (TYPE) == TYPE_CODE_PTR) \