From 9c38eb65ac759526a693246efbc70d6f4b590a9d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 21 Oct 1993 05:22:34 +0000 Subject: * target.h: Put remote_debug declaration back here. Add baud_rate. * remote.c, remote-udi.c, remote-utils.h: Let target.h take care of declaring these. Those random externs all over are error prone. * Move "set remotebaud" from remote-utils.c to main.c to it applies to remote.c as well. * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read): Sort symtabs for this objfile only, not for all objfiles. * symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used. --- gdb/coffread.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gdb/coffread.c') diff --git a/gdb/coffread.c b/gdb/coffread.c index 415ee18b4aa..ffe00d5c813 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -662,10 +662,13 @@ coff_symfile_read (objfile, section_offsets, mainline) /* Sort symbols alphabetically within each block. */ - for (s = objfile -> symtabs; s != NULL; s = s -> next) - { - sort_symtab_syms (s); - } + { + struct symtab *s; + for (s = objfile -> symtabs; s != NULL; s = s -> next) + { + sort_symtab_syms (s); + } + } /* Install any minimal symbols that have been collected as the current minimal symbols for this objfile. */ -- cgit v1.2.1