* targets.c, Makefile.in: comment out tekhex for the moment.
* ieee.c: if some places where null pointers were used instead of &bfd_abs_section.
* configure.in: tandem target is st2000
* coff-m68k.c: rename static howto_table to global
m68kcoff_howto_table.
* bout.c: remove unnecessary abort
John Gilmore [Fri, 1 May 1992 09:14:43 +0000 (09:14 +0000)]
* gdbtypes.c (make_{reference,pointer,function}_type): New
functions which handle overwriting of forward-referenced types
for stabs file reading.
(lookup_{reference,pointer,function}_type): These just call
the make_*_type functions with a null storage alloc parameter.
* gdbtypes.h (make_{reference,pointer,function}_type): Declare.
* xcoffread.c (smash_to_pointer_type): Remove, no longer used.
* buildsym.c (dbx_lookup_type): Zero result for (-1,-1) arg.
(dbx_alloc_type): Make it easier to understand. No funct change.
(define_symbol: 't'): Don't put the typedef name into the name of
the struct, union, or enum. Bugfix.
(read_type: '*', '&', 'f'): Add comments. Use make_XXX_type
routines to properly handle overwriting preallocated types so that
forward references will work.
(read_enum_type): Force enum values to file scope, due to bug in
Sun compiler output. FIXME, fix later.
Remove unused header_file_prev_index mechanism. It was already
obsolete in gdb-3.5. These comments appeared in 3.5:
/* This code was used before I knew about the instance codes.
My first hypothesis is that it is not necessary now
that instance codes are handled. */
* dbxread.c (add_new_header_file): Remove header_file_prev_index.
* buildsym.h: Remove it and prev_index that saves it.
* buildsym.c (push_subfile, pop_subfile, start_symtab): Remove it.
* solib.c (special_symbol_handling): When called from core files,
must set up debug_addr. Don't print error messages, just return.
* symmisc.c (print_symbol): Less ascii diarrhea for enums, please.
Fred Fish [Fri, 24 Apr 1992 01:45:47 +0000 (01:45 +0000)]
Call warning() to print warnings, which deals properly with leading and
trailing newlines, as well as presenting a consistent prefix for warnings
(IE "warning: ").
Fred Fish [Fri, 24 Apr 1992 01:42:41 +0000 (01:42 +0000)]
aoutx.h (aout_<bits>_swap_exec_header_in): Zero out the internal_exec
structure before initializing the fields that are used, so that the unused
fields are in a known state. Two of these structures are memcmp'd so
any fields not explicitly initialized must be set to a known state.
Stu Grossman [Wed, 22 Apr 1992 17:01:22 +0000 (17:01 +0000)]
* symtab.c (lookup_symbol): Need to check if msymbol->name is
NULL, as ALL_MSYMBOLS will never return a NULL msymbol pointer.
This prevents a crash when trying to lookup the value of a
non-existent symbol.
Fred Fish [Wed, 22 Apr 1992 16:46:47 +0000 (16:46 +0000)]
Remove now obsolete signame.c and signame.h; functionality is handled by
libiberty/strsignal.c. Widespread changes to use libiberty/strerror.c
functions for errno manipulations and libiberty/strsignal.c for signo
(signals) manipulations.
Makefile.in: rework CFLAGS so that they can be set from the command
line to make. CFLAGS -> INTERNAL_CFLAGS. USER_CFLAGS -> CFLAGS.
Remove MINUS_G. Default CFLAGS to -g. Pass CFLAGS on recusions.
configure: use move-if-change from gcc to create config.status. Some
makefiles depend on config.status to tell if a directory has been
reconfigured for a different host. This change prevents those
directories from remaking everything in the case where the reconfig
was only intended to rebuild a Makefile.
configure: test for config.sub with "config.sub sun4" rather than
"config.sub ${host_alias}". Otherwise we can't tell a bad host alias
from a missing config.sub.
Fred Fish [Sat, 18 Apr 1992 02:30:28 +0000 (02:30 +0000)]
Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c by
just printing the type name from the type if it is not otherwise handled.
Implement new handling of the ".syms" file for reusable symbol files.
* bfd.c, Makefile.in: added tekhex
* aoutx.h (set_section_contents): pages should be padded to the
size of a page, not the size of a segment.
* configure.in: added go32 host and i386-aout target.
* i386aout.c, libaout.h: now works for go32 target
* ieee.c: fix bit rot.
* seclet.c: support for padding seclet type.
* relax.c: added handling for new "padding" seclet type, used to
fill out gaps between section.
* ldgram.y, ldlex.l: now -defsym on the command line is done
properly.