From 8d658c0866a3cb9beb3a049e1110858c29458e7d Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Thu, 30 Sep 1993 19:06:33 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 8 ++++++++ gdb/c-exp.y | 4 ++-- gdb/m2-exp.y | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c1d1876218..bdde07d66d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/c-exp.y b/gdb/c-exp.y index d3351e87c0..1ab991c14c 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -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); diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 13b93a0f0d..ee6799cea4 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -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);