diff options
author | Stu Grossman <grossman@cygnus> | 1992-06-16 21:17:43 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-06-16 21:17:43 +0000 |
commit | b303297ad8117a5dba8d0676fc32d89102de0138 (patch) | |
tree | 43ab08cb21802c52a7eefb424e00bffc6b9fdfa5 | |
parent | 916330207c13c37c0f986f52476701ec8620f30e (diff) | |
download | gdb-b303297ad8117a5dba8d0676fc32d89102de0138.zip gdb-b303297ad8117a5dba8d0676fc32d89102de0138.tar.gz gdb-b303297ad8117a5dba8d0676fc32d89102de0138.tar.bz2 |
* mipsread.c: #include <strings.h> for rindex().
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mipsread.c | 15 |
2 files changed, 13 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e67a8a8..e4434a4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 16 14:15:51 1992 Stu Grossman (grossman at cygnus.com) + + * mipsread.c: #include <strings.h> for rindex(). + Tue Jun 16 09:01:49 1992 Fred Fish (fnf@cygnus.com) * xcoffexec.c (map_vmap): Turn comment into a real C comment. diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 433beb3..bd4bd68 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -67,6 +67,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <sys/param.h> #include <sys/file.h> #include <sys/stat.h> +#include <strings.h> #include "coff/mips.h" /* COFF-like aspects of ecoff files */ #include "coff/sym.h" /* Symbol structures in ecoff files */ @@ -1649,7 +1650,9 @@ parse_procedure (pr, bound, have_stabs) b = SYMBOL_BLOCK_VALUE(s); } else { complain (&pdr_for_nonsymbol_complaint, sh_name); -#if 0 +#if 1 + return; +#else /* FIXME -- delete. We can't do symbol allocation now; it's all done. */ s = new_symbol(sh_name); SYMBOL_NAMESPACE(s) = VAR_NAMESPACE; @@ -3057,26 +3060,26 @@ _initialize_mipsread () builtin_type_string = init_type(TYPE_CODE_PASCAL_ARRAY, TARGET_CHAR_BIT / TARGET_CHAR_BIT, - TYPE_FLAG_FUND_TYPE, "string", + 0, "string", (struct objfile *) NULL); builtin_type_complex = init_type(TYPE_CODE_FLT, TARGET_COMPLEX_BIT / TARGET_CHAR_BIT, - TYPE_FLAG_FUND_TYPE, "complex", + 0, "complex", (struct objfile *) NULL); builtin_type_double_complex = init_type(TYPE_CODE_FLT, TARGET_DOUBLE_COMPLEX_BIT / TARGET_CHAR_BIT, - TYPE_FLAG_FUND_TYPE, "double complex", + 0, "double complex", (struct objfile *) NULL); builtin_type_fixed_dec = init_type(TYPE_CODE_INT, TARGET_INT_BIT / TARGET_CHAR_BIT, - TYPE_FLAG_FUND_TYPE, "fixed decimal", + 0, "fixed decimal", (struct objfile *) NULL); builtin_type_float_dec = init_type(TYPE_CODE_FLT, TARGET_DOUBLE_BIT / TARGET_CHAR_BIT, - TYPE_FLAG_FUND_TYPE, "floating decimal", + 0, "floating decimal", (struct objfile *) NULL); } |