aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-08-01 20:40:59 +0000
committerFred Fish <fnf@specifix.com>1992-08-01 20:40:59 +0000
commitcd46ffad4ecefe7d91323f901882483e32ca2f71 (patch)
tree7d661519ce2f0653a828abba905ad23e8a86eb80 /gdb/buildsym.c
parent47660bef1bb8ae276331ca58cf0cabbbac214eca (diff)
downloadgdb-cd46ffad4ecefe7d91323f901882483e32ca2f71.zip
gdb-cd46ffad4ecefe7d91323f901882483e32ca2f71.tar.gz
gdb-cd46ffad4ecefe7d91323f901882483e32ca2f71.tar.bz2
* dwarfread.c (struct dieinfo): Remove obsolete at_visibility,
at_import, at_frame_base. * dwarfread.c (completedieinfo): Remove cases for obsolete AT_visibility, AT_import, and AT_frame_base attributes. * breakpoint.h (BREAKPOINT_MAX): Increase from 10 to 16 for i860, which can keep up to 4 shadow breakpoints. * tm-stratus.h (USG): Define. * tm-stratus.h (TARGET_BYTE_ORDER): Define to BIG_ENDIAN. * xm-stratus.h (HOST_BYTE_ORDER): Define to BIG_ENDIAN. * xm-stratus.h (xm-sysv4.h): Include, name changed from xm-svr4.h. * xm-stratus.h (NO_JOB_CONTROL): Remove define. * config/stratus.mt (TDEPFILES): Include files available from stratus that are not yet in release pending receipt of paperwork at FSF. * buildsym.c (finish_block): Minor code format change. * gdbtypes.h (struct field): Add to comments. * gdbtypes.h (virtual_field_bits): Add to comments. * objfiles.c (allocate_objfile): Change obstack interface to match FSF merging efforts.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 6e5c52b..90cbbe4 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -189,7 +189,9 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile)
/* Count the length of the list of symbols. */
- for (next = *listhead, i = 0; next; i += next->nsyms, next = next->next)
+ for (next = *listhead, i = 0;
+ next;
+ i += next->nsyms, next = next->next)
{
/*EMPTY*/;
}