aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-02 18:48:44 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-02 18:48:44 +0000
commit75fa3e0fd2d28cf1101e8cb4f7eed2cf8d8db2fb (patch)
treef89cbb1772ac1bb44cb1aa5d611cfcff046172ae
parent56f413cd8fdb0c50232e41b57f3c050e183c0d66 (diff)
downloadgdb-75fa3e0fd2d28cf1101e8cb4f7eed2cf8d8db2fb.zip
gdb-75fa3e0fd2d28cf1101e8cb4f7eed2cf8d8db2fb.tar.gz
gdb-75fa3e0fd2d28cf1101e8cb4f7eed2cf8d8db2fb.tar.bz2
* Remove unused STACK_END_ADDR in the following files (in other
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h, tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h, tm-hp300hpux.h, tm-isi.h.
-rw-r--r--gdb/ChangeLog18
-rw-r--r--gdb/config/a29k/tm-a29k.h6
-rw-r--r--gdb/config/i386/tm-i386v.h4
-rw-r--r--gdb/config/i960/tm-nindy960.h7
-rw-r--r--gdb/config/m68k/tm-amix.h7
-rw-r--r--gdb/config/m68k/tm-hp300hpux.h4
-rw-r--r--gdb/config/m68k/tm-isi.h4
-rw-r--r--gdb/config/m68k/tm-news.h8
-rw-r--r--gdb/config/m68k/tm-sun2.h7
-rw-r--r--gdb/config/mips/tm-mips.h4
10 files changed, 19 insertions, 50 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d25a293..20d224e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,23 @@
+Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * Remove unused STACK_END_ADDR in the following files (in other
+ files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
+ tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
+ tm-hp300hpux.h, tm-isi.h.
+
Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
+ * config/mips/nm-riscos.h: Define NBPG and UPAGES.
+ config/mips/xm-riscos.h: Include <sys/types.h>.
+
+ * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
+ not an initializer, to copy the structure.
+
+ * gdbtypes.h (struct type): Add field tag_name.
+ * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
+ Use it.
+ * {coff,dwarf,mips,stabs}read.c: Set it.
+
* xm-sysv4.h: Undefine HAVE_TERMIO.
* config/mips/nm-riscos.h: Remove unmatched #endif.
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index 1d10bfe..cc6592e 100644
--- a/gdb/config/a29k/tm-a29k.h
+++ b/gdb/config/a29k/tm-a29k.h
@@ -59,13 +59,9 @@ CORE_ADDR skip_prologue ();
This is the register stack; We call it "CONTROL" in GDB for consistency
with Pyramid. */
+/* I suspect this is obsolete, just like STACK_END_ADDR. */
#define CONTROL_END_ADDR 0x80200000
-/* Memory stack. This is for the default register stack size, which is
- only 0x800 bytes. Perhaps we should let the user specify stack sizes
- (and tell EBMON with the "ZS" command). */
-#define STACK_END_ADDR 0x801ff800
-
/* Stack grows downward. */
#define INNER_THAN <
diff --git a/gdb/config/i386/tm-i386v.h b/gdb/config/i386/tm-i386v.h
index c9557d3..66878e2 100644
--- a/gdb/config/i386/tm-i386v.h
+++ b/gdb/config/i386/tm-i386v.h
@@ -59,10 +59,6 @@ i386_skip_prologue PARAMS ((int));
#define SAVED_PC_AFTER_CALL(frame) \
(read_memory_integer (read_register (SP_REGNUM), 4))
-/* Address of end of stack space. */
-
-#define STACK_END_ADDR 0x80000000
-
/* Stack grows downward. */
#define INNER_THAN <
diff --git a/gdb/config/i960/tm-nindy960.h b/gdb/config/i960/tm-nindy960.h
index dba88e0..9d7dbff 100644
--- a/gdb/config/i960/tm-nindy960.h
+++ b/gdb/config/i960/tm-nindy960.h
@@ -73,13 +73,6 @@ extern char *nindy_ttyname; /* Name of serial port to talk to nindy */
extern void
nindy_before_main_loop(); /* In remote-nindy.c */
-/* Address of end of stack space.
- * This probably doesn't matter for nindy, because it's only used
- * in manipulation of core files, which we don't support.
- */
-
-#define STACK_END_ADDR (0xfe000000)
-
/* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one
and has no caller.
diff --git a/gdb/config/m68k/tm-amix.h b/gdb/config/m68k/tm-amix.h
index f5438be..5d5f8a2 100644
--- a/gdb/config/m68k/tm-amix.h
+++ b/gdb/config/m68k/tm-amix.h
@@ -32,13 +32,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define DECR_PC_AFTER_BREAK 0 /* No decrement required */
-/* Address of end of stack space. Actually one byte past it.
- This value is typically very OS dependent.
- FIXME: Check to see if SVR4 offers some machine independent way
- of discovering this value and use it if so, and if we need it. */
-
-/* #define STACK_END_ADDR 0xc0800000 */
-
/* Use the alternate method of determining valid frame chains. */
#define FRAME_CHAIN_VALID_ALTERNATE
diff --git a/gdb/config/m68k/tm-hp300hpux.h b/gdb/config/m68k/tm-hp300hpux.h
index 263d1eb..61e755b 100644
--- a/gdb/config/m68k/tm-hp300hpux.h
+++ b/gdb/config/m68k/tm-hp300hpux.h
@@ -24,8 +24,4 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define BPT_VECTOR 0x1
-/* Address of end of stack space. */
-
-#define STACK_END_ADDR 0xFFF00000
-
#include "m68k/tm-m68k.h"
diff --git a/gdb/config/m68k/tm-isi.h b/gdb/config/m68k/tm-isi.h
index eec7f30..19a099a 100644
--- a/gdb/config/m68k/tm-isi.h
+++ b/gdb/config/m68k/tm-isi.h
@@ -22,10 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HAVE_68881
-/* Address of end of stack space. */
-
-#define STACK_END_ADDR 0xfffe000
-
/* Data segment starts at etext rounded up to DATAROUND in {N,Z}MAGIC files */
#define DATAROUND 0x20000
diff --git a/gdb/config/m68k/tm-news.h b/gdb/config/m68k/tm-news.h
index 4bcaf4f..3d2cfb3 100644
--- a/gdb/config/m68k/tm-news.h
+++ b/gdb/config/m68k/tm-news.h
@@ -29,14 +29,6 @@ Here is an m-news.h file for gdb. It supports the 68881 registers.
#define HAVE_68881
-/* Use to compute STACK_END_ADDR. */
-#define TARGET_UPAGES 2
-#define TARGET_NBPG 4096
-
-/* Address of end of stack space. */
-
-#define STACK_END_ADDR (0x80000000 - TARGET_UPAGES * TARGET_NBPG)
-
/* Extract from an array REGBUF containing the (raw) register state
a function return value of type TYPE, and copy that, in virtual format,
into VALBUF. */
diff --git a/gdb/config/m68k/tm-sun2.h b/gdb/config/m68k/tm-sun2.h
index 864de59..a2d08af 100644
--- a/gdb/config/m68k/tm-sun2.h
+++ b/gdb/config/m68k/tm-sun2.h
@@ -17,11 +17,4 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* Address of the end of stack space. We get this from the system
- include files. */
-
-#include <sys/types.h>
-#include <machine/vmparam.h>
-#define STACK_END_ADDR USRSTACK
-
#include "m68k/tm-m68k.h"
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 4a9d375..0ee23c6 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -55,10 +55,6 @@ extern int mips_fpu;
#define IN_SIGTRAMP(pc, name) in_sigtramp(pc, name)
-/* Address of end of stack space. */
-
-#define STACK_END_ADDR (0x7ffff000)
-
/* Stack grows downward. */
#define INNER_THAN <