* c-exp.y, m2-exp.y: Change type of address for msymbol to
authorPeter Schauer <Peter.Schauer@mytum.de>
Thu, 30 Sep 1993 19:06:33 +0000 (19:06 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Thu, 30 Sep 1993 19:06:33 +0000 (19:06 +0000)
builtin_type_long.
* infptrace.c (fetch_register, store_inferior_register,
child_xfer_memory):  Use PTRACE_XFER_TYPE for the type of ptrace
transfers. Provide an `int' default for PTRACE_XFER_TYPE.

gdb/ChangeLog
gdb/c-exp.y
gdb/m2-exp.y

index c1d1876218839f1018572f0e5e59c4a29fa8a330..bdde07d66db7b872230d222b67b1ea928564804a 100644 (file)
@@ -1,3 +1,11 @@
+Thu Sep 30 12:00:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * c-exp.y, m2-exp.y:  Change type of address for msymbol to
+       builtin_type_long.
+       * infptrace.c (fetch_register, store_inferior_register,
+       child_xfer_memory):  Use PTRACE_XFER_TYPE for the type of ptrace
+       transfers. Provide an `int' default for PTRACE_XFER_TYPE.
+
 Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
index d3351e87c0c2ee1320c68f970e3a5f2ef00f3d3d..1ab991c14c205ba060400c68bc82fc8e8117ffa0 100644 (file)
@@ -633,7 +633,7 @@ variable:   qualified_name
                          if (msymbol != NULL)
                            {
                              write_exp_elt_opcode (OP_LONG);
-                             write_exp_elt_type (builtin_type_int);
+                             write_exp_elt_type (builtin_type_long);
                              write_exp_elt_longcst ((LONGEST) SYMBOL_VALUE_ADDRESS (msymbol));
                              write_exp_elt_opcode (OP_LONG);
                              write_exp_elt_opcode (UNOP_MEMVAL);
@@ -726,7 +726,7 @@ variable:   name_not_typename
                              if (msymbol != NULL)
                                {
                                  write_exp_elt_opcode (OP_LONG);
-                                 write_exp_elt_type (builtin_type_int);
+                                 write_exp_elt_type (builtin_type_long);
                                  write_exp_elt_longcst ((LONGEST) SYMBOL_VALUE_ADDRESS (msymbol));
                                  write_exp_elt_opcode (OP_LONG);
                                  write_exp_elt_opcode (UNOP_MEMVAL);
index 13b93a0f0df5bca2bea99e13444387e1c749293a..ee6799cea45393660a838e0eb02ebbaf342a2346 100644 (file)
@@ -646,7 +646,7 @@ variable:   NAME
                              if (msymbol != NULL)
                                {
                                  write_exp_elt_opcode (OP_LONG);
-                                 write_exp_elt_type (builtin_type_int);
+                                 write_exp_elt_type (builtin_type_long);
                                  write_exp_elt_longcst ((LONGEST) SYMBOL_VALUE_ADDRESS (msymbol));
                                  write_exp_elt_opcode (OP_LONG);
                                  write_exp_elt_opcode (UNOP_MEMVAL);