aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-irix3.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-03-31 01:21:01 +0000
committerStu Grossman <grossman@cygnus>1992-03-31 01:21:01 +0000
commitd1bb1d417052cccfaf3d74671d51a6be1ebe3e62 (patch)
tree092e02d56b80346454ffaa193df7743a7a29e01b /gdb/tm-irix3.h
parentd26b50b794acb49dd37c959f7781f52d292a4d1a (diff)
downloadgdb-d1bb1d417052cccfaf3d74671d51a6be1ebe3e62.zip
gdb-d1bb1d417052cccfaf3d74671d51a6be1ebe3e62.tar.gz
gdb-d1bb1d417052cccfaf3d74671d51a6be1ebe3e62.tar.bz2
* mipsread.c (parse_symbol, parse_procedure): Re-do the way that
.gdbinfo. symbols are created. Move creation from parse_procedure to parse_symbol, where it is fairly easy to grow the symtab. This also fixes a symtab trashing bug on all mips-based systems. * (got_numargs, lookup_numargs, free_numargs): Delete. Not needed anymore. * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct mips_extra_func_info, and all the PROC_xxx macros that look at it.
Diffstat (limited to 'gdb/tm-irix3.h')
-rw-r--r--gdb/tm-irix3.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/gdb/tm-irix3.h b/gdb/tm-irix3.h
index 2a99f62..df3b054 100644
--- a/gdb/tm-irix3.h
+++ b/gdb/tm-irix3.h
@@ -1,5 +1,5 @@
/* Target machine description for SGI Iris under Irix, for GDB.
- Copyright 1990, 1991 Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,6 +17,12 @@ 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. */
+#ifndef LANGUAGE_C
+#define LANGUAGE_C
+#endif
+#include <sym.h>
+#include <symconst.h>
+
#define TARGET_BYTE_ORDER BIG_ENDIAN
/* Floating point is IEEE compliant */
@@ -296,20 +302,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
mipsread.c (ab)uses this to save memory */
typedef struct mips_extra_func_info {
- unsigned long adr; /* memory address of start of procedure */
- long isym; /* pointer to procedure symbol */
- long pad2; /* iline: start of line number entries*/
- long regmask; /* save register mask */
- long regoffset; /* save register offset */
long numargs; /* number of args to procedure (was iopt) */
- long fregmask; /* save floating point register mask */
- long fregoffset; /* save floating point register offset */
- long framesize; /* frameoffset: frame size */
- short framereg; /* frame pointer register */
- short pcreg; /* offset or reg of return pc */
- long lnLow; /* lowest line in the procedure */
- long lnHigh; /* highest line in the procedure */
- long pad3; /* cbLineOffset: byte offset for this procedure from the fd base */
+ PDR pdr; /* Procedure descriptor record */
} *mips_extra_func_info_t;
#define EXTRA_FRAME_INFO \