aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-02-11 02:38:19 +0000
committerStu Grossman <grossman@cygnus>1993-02-11 02:38:19 +0000
commit733a94e88721dc7762176cdb948a75baa7923a97 (patch)
tree3af46bf7ca4ffcc0a3dea53eff21b46ad67658a5 /gdb
parent18a85a791ba927f2a8777b9117f924ae3e5db89c (diff)
downloadgdb-733a94e88721dc7762176cdb948a75baa7923a97.zip
gdb-733a94e88721dc7762176cdb948a75baa7923a97.tar.gz
gdb-733a94e88721dc7762176cdb948a75baa7923a97.tar.bz2
* findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
VALUE_LVAL to be lval_memory so that we don't try to modify wild register numbers when user tries to modify elements in structs passed as arguments. * inflow.c (child_terminal_info): Move banner outside of system specific #ifdefs. * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which passes struct/union arguments by address.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog18
-rw-r--r--gdb/tm-hppa.h5
2 files changed, 23 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2b45083..bfa017a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,21 @@
+Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
+
+ * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
+ VALUE_LVAL to be lval_memory so that we don't try to modify wild
+ register numbers when user tries to modify elements in structs
+ passed as arguments.
+ * inflow.c (child_terminal_info): Move banner outside of system
+ specific #ifdefs.
+ * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
+ passes struct/union arguments by address.
+
+Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * Based on patch from Martin Walker <maw@netcom.com>:
+ * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
+ ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
+ * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
+
Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
* remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
diff --git a/gdb/tm-hppa.h b/gdb/tm-hppa.h
index 957fc15..872cd0d 100644
--- a/gdb/tm-hppa.h
+++ b/gdb/tm-hppa.h
@@ -41,6 +41,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define IEEE_FLOAT
+/* When passing a structure to a function, GCC passes the address
+ in a register, not the structure itself. */
+
+#define REG_STRUCT_HAS_ADDR(gcc_p) (1)
+
/* Groan */
#define ARGS_GROW_DOWN