* libecoff.h: New file. Defines ECOFF backend data for gdb.
* coff-mips.c: Now includes libecoff.h.
(ecoff_data_type): Moved to libecoff.h.
(ecoff_slurp_symbolic_info): Made globally visible so that gdb can
call it. If there is ever another ECOFF target, this and the
swapping functions should be accessed via an ECOFF specific target
vector.
Makefile.in (coff-mips.o): Depends on libecoff.h.
John Gilmore [Thu, 4 Feb 1993 10:30:19 +0000 (10:30 +0000)]
* Makefile.in (TARDIRS): Add sparclite demo dir.
(*.tab.c): Change dependency on Makefile to depend on
Makefile.in, otherwise it always rebuilds after configuring.
Force output *.tab.c file into current directory even in "make"
versions that rewrite dependent file names used in command lines.
* TODO: Remove some things we did.
* am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
* os68k-xdep.c: Remove; useless file (os68k is a target only).
* convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
* symtab.h: Eliminate unnamed unions and structs.
John Gilmore [Thu, 4 Feb 1993 10:08:35 +0000 (10:08 +0000)]
* a29k.h: Remove RCS crud, update GPL to v2, update copyrights.
* convex.h: Added, from GDB's convx-opcode.h. Added CONST to all
initialized structs in it.
Fix some minor bugs, make work on big endian machines, remember
text_start and text_end for future use by gdb and current use by
find_nearest_line. Still covered by last ChangeLog entry, I think.
Fred Fish [Wed, 3 Feb 1993 00:28:54 +0000 (00:28 +0000)]
* c-exp.y (lcurly, rcurly): New nonterminals.
* c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
constructs.
* parse.c (free_funcalls): Moved prototype from parser-defs.h,
made function static.
* parse.c (struct funcall): Moved struct def from parser-defs.h.
* parse.c (funcall_chain): Moved from parser-defs.h, made static.
* parse.c (start_arglist):
* parser-defs.h (free_funcalls): Moved prototype to parse.c.
* parser-defs.h (struct funcall): Moved struct def to parse.c.
* parser-defs.h (funcall_chain): Moved to parse.c.
* printcmd.c (print_frame_nameless_args): Fix prototype.
* tm-mips.h (setup_arbitrary_frame): Fix prototype.
* tm-sparc.h (setup_arbitrary_frame): Fix prototype.
* valops.c (typecmp): Moved prototype from values.h.
* value.h (typecmp): Moved prototype to valops.c, made static.
**** start-sanitize-chill ****
* ch-exp.y (yylex): Change way control sequences are disabled.
**** end-sanitize-chill ****
Roland Pesch [Tue, 2 Feb 1993 22:59:46 +0000 (22:59 +0000)]
Stylistic Cleanups to Headings and Cross References to Avoid Undue
Numbers of Capital Letters (Save in Chapter Headings), Despite the
Germanic Heritage of the English Language.
General cleanup--added prototypes, removed a few unused variables,
fixed up comments a bit. Also set version stamp in a.out header to
0x20a rather than 0, to keep the Ultrix linker happy.
Roland Pesch [Tue, 2 Feb 1993 21:38:40 +0000 (21:38 +0000)]
Minor stylistic cleanup; eliminated more contractions, eliminated
possessives on things (like name of GDB) that are not English, and
incidentals spotted while pursuing these.
Create a .scommon section for each input BFD so the linker has
something to attach small common symbols to. Then avoid writing out
the (empty) .scommon section for the output BFD.
* mips.sc-sh: Put .scommon sections into .sbss section.
* ldmain.c (subfile_wanted_p): Preserve section of common symbols,
rather than always putting them in bfd_com_section.
* ldlang.c (lang_common): If a common symbol is not in
bfd_com_section, put in a section of the same name, rather than
always putting it in section COMMON.
John Gilmore [Tue, 2 Feb 1993 08:38:00 +0000 (08:38 +0000)]
* blockframe.c (inside_entry_file, inside_main_func,
inside_entry_func): PC of zero is always "bottom of stack".
* printcmd.c (print_frame_args, print_frame_nameless_args):
Let print_frame_nameless_args decide whether there are any,
laying groundwork for possibly later printing 29K args for
functions where we have tag words but no symbols.
John Gilmore [Tue, 2 Feb 1993 08:21:50 +0000 (08:21 +0000)]
* printcmd.c (print_frame_args, print_frame_nameless_args):
Let print_frame_nameless_args decide whether there are any,
laying groundwork for possibly later printing 29K args for
functions where we have tag words but no symbols.
John Gilmore [Tue, 2 Feb 1993 02:08:19 +0000 (02:08 +0000)]
* stack.c (parse_frame_specification): Parse as many arguments
as there are (up to MAXARGS). Pass all of them in argc, argv
format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
many there were, onto SETUP_ARBITRARY_FRAME.
* tm-mips.h, tm-sparc.h: Corresponding changes.
* mips-tdep.c, sparc-tdep.c: Ditto.
John Gilmore [Tue, 2 Feb 1993 01:53:17 +0000 (01:53 +0000)]
* hp300ux-nat.c: Update copyrights.
* mipsread.c (parse_partial_symbols): Complain about block
indexes that go backwards. Fix from Peter Schauer.
* symfile.c (syms_from_objfile, symbol_file_add): Allow a
symbol-file that has no linkage symbols to be read.
* tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
from tm- file to xm-file, since they're host dependent.
* valarith.c (value_binop): Typo.
John Gilmore [Sun, 31 Jan 1993 08:33:35 +0000 (08:33 +0000)]
Remove CFLAGS setting from chill sanity area.
(make-gdb.tar.Z): Fix bug in texinfo.tex "ln" command;
also, edit configure.in and Makefile.in correctly:
when building FSF GDB, BISON=bison, and don't build texinfo or glob.
Ian Lance Taylor [Fri, 29 Jan 1993 23:24:20 +0000 (23:24 +0000)]
Checkpoint. Can now create MIPS style armap hash tables. Fixed some
linker problems. The linker still needs to learn to put SCommon
symbols in .sbss rather than .bss.
* ldmain.c (subfile_wanted_p): If we already have a common
definition of a symbol, don't necessarily pull in an object file
that provides a non-common definition.
* ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS
linker.
* ldgram.y (OPTION_EB, OPTION_EL): New tokens.
(command_line_option): Accept and ignore OPTION_EB and OPTION_EL.