binutils-gdb.git
31 years ago* blockframe.c (inside_entry_file, inside_main_func,
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.

31 years ago* printcmd.c (print_frame_args, print_frame_nameless_args):
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.

31 years agoRemove Makefile.in-29k-UDI. It's no longer needed now that the 29K stuff has
Stu Grossman [Tue, 2 Feb 1993 04:52:30 +0000 (04:52 +0000)]
Remove Makefile.in-29k-UDI.  It's no longer needed now that the 29K stuff has
been put back in to Makefile.in.

31 years agoFixes for doc targets.
Roland Pesch [Tue, 2 Feb 1993 02:14:39 +0000 (02:14 +0000)]
Fixes for doc targets.

31 years ago* stack.c (parse_frame_specification): Parse as many arguments
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.

31 years ago* hp300ux-nat.c: Update copyrights.
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.

31 years agoLint
John Gilmore [Tue, 2 Feb 1993 01:20:41 +0000 (01:20 +0000)]
Lint

31 years ago* Makefile.in: Make SunOS halfdone VPATH work.
John Gilmore [Tue, 2 Feb 1993 00:45:59 +0000 (00:45 +0000)]
* Makefile.in:  Make SunOS halfdone VPATH work.
* p1.c:  Lint picked up by HP native compiler.

31 years agoThis dir is now configure'd (Makefile => Makefile.in, etc).
John Gilmore [Tue, 2 Feb 1993 00:44:15 +0000 (00:44 +0000)]
This dir is now configure'd (Makefile => Makefile.in, etc).

31 years ago * sparclite/aload.c: Add copyleft.
Stu Grossman [Tue, 2 Feb 1993 00:19:26 +0000 (00:19 +0000)]
* sparclite/aload.c:  Add copyleft.
* sparclite/crt0.s:  Add comment at beginning.

31 years agoRemove soc2udip.c udi2mtip.c. These files no longer exist.
Stu Grossman [Tue, 2 Feb 1993 00:03:14 +0000 (00:03 +0000)]
Remove soc2udip.c udi2mtip.c.  These files no longer exist.

31 years agoAdd README.
Stu Grossman [Tue, 2 Feb 1993 00:02:18 +0000 (00:02 +0000)]
Add README.

31 years ago * gdbinv-s.texi: z8000 simulator target name is just "sim"
Roland Pesch [Mon, 1 Feb 1993 23:49:11 +0000 (23:49 +0000)]
* gdbinv-s.texi: z8000 simulator target name is just "sim"

31 years agoMon Feb 1 15:35:47 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Mon, 1 Feb 1993 23:39:42 +0000 (23:39 +0000)]
Mon Feb  1 15:35:47 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* gdbinv-s.texi:  Mention that Z8000 simulator can simulate Z8001
as well as Z8002.

31 years agoDon't delete z8ksim.mt
Steve Chamberlain [Mon, 1 Feb 1993 23:00:46 +0000 (23:00 +0000)]
Don't delete z8ksim.mt

31 years ago*** empty log message ***
Steve Chamberlain [Mon, 1 Feb 1993 23:00:11 +0000 (23:00 +0000)]
*** empty log message ***

31 years ago * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
Steve Chamberlain [Mon, 1 Feb 1993 22:53:24 +0000 (22:53 +0000)]
* remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
* parse.c (std_regs): Only declare if NO_STD_REGS is defined.

31 years agofrom ralphc: mips-aout support
Ken Raeburn [Mon, 1 Feb 1993 21:42:59 +0000 (21:42 +0000)]
from ralphc: mips-aout support

31 years agofrom ralphc: recognize some mips variants
Ken Raeburn [Mon, 1 Feb 1993 21:40:53 +0000 (21:40 +0000)]
from ralphc: recognize some mips variants

31 years agoaccept mips-dec-bsd* and i?86-*-elf
Ken Raeburn [Mon, 1 Feb 1993 21:36:59 +0000 (21:36 +0000)]
accept mips-dec-bsd* and i?86-*-elf

31 years agochanges from Ralph Campbell @ Pyramid for MIPS a.out (BSD 4.4) support
Ken Raeburn [Mon, 1 Feb 1993 21:35:16 +0000 (21:35 +0000)]
changes from Ralph Campbell @ Pyramid for MIPS a.out (BSD 4.4) support

31 years agocheck return code of mkdir, print error message on failure. addresses bug #2079
K. Richard Pixley [Mon, 1 Feb 1993 20:39:43 +0000 (20:39 +0000)]
check return code of mkdir, print error message on failure.  addresses bug #2079

31 years ago * values.c (value_headof): Fix typo in which VTBL and ARG were
Michael Tiemann [Mon, 1 Feb 1993 01:16:35 +0000 (01:16 +0000)]
* values.c (value_headof): Fix typo in which VTBL and ARG were
being confused for one another.

31 years ago * valops.c (typecmp): Now static.
Michael Tiemann [Mon, 1 Feb 1993 01:12:37 +0000 (01:12 +0000)]
* valops.c (typecmp): Now static.

31 years ago * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
Michael Tiemann [Mon, 1 Feb 1993 01:11:17 +0000 (01:11 +0000)]
* gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
baseclass--we don't always inherit its virtual function table
pointer.

31 years ago * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
Michael Tiemann [Mon, 1 Feb 1993 01:07:51 +0000 (01:07 +0000)]
* eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
pointer correctly in case value_struct_elt moves it around.

31 years agoFix whitespace.
Michael Tiemann [Sun, 31 Jan 1993 13:15:12 +0000 (13:15 +0000)]
Fix whitespace.

31 years agoSun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
Michael Tiemann [Sun, 31 Jan 1993 12:39:22 +0000 (12:39 +0000)]
Sun Jan 31 04:32:48 1993  Michael Tiemann  (tiemann@rtl.cygnus.com)

* gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
zero on recursive call.

31 years agoRemove CFLAGS setting from chill sanity area.
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.

31 years ago* hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
John Gilmore [Sun, 31 Jan 1993 06:43:36 +0000 (06:43 +0000)]
* hppah-nat.c:  Eliminate <sys/user.h> and other unnecessary stuff,
to avoid "too much defining" error from native C compiler (!).

31 years ago* Makefile.in (HFILES): Add typeprint.h.
John Gilmore [Sun, 31 Jan 1993 03:56:56 +0000 (03:56 +0000)]
* Makefile.in (HFILES):  Add typeprint.h.
* typeprint.[ch]:  Update copyrights.

31 years agoInitial attempt to clean up to match new directory layout.
John Gilmore [Sun, 31 Jan 1993 01:34:07 +0000 (01:34 +0000)]
Initial attempt to clean up to match new directory layout.

31 years ago* Makefile.in: Update to match doc/ subdir changes.
John Gilmore [Sun, 31 Jan 1993 01:31:45 +0000 (01:31 +0000)]
* Makefile.in:  Update to match doc/ subdir changes.

31 years agoA few files have been removed...
John Gilmore [Sun, 31 Jan 1993 00:57:04 +0000 (00:57 +0000)]
A few files have been removed...

31 years ago* Makefile.in (make-gdb.tar.Z): New location for texinfo.tex.
John Gilmore [Sun, 31 Jan 1993 00:41:47 +0000 (00:41 +0000)]
* Makefile.in (make-gdb.tar.Z):  New location for texinfo.tex.

31 years agofreshly updated -- gprof.texi is an edit of the old `gprof.texinfo' by
Jeffrey Osier [Fri, 29 Jan 1993 23:47:33 +0000 (23:47 +0000)]
freshly updated -- gprof.texi is an edit of the old `gprof.texinfo' by
Richard Stallman and Jay Fenalson.  Probably 90% of the text is theirs.

31 years agoCheckpoint. Can now create MIPS style armap hash tables. Fixed some
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.

31 years agoFri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 29 Jan 1993 19:47:56 +0000 (19:47 +0000)]
Fri Jan 29 09:57:58 1993  Ian Lance Taylor  (ian@cygnus.com)

* 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.

31 years agoFri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 29 Jan 1993 18:47:43 +0000 (18:47 +0000)]
Fri Jan 29 09:57:58 1993  Ian Lance Taylor  (ian@cygnus.com)

* 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.

31 years agoreg.h, xdr_regs.c, xdr_regs.h are gone now.
John Gilmore [Fri, 29 Jan 1993 07:38:05 +0000 (07:38 +0000)]
reg.h, xdr_regs.c, xdr_regs.h are gone now.

31 years agoFix typo in file name.
John Gilmore [Fri, 29 Jan 1993 06:32:36 +0000 (06:32 +0000)]
Fix typo in file name.

31 years ago* doc/gdbint.texinfo (Host Conditionals): Remove
John Gilmore [Fri, 29 Jan 1993 06:19:13 +0000 (06:19 +0000)]
* doc/gdbint.texinfo (Host Conditionals):  Remove
NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document
MEM_FNS_DECLARED.
(Target Conditionals):  Remove all of the above.

31 years agoUpdate for doc/ changes.
John Gilmore [Fri, 29 Jan 1993 06:17:28 +0000 (06:17 +0000)]
Update for doc/ changes.

31 years ago* config/hp300hpux.mh: No cross-host file needed, just native.
John Gilmore [Fri, 29 Jan 1993 05:53:31 +0000 (05:53 +0000)]
* config/hp300hpux.mh:  No cross-host file needed, just native.

31 years agoRemove nonexistent GO32 "native" support.
John Gilmore [Fri, 29 Jan 1993 05:49:03 +0000 (05:49 +0000)]
Remove nonexistent GO32 "native" support.

31 years agoDelta 88 changes inspired by Carl Greco, <cgreco@Creighton.Edu>:
John Gilmore [Fri, 29 Jan 1993 05:34:09 +0000 (05:34 +0000)]
Delta 88 changes inspired by Carl Greco, <cgreco@Creighton.Edu>:
* m88k.h (PMEM):  Avoid previous definition from <sys/param.h>.
(AND):  Change to AND_ to avoid ansidecl.h `AND' conflict.

31 years agoM88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
John Gilmore [Fri, 29 Jan 1993 05:28:45 +0000 (05:28 +0000)]
M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
* tm-m88k.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
* m88k-tdep.c (next_insn):  Lint, cleanup.
(store_parm_word):  Lint.

31 years agoFix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:
John Gilmore [Fri, 29 Jan 1993 05:04:45 +0000 (05:04 +0000)]
Fix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:
* hosts/delta88.h (strtol):  Fix prototype.
* config/m88k-coff.mh (SELECT_ARCHITECTURES):  Fix name.

31 years agoTypo
John Gilmore [Fri, 29 Jan 1993 03:11:55 +0000 (03:11 +0000)]
Typo

31 years agoThu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 28 Jan 1993 23:13:32 +0000 (23:13 +0000)]
Thu Jan 28 15:12:04 1993  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (install): Remove $(tooldir)/bin/gld before creating
the link to it.

31 years agoThu Jan 28 15:09:59 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 28 Jan 1993 23:11:07 +0000 (23:11 +0000)]
Thu Jan 28 15:09:59 1993  Ian Lance Taylor  (ian@cygnus.com)

* test-build.mk (HOLES): Added tar, cpio and uudecode.

31 years ago * expression.h (BINOP_CONCAT): Document use for self concatenation
Fred Fish [Thu, 28 Jan 1993 05:47:42 +0000 (05:47 +0000)]
* expression.h (BINOP_CONCAT): Document use for self concatenation
an integral number of times.
* language.c (binop_type_check):  Extend BINOP_CONCAT for self
concatenation case.
* valarith.c (value_concat):  Rewrite to support self
concatenation an integral number of times.
**** start-sanitize-chill ****
* Makefile.in (ch-exp.tab.c):  Change "expect" message.
* ch-exp.y (FIXME's):  Make all FIXME tokens distinct, to
eliminate hundreds of spurious shift/reduce and reduce/reduce
conflicts that mask the 5 real ones.
* ch-exp.y (STRING, CONSTANT, SC):  Remove unused tokens.
* ch-exp.y (integer_literal_expression):  Remove production,
no longer used.
**** end-sanitize-chill ****

31 years agoAdd h8500 as a cpu type.
Jim Wilson [Thu, 28 Jan 1993 00:55:20 +0000 (00:55 +0000)]
Add h8500 as a cpu type.

31 years agonot used
Ken Raeburn [Wed, 27 Jan 1993 22:58:05 +0000 (22:58 +0000)]
not used

31 years agonot used
Ken Raeburn [Wed, 27 Jan 1993 22:58:04 +0000 (22:58 +0000)]
not used

31 years agoCheckpoint. Linker appears to work.
Ian Lance Taylor [Wed, 27 Jan 1993 19:33:48 +0000 (19:33 +0000)]
Checkpoint.  Linker appears to work.

31 years agoFixes from (or inspired by) Bob Chassell editing pass for last
Roland Pesch [Wed, 27 Jan 1993 02:10:10 +0000 (02:10 +0000)]
Fixes from (or inspired by) Bob Chassell editing pass for last
FSF printing of this manual.

31 years agoTue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 26 Jan 1993 19:57:59 +0000 (19:57 +0000)]
Tue Jan 26 11:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)

* copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
macro rather than checking for equality to bfd_com_section.

31 years agoTue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 26 Jan 1993 19:56:17 +0000 (19:56 +0000)]
Tue Jan 26 11:49:50 1993  Ian Lance Taylor  (ian@cygnus.com)

* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
checking for equality to bfd_com_section.

31 years agoTue Jan 26 11:49:20 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 26 Jan 1993 19:54:40 +0000 (19:54 +0000)]
Tue Jan 26 11:49:20 1993  Ian Lance Taylor  (ian@cygnus.com)

* bfd.h: Update for SEC_IS_COMMON flag.

31 years agoTue Jan 26 11:43:14 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 26 Jan 1993 19:54:07 +0000 (19:54 +0000)]
Tue Jan 26 11:43:14 1993  Ian Lance Taylor  (ian@cygnus.com)

* section.c (SEC_IS_COMMON): New section flag, needed for MIPS
ECOFF which has two common sections.
(bfd_com_section): Set SEC_IS_COMMON flag.
* bfd-in.h (bfd_is_com_section): New macro to test SEC_IS_COMMON.
* aoutx.h, archive.c, bout.c, coff-a29k.c, coff-m88k.c,
coff-mips.c, coffgen.c, ieee.c, oasys.c, reloc.c, syms.: Use
bfd_is_com_section macro rather than checking for equality to
bfd_com_section.

31 years agoCorrect syntax errors which only appeared when relocating.
Ian Lance Taylor [Tue, 26 Jan 1993 19:51:41 +0000 (19:51 +0000)]
Correct syntax errors which only appeared when relocating.

31 years agoCheckpoint. ld works, ld -r doesn't.
Ian Lance Taylor [Mon, 25 Jan 1993 23:33:27 +0000 (23:33 +0000)]
Checkpoint.  ld works, ld -r doesn't.

31 years agoMon Jan 25 15:27:36 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 25 Jan 1993 23:32:26 +0000 (23:32 +0000)]
Mon Jan 25 15:27:36 1993  Ian Lance Taylor  (ian@cygnus.com)

* coffcode.h (_bfd_coff_mkobject_hook): Pass aouthdr argument.
(coff_mkobject_hook): Accept aouthdr argument.
* coffgen.c (coff_real_object_p): Pass aouthdr to mkobject_hook.
Handle NULL aouthdr argument.
(coff_object_p): If there is no aouthdr, pass it as NULL to
coff_real_object_p.
* libcoff.h: Rebuilt for mkobject_hook changes.

31 years ago * coffswap.h (coff_swap_aouthdr_in, coff_swap_aouthdr_in): Swap
Ian Lance Taylor [Mon, 25 Jan 1993 23:31:51 +0000 (23:31 +0000)]
* coffswap.h (coff_swap_aouthdr_in, coff_swap_aouthdr_in): Swap
additional MIPS ECOFF fields.

31 years agoMon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 25 Jan 1993 23:24:22 +0000 (23:24 +0000)]
Mon Jan 25 11:35:51 1993  Ian Lance Taylor  (ian@cygnus.com)

* internal.h (internal_aouthdr): Added additional fields used only
by MIPS ECOFF.

31 years agoAdd a usage statement if an unrecognized option is given.
Sean Eric Fagan [Sun, 24 Jan 1993 19:07:11 +0000 (19:07 +0000)]
Add a usage statement if an unrecognized option is given.

31 years agorecognize irix[34]* instead of irix[34]
David D. Zuhn [Sun, 24 Jan 1993 03:48:58 +0000 (03:48 +0000)]
recognize irix[34]* instead of irix[34]

31 years ago * guess-systype: Renamed to ...
Per Bothner [Sat, 23 Jan 1993 21:55:04 +0000 (21:55 +0000)]
* guess-systype: Renamed to ...
* config.guess:  ... by popular request.
* configure.in, Makefile.in:  Update accordingly.

31 years agoThese changes abolish M4 preprocessing for the GDB manual.
Roland Pesch [Sat, 23 Jan 1993 00:30:28 +0000 (00:30 +0000)]
These changes abolish M4 preprocessing for the GDB manual.

Formatting these files now depends on the recently designed
Texinfo conditionals:  to format successfully, you must use very
recent versions (not yet distributed by FSF) of texinfo.tex and makeinfo.c.

The new Texinfo commands are @set, @clear, @ifset, @ifclear, and @value.
Recent texinfo-2 Beta distributions contained partial implementations.

texi2roff does not yet support these commands.

There are miscellaneous clean-ups to Makefile.in as well.

31 years agoFri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 22 Jan 1993 22:30:52 +0000 (22:30 +0000)]
Fri Jan 22 14:22:44 1993  Ian Lance Taylor  (ian@cygnus.com)

* mips.sc-sh: New file.  Ultrix, and hopefully other MIPS ECOFF
targets, linker script.
* mipslit.sh: New file.  Little endian MIPS emulation.
* config/mips-lit.mt: New file.  Use mipslit emulation.
* configure.in (mips-dec-ultrix*): Use target mips-lit.
* Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
(em_mipslit.c): New target.  Uses mipslit.sh.

31 years ago * guess-systype: Patches from John Eaton <jwe@che.utexas.edu>:
Per Bothner [Thu, 21 Jan 1993 20:25:51 +0000 (20:25 +0000)]
* guess-systype:  Patches from John Eaton <jwe@che.utexas.edu>:
+ Add Convex, Cray/Unicos, and Encore/Multimax support.
+ Execute ./dummy instead of assuming . is in PATH.

31 years ago * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
Fred Fish [Thu, 21 Jan 1993 18:13:55 +0000 (18:13 +0000)]
* eval.c (evaluate_subexp):  Fix OP_ARRAY, remove code that
implied that "no side effects" was nonfunctional.
* eval.c (evaluate_subexp):  Add BINOP_CONCAT case to deal with
character string and bitstring concatenation.
* expprint.c (dump_expression):  Add case for BINOP_CONCAT.
* expression.h (exp_opcode):  Add BINOP_CONCAT.
* gdbtypes.h (type_code):  Add TYPE_CODE_BITSTRING.
* language.c (string_type):  Add function to determine if a type
is a string type.
* language.c (binop_type_check):  Add case for BINOP_CONCAT.
* valarith.c (value_concat):  New function to concatenate two
values, such as character strings or bitstrings.
* valops.c (value_string):  Remove error stub and implement
function body.
* value.h (value_concat):  Add prototype.
**** start-sanitize-chill ****
* ch-exp.y (operand_3):  Add actions for SLASH_SLASH (//).
* ch-exp.y (yylex):  Recognize SLASH_SLASH.
* ch-lang.c (chill_op_print_tab):  Add SLASH_SLASH (//) as
BINOP_CONCAT.
**** end-sanitize-chill ****

31 years agofix endian problem
Steve Chamberlain [Thu, 21 Jan 1993 01:33:20 +0000 (01:33 +0000)]
fix endian problem

31 years agoAdd Linux and hp300bsd. Tweak SCO.
Per Bothner [Wed, 20 Jan 1993 22:56:42 +0000 (22:56 +0000)]
Add Linux and hp300bsd.  Tweak SCO.

31 years agowhitespace/comment changes
Ken Raeburn [Wed, 20 Jan 1993 22:22:21 +0000 (22:22 +0000)]
whitespace/comment changes

31 years agoRevert yesterday's change (adding casts) at gnu's request.
Ian Lance Taylor [Wed, 20 Jan 1993 15:35:50 +0000 (15:35 +0000)]
Revert yesterday's change (adding casts) at gnu's request.

31 years agoFix (?) discrimination between hppa1.1 and 1.0.
Per Bothner [Wed, 20 Jan 1993 07:43:32 +0000 (07:43 +0000)]
Fix (?) discrimination between hppa1.1 and 1.0.

31 years agoAdd support for HP-UX; SCO; fix Solaris2.
Per Bothner [Wed, 20 Jan 1993 06:47:39 +0000 (06:47 +0000)]
Add support for HP-UX; SCO; fix Solaris2.

31 years agoMinor improvements
Per Bothner [Wed, 20 Jan 1993 02:22:45 +0000 (02:22 +0000)]
Minor improvements

31 years ago * guess-systype: New shell script. Attempts to guess the
Per Bothner [Wed, 20 Jan 1993 01:20:29 +0000 (01:20 +0000)]
* guess-systype:  New shell script.  Attempts to guess the
canonical host name of the executing host.
Only a few hosts are supported so far.
* configure:  Call guess-systype if no host is specified.

31 years ago * c-exp.y (exp): Add production to support direct creation
Fred Fish [Tue, 19 Jan 1993 23:00:19 +0000 (23:00 +0000)]
* c-exp.y (exp):  Add production to support direct creation
of array constants using the obvious syntax.
* c-valprint.c (c_val_print):  Set printed string length.
* dwarfread.c (read_tag_string_type):  New prototype and
function that handles TAG_string_type DIEs.
* dwarfread.c (process_dies):  Add case for TAG_string_type
that calls new read_tag_string_type function.
* expprint.c (print_subexp):  Add support for OP_ARRAY.
* gdbtypes.c (create_range_type, create_array_type):  Inherit
objfile from the index type.
**** start-sanitize-chill ****
* ch-typeprint.c (chill_print_type):  Add case for
TYPE_CODE_STRING.
* ch-valprint.c (chill_val_print):  Fix case for
TYPE_CODE_STRING.
**** end-sanitize-chill ****

31 years agoTue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 18:23:21 +0000 (18:23 +0000)]
Tue Jan 19 09:06:14 1993  Ian Lance Taylor  (ian@cygnus.com)

* aoutx.h (swap_ext_reloc_in, swap_std_reloc_in),
bout.c (b_out_slurp_reloc_table),
coff-mips.c (ecoff_swap_reloc_in),
coff-msym.c (ecoff_swap_sym_in, ecoff_swap_rndx_in,
ecoff_swap_opt_in): Added casts to int to avoid muttering by
MIPS compiler.

31 years agoCheckpoint. Can now read relocs.
Ian Lance Taylor [Tue, 19 Jan 1993 17:38:13 +0000 (17:38 +0000)]
Checkpoint.  Can now read relocs.

31 years agoTue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 17:32:43 +0000 (17:32 +0000)]
Tue Jan 19 12:25:12 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* bfd.h: Update for bfd_asymbol_value bug fix.

31 years agoTue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 17:28:28 +0000 (17:28 +0000)]
Tue Jan 19 09:06:14 1993  Ian Lance Taylor  (ian@cygnus.com)

* bfd-in.h (bfd_asymbol_value): Add needed parentheses.

31 years agoTue Jan 19 12:21:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 17:22:43 +0000 (17:22 +0000)]
Tue Jan 19 12:21:19 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF
relocs.

31 years agoTue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 17:07:35 +0000 (17:07 +0000)]
Tue Jan 19 09:06:14 1993  Ian Lance Taylor  (ian@cygnus.com)

* libcoff-in.h: Update prototype for coff_count_linenumbers.

31 years agoTue Jan 19 08:26:07 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 16:27:13 +0000 (16:27 +0000)]
Tue Jan 19 08:26:07 1993  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (gcc-no-fixedincludes): Made to work with current
gcc Makefile.

31 years agoClean up readline doc subdir to conform to normal
Roland Pesch [Mon, 18 Jan 1993 23:59:57 +0000 (23:59 +0000)]
Clean up readline doc subdir to conform to normal
configure/distribution practices.

Makefile: remove, replacing with a configurable Makefile.in

texindex.c texinfo.tex: remove, replacing with references to tools elsewhere
                        in Cygnus distribution tree.

Makefile.in: configurable (and useable) Makefile.

configure.in: pro forma configure stub.

31 years agoUpdate GDB_SUPPORT_DIRS and GDB_SUPPORT_FILES.
Stu Grossman [Mon, 18 Jan 1993 23:30:48 +0000 (23:30 +0000)]
Update GDB_SUPPORT_DIRS and GDB_SUPPORT_FILES.

31 years ago.Sanitize: Add 29k-share and sparclite.
Stu Grossman [Mon, 18 Jan 1993 22:47:55 +0000 (22:47 +0000)]
.Sanitize:  Add 29k-share and sparclite.

31 years agoMakefile.in (FLAGS_TO_PASS): Balance (start-sanitize-chill) with (end-sanitize-chill).
Stu Grossman [Mon, 18 Jan 1993 22:46:10 +0000 (22:46 +0000)]
Makefile.in (FLAGS_TO_PASS):  Balance (start-sanitize-chill) with (end-sanitize-chill).

31 years agonew file
Steve Chamberlain [Mon, 18 Jan 1993 21:32:32 +0000 (21:32 +0000)]
new file

31 years agoMon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 18 Jan 1993 20:24:48 +0000 (20:24 +0000)]
Mon Jan 18 11:58:45 1993  Ian Lance Taylor  (ian@cygnus.com)

* mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
include/coff/mips.h.

31 years agocheckpoint
Steve Chamberlain [Mon, 18 Jan 1993 20:24:47 +0000 (20:24 +0000)]
checkpoint

31 years ago * c-exp.y (exp:STRING): Convert C strings into array-of-char
Fred Fish [Sat, 16 Jan 1993 05:15:58 +0000 (05:15 +0000)]
* c-exp.y (exp:STRING):  Convert C strings into array-of-char
constants with an explicit null byte terminator.  OP_STRING is
now used for real string types.
* c-lang.c (builtin_type_*):  Move declarations to lang.c since
they are used by all languages.
* c-lang.c (_initialize_c_language):  Move initializations of
builtin_type_* to lang.c.
* c-typeprint.c (c_type_print_varspec_prefix,
c_type_print_varspec_suffix):  TYPE_CODE_PASCAL_ARRAY renamed
to TYPE_CODE_STRING.
* c-valprint.c (c_val_print):  Change the way character arrays
are printed as strings to be consistent with the way strings
are printed when pointer-to-char types are dereferenced.
Remove test of print_max before calling val_print_string, which
now does it's own test.
* eval.c (evaluate_subexp):  Add case for OP_ARRAY.
* expprint.c (print_subexp, dump_expression):  Add case for OP_ARRAY.
* expression.h (enum exp_opcode):  Add OP_ARRAY and document.
* gdbtypes.c (builtin_type_*):  Add declarations moved from
c-lang.c.
* gdbtypes.c (create_string_type):  New function to create real
string types.
* gdbtypes.c (recursive_dump_type):  TYPE_CODE_PASCAL_ARRAY
renamed to TYPE_CODE_STRING.
* gdbtypes.c (_initialize_gdbtypes):  Add initializations of
builtin_type_* types moved from c-lang.c.
* gdbtypes.h (enum type_code):  TYPE_CODE_PASCAL_ARRAY renamed
to TYPE_CODE_STRING.
* gdbtypes.h (builtin_type_string):  Add extern declaration.
* gdbtypes.h (create_string_type):  Add prototype.
* m2-lang.c (m2_create_fundamental_type):  TYPE_CODE_PASCAL_ARRAY
renamed to TYPE_CODE_STRING.
* m88k-tdep.c (pushed_size):  TYPE_CODE_PASCAL_ARRAY renamed to
TYPE_CODE_STRING.
* mipsread.c (_initialize_mipsread):  TYPE_CODE_PASCAL_ARRAY
renamed to TYPE_CODE_STRING.
* parse.c (length_of_subexp, prefixify_subexp):  Add case for
OP_ARRAY.
* printcmd.c (print_formatted):  Recognize TYPE_CODE_STRING.
* typeprint.c (print_type_scalar):  TYPE_CODE_PASCAL_ARRAY renamed
to TYPE_CODE_STRING.
* valops.c (allocate_space_in_inferior):  New function and
prototype, using code ripped out of value_string.
* valops.c (value_string):  Rewritten to use new function
allocate_space_in_inferior, but temporarily disabled until some
other support is in place.
* valops.c (value_array):  New function to create array constants.
* valprint.c (val_print_string):  Add comment to document use,
complete rewrite to fix several small buglets.
* value.h (value_array):  Add prototype.
* value.h (val_print_string):  Change prototype to match rewrite.
**** start-sanitize-chill ****
* ch-valprint.c (chill_val_print):  Add case for TYPE_CODE_STRING.
* ch-exp.y (match_character_literal):  Disable recognition of
control sequence form of character literals and document why.
**** end-sanitize-chill ****

31 years ago * Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,
Mike Werner [Sat, 16 Jan 1993 01:05:50 +0000 (01:05 +0000)]
* Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,
  and CHILL_LIB.
* deja-gnu/gdb.t31/Makefile.in: removed explicit setting of
  CHILL variables as these are now passed down from the top
  level makefile using FLAGS_TO_PASS.

31 years agoBasically a checkpoint for coff-mips.c.
Ian Lance Taylor [Fri, 15 Jan 1993 23:39:05 +0000 (23:39 +0000)]
Basically a checkpoint for coff-mips.c.

Fri Jan 15 18:13:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* coff-msym.c (ecoff_swap_hdr_out, ecoff_swap_fdr_out,
ecoff_swap_pdr_out, ecoff_swap_sym_out, ecoff_swap_ext_out,
ecoff_swap_rndx_out, ecoff_swap_rfd_out, ecoff_swap_opt_in,
ecoff_swap_opt_out, ecoff_swap_dnr_in, ecoff_swap_dnr_out): New
functions.
* coffswap.h: If NO_COFF_RELOCS is defined, don't define
bfd_swap_reloc_in or coff_swap_reloc_out.
* coff-mips.c: Added code to link and write out symbolic debugging
information, and to swap relocs in and out.

31 years agoFri Jan 15 18:17:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Fri, 15 Jan 1993 23:20:27 +0000 (23:20 +0000)]
Fri Jan 15 18:17:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* ecoff-ext.h: Added prototypes for new ECOFF swapping functions.
(opt_ext): New structure.
* mips.h (ZMAGIC): Defined to be 0413.
(_LIB): Defined to be ".lib"
(external_reloc): MIPS ECOFF relocs are only 8 bytes.  Added
macros to aid in swapping.