* config.sub configure.in config/.Sanitize config/mh-irix4

gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
gdb/config/mh-irix4 texinfo/configure.in:  Port to SGI Irix-4.x.
This commit is contained in:
Stu Grossman
1992-03-05 20:20:27 +00:00
parent d7eddc5177
commit 407a8389b4
15 changed files with 238 additions and 8 deletions

View File

@@ -2347,10 +2347,11 @@ psymtab_to_symtab_1(pst, filename)
/* Procedures next, note we need to look-ahead to
find out where the procedure's code ends */
for (i = 0; i < fh->cpd-1; i++) {
if (fh->cpd > 0)
for (i = 0; i < fh->cpd-1; i++) {
pr = (PDR *) (IPDFIRST(cur_hdr, fh)) + i;
parse_procedure(pr, pr[1].adr); /* next proc up */
}
}
if (fh->cpd) {
pr = (PDR *) (IPDFIRST(cur_hdr, fh)) + i;
parse_procedure(pr, bound); /* next file up */