binutils-gdb.git
32 years agoFIXME. Half-done documentation for the macros used to configure GDB's
John Gilmore [Mon, 24 Aug 1992 08:20:14 +0000 (08:20 +0000)]
FIXME.  Half-done documentation for the macros used to configure GDB's
sources.  What's there now is a list of all macros, and at least one
source file in which they are referenced.

32 years ago * coffread.c (decode_type): Call alloc_type to alloc new
Fred Fish [Mon, 24 Aug 1992 00:13:11 +0000 (00:13 +0000)]
* coffread.c (decode_type):  Call alloc_type to alloc new
types.
* stabsread.c (read_array_type, read_range_type, define_symbol):
Call alloc_type to alloc new types.
* stabsread.c (define_symbol):  Move dbl_valu symbol field data
from type_obstack to symbol_obstack.
* stabsread.c (define_symbol):  Move typedef_sym from type_obstack
to symbol_obstack.
* gdbtypes.h (TYPE_ALLOC):  New macro to allocate space for data
associated with a type, using the same mechanism as was used to
allocate space for the type structure itself.
* coffread.c (patch_type, coff_read_struct_type,
coff_read_enum_type):  Use TYPE_ALLOC.
* dwarfread.c (struct_type):  Use TYPE_ALLOC.
* gdbtypes.c (create_array_type, check_stub_method,
allocate_cplus_struct_type):  Use TYPE_ALLOC.
* mipsread.c (parse_symbol, parse_type):  Use TYPE_ALLOC.
* stabsread.c (read_struct_type, read_array_type, read_enum_type,
read_range_type):  Use TYPE_ALLOC.

32 years ago * breakpoint.c (breakpoint_re_set): Select a default source
Fred Fish [Sun, 23 Aug 1992 18:09:19 +0000 (18:09 +0000)]
* breakpoint.c (breakpoint_re_set):  Select a default source
symtab if one is not currently selected.
* utils.c (query):  Call wrap_here before building the output
query string, to turn off wrapping and flush any buffered output.
Otherwise our query may end up in the wrap buffer and never be
seen by the user.
* eval.c (evaluate_subexp):  Report error when attempting to
evaluate subscript for types without a target type, rather
than dumping core by using the NULL pointer.
* symfile.c (symbol_file_command):  Forget current_source_symtab
and current_source_line when discarding symbol table.

32 years agoBug fixes from Andrew Heybey <ath@lcs.mit.edu>.
John Gilmore [Sun, 23 Aug 1992 05:36:09 +0000 (05:36 +0000)]
Bug fixes from Andrew Heybey <ath@lcs.mit.edu>.

* tm-mips.h (REGISTER_VIRTUAL_TYPE):  Float regs are float type.
* mips-tdep.c (mips_print_register):  Alloc enough space for two regs.

32 years ago* remote.c (remote_open): Fix baud rate setting to make -b flag
Stu Grossman [Fri, 21 Aug 1992 22:35:35 +0000 (22:35 +0000)]
* remote.c (remote_open):  Fix baud rate setting to make -b flag
work.  (remote_wait):  Change 'T' message parser to deal with new
improved format which allows stub to send an arbitrary bunch of
registers.
* sparc-stub.c:  General cleanups.  (trap_low, handle_exception):
make all this re-entrant by storing all state on the stack.  Clean
up memory error trapping.  (computeSignal, set_debug_traps):
make it all table driven.  Make a start at a baud rate setting command.

32 years agoFrom p3:
Ken Raeburn [Fri, 21 Aug 1992 19:21:52 +0000 (19:21 +0000)]
From p3:
* messages.c (as_warn): Use fputs, not fprintf, with a buffer that
has already been formatted (but may still contain %-characters).
(as_bad): Likewise.

32 years agocommon/undef sym handling fix from p3
Ken Raeburn [Fri, 21 Aug 1992 01:43:49 +0000 (01:43 +0000)]
common/undef sym handling fix from p3

32 years agoenough align-reloc support for "objdump -r", not enough for linking
Ken Raeburn [Thu, 20 Aug 1992 23:13:33 +0000 (23:13 +0000)]
enough align-reloc support for "objdump -r", not enough for linking

32 years agoRe-do change for revision 1.28 that got trashed by 1.29.
Per Bothner [Thu, 20 Aug 1992 04:04:50 +0000 (04:04 +0000)]
Re-do change for revision 1.28 that got trashed by 1.29.

32 years agoBrought forward from p3:
Ian Lance Taylor [Wed, 19 Aug 1992 22:01:25 +0000 (22:01 +0000)]
Brought forward from p3:

Wed Aug 19 14:59:07 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: always create installation directories, use full

32 years agoBrought forward from p3:
Ian Lance Taylor [Wed, 19 Aug 1992 21:38:00 +0000 (21:38 +0000)]
Brought forward from p3:

Wed Aug 19 14:36:39 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: always create installation directories.

32 years agoIntroduce more blanks in examples; minor formatting cleanup.
Roland Pesch [Wed, 19 Aug 1992 21:34:47 +0000 (21:34 +0000)]
Introduce more blanks in examples; minor formatting cleanup.

32 years agoThis is for PR 628.
Ian Lance Taylor [Wed, 19 Aug 1992 18:28:48 +0000 (18:28 +0000)]
This is for PR 628.

Wed Aug 19 10:23:27 1992  Ian Lance Taylor  (ian@cygnus.com)

* m68k-pinsn.c: handle new operand type 'r', introduced for cas2.

32 years agoThis is for PR 628.
Ian Lance Taylor [Wed, 19 Aug 1992 18:27:48 +0000 (18:27 +0000)]
This is for PR 628.

Wed Aug 19 11:20:59 1992  Ian Lance Taylor  (ian@cygnus.com)

* tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
written with indirection on the last two operands, which can be
either data or address registers.  Added a new operand type 'r'
which accepts either register type.  Added '(' to notend stuff in
tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.

32 years agoThis is for PR 628.
Ian Lance Taylor [Wed, 19 Aug 1992 18:27:12 +0000 (18:27 +0000)]
This is for PR 628.

Wed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)

* m68k-pinsn.c: handle new operand type 'r', introduced for cas2.

32 years agoWed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 19 Aug 1992 17:26:47 +0000 (17:26 +0000)]
Wed Aug 19 10:23:27 1992  Ian Lance Taylor  (ian@cygnus.com)

* remote-vx.c: redefine malloc to avoid buggy declaration on
RS/6000 <rpc/types.h>.
xm-rs6000.h: include <sys/select.h> to define fd_set for
<rpc/svc.h> on RS/6000.

32 years agomainly link-relax changes
Ken Raeburn [Wed, 19 Aug 1992 14:42:21 +0000 (14:42 +0000)]
mainly link-relax changes

32 years agoAdded option to print the version number.
Rob Savoye [Wed, 19 Aug 1992 03:48:17 +0000 (03:48 +0000)]
Added option to print the version number.

32 years agoAdded -V option to print version number.
Rob Savoye [Wed, 19 Aug 1992 03:45:36 +0000 (03:45 +0000)]
Added -V option to print version number.

32 years agoAdded +version (-V) option to print version number.
Rob Savoye [Wed, 19 Aug 1992 03:25:51 +0000 (03:25 +0000)]
Added +version (-V) option to print version number.

32 years agoAdded -V option to print the version number.
Rob Savoye [Wed, 19 Aug 1992 03:24:16 +0000 (03:24 +0000)]
Added -V option to print the version number.

32 years agoHitachi now calls assembler plain "as", not "as83".
Roland Pesch [Tue, 18 Aug 1992 23:27:38 +0000 (23:27 +0000)]
Hitachi now calls assembler plain "as", not "as83".

32 years agoTue Aug 18 15:59:13 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Tue, 18 Aug 1992 23:02:35 +0000 (23:02 +0000)]
Tue Aug 18 15:59:13 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* gdbinv-s.m4.in: refrain from using @cartouche for just a few
examples (not consistent w others).
gdb.texinfo: issue disclaimer paragraph on cmdline options only
for generic vn of doc

32 years agoChangeLog entry for sparc.mt added last week.
Ken Raeburn [Tue, 18 Aug 1992 22:20:44 +0000 (22:20 +0000)]
ChangeLog entry for sparc.mt added last week.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 21:59:59 +0000 (21:59 +0000)]
Moved in from p3:

Tue Aug 18 14:53:27 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: always create installation directories.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 21:59:16 +0000 (21:59 +0000)]
Moved in from p3:

Tue Aug 18 14:48:24 1992  Ian Lance Taylor  (ian@cygnus.com)

  * Makefile.in: added FLAGS_TO_PASS variable, and passed it to
recursive invocations of make.  Always create installation
directories.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 21:25:33 +0000 (21:25 +0000)]
Moved in from p3:

Tue Aug 18 14:19:01 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: always create installation directories.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 21:24:59 +0000 (21:24 +0000)]
Moved in from p3:

Tue Aug 18 14:16:38 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: always create installation directories.  Removed
MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
FLAGS_TO_PASS to recursive makes.

32 years agoTue Aug 18 14:11:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Tue, 18 Aug 1992 21:14:22 +0000 (21:14 +0000)]
Tue Aug 18 14:11:50 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* gdb.texinfo: in h8 config, do not describe searching commands.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 20:48:29 +0000 (20:48 +0000)]
Moved in from p3:

Tue Aug 18 13:41:36 1992  Ian Lance Taylor  (ian@cygnus.com)

* configure.in: accept all m68K family members.

* Makefile.in: always create installation directories.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 20:34:26 +0000 (20:34 +0000)]
Moved in from p3:

Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)

* config/mh-apollo68v: removed -g from CC definition.

* Makefile.in: always create installation directories.

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 18 Aug 1992 20:24:22 +0000 (20:24 +0000)]
Moved in from p3:

Tue Aug 18 12:57:45 1992  Ian Lance Taylor  (ian@cygnus.com)

  * Makefile.in: added FLAGS_TO_PASS, and used it for all recursive
invocations of make.  Also, always create installation
directories.

* config/apollov68.mh: removed -g from CC definition.

32 years agoNeed L_SET defined on the apollo, at least under BSD emulation mode.
Sean Eric Fagan [Tue, 18 Aug 1992 19:49:58 +0000 (19:49 +0000)]
Need L_SET defined on the apollo, at least under BSD emulation mode.

32 years agoSupport netx configuration (which permits long-only alignment on m68k).
Michael Tiemann [Tue, 18 Aug 1992 18:35:50 +0000 (18:35 +0000)]
Support netx configuration (which permits long-only alignment on m68k).

32 years agoSigh; rectify error from jumping the gun on editing file while CVS
Roland Pesch [Tue, 18 Aug 1992 01:36:36 +0000 (01:36 +0000)]
Sigh; rectify error from jumping the gun on editing file while CVS
checkin proceeding.  Check in with most generic markup for page layout.

32 years ago * m68k-pinsn.c: Minor fix in style of output (don't use
Per Bothner [Tue, 18 Aug 1992 01:35:31 +0000 (01:35 +0000)]
* m68k-pinsn.c:  Minor fix in style of output (don't use
range to indicate floating point control registers).

32 years agoCheck in with @smallbook commented out!
Roland Pesch [Tue, 18 Aug 1992 01:34:34 +0000 (01:34 +0000)]
Check in with @smallbook commented out!

32 years agoMon Aug 17 18:07:59 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Tue, 18 Aug 1992 01:33:09 +0000 (01:33 +0000)]
Mon Aug 17 18:07:59 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* gdb.texinfo, none.m4, h8.m4, gdbinv-s.m4.in: improve H8/300
  conditionals; introduce a few generic switches that may be
  useful for other cross-dev or dos-hosted configs.

* gdb.texinfo: fix typo in "info reg" description

32 years ago * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
Steve Chamberlain [Mon, 17 Aug 1992 22:12:02 +0000 (22:12 +0000)]
* input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
being used with args swapped, causing occasional lossage when
refilling buffers after an include file.

32 years ago* config/decstation.mh (HDEFINES): Specify "-G 4" to avoid
Ken Raeburn [Mon, 17 Aug 1992 20:42:16 +0000 (20:42 +0000)]
* config/decstation.mh (HDEFINES): Specify "-G 4" to avoid
overflowing gp-offset range.

32 years ago* messages.c (as_tsktsk): Use correct ANSI form for stdarg version.
Ken Raeburn [Mon, 17 Aug 1992 20:20:54 +0000 (20:20 +0000)]
* messages.c (as_tsktsk): Use correct ANSI form for stdarg version.
Discard bogus DONTDEF version.
(as_warn, as_bad, as_fatal): Likewise.

32 years ago * srec.c (srec_set_section_contents): don't write out sections
Steve Chamberlain [Mon, 17 Aug 1992 19:29:07 +0000 (19:29 +0000)]
* srec.c (srec_set_section_contents): don't write out sections
without the LOAD and ALLOC attributes

32 years agoUse new name of man page (ld.1).
Roland Pesch [Mon, 17 Aug 1992 18:35:59 +0000 (18:35 +0000)]
Use new name of man page (ld.1).

32 years agoThanks to Zoo watchfulness:
Roland Pesch [Mon, 17 Aug 1992 18:28:26 +0000 (18:28 +0000)]
Thanks to Zoo watchfulness:
(1) reflect current name of linker (now "ld", not "gld");
(2) fill in missing portion of a reference to full manual;
(3) fix old random typo spotted while proofing above.

32 years ago* bfd.h: Regenerated after page/segment size changes.
Ken Raeburn [Mon, 17 Aug 1992 16:05:07 +0000 (16:05 +0000)]
* bfd.h: Regenerated after page/segment size changes.

32 years ago* archures.c, cpu-m68k.c, cpu-sparc.c: Undo 16 June changes.
Ken Raeburn [Mon, 17 Aug 1992 16:04:19 +0000 (16:04 +0000)]
* archures.c, cpu-m68k.c, cpu-sparc.c: Undo 16 June changes.
* libaout.h (struct aout_backend_data): New callback "set_sizes".
* aout-target.h (callback): Don't set page/seg sizes.
(mkobject): Ditto.
(set_sizes): New routine.
(backend_data): Point to it.
* aoutf1.h (sunos4_set_sizes): Heed architecture when setting sizes.
(sunos4_aout_backend): Point to it.
* aoutx.h (set_arch_mach): Call set_sizes callback.

32 years ago* stabs.texinfo: Minor updates from running TeX over it.
John Gilmore [Sun, 16 Aug 1992 08:20:01 +0000 (08:20 +0000)]
* stabs.texinfo:  Minor updates from running TeX over it.
* Makefile.in (stabs.dvi, stabs.ps):  Add.

32 years agoFirst pass at converting Julia's stabs document into texinfo.
Per Bothner [Sun, 16 Aug 1992 03:55:12 +0000 (03:55 +0000)]
First pass at converting Julia's stabs document into texinfo.

32 years agoAdd aout/adobe.h.
John Gilmore [Sat, 15 Aug 1992 11:23:46 +0000 (11:23 +0000)]
Add aout/adobe.h.

32 years agoSurround extended support with #ifdef HAVE_68881.
John Gilmore [Sat, 15 Aug 1992 11:06:41 +0000 (11:06 +0000)]
Surround extended support with #ifdef HAVE_68881.

32 years ago* gdb.texinfo, refcard.tex: Document mult args on `info reg'.
John Gilmore [Sat, 15 Aug 1992 11:06:00 +0000 (11:06 +0000)]
* gdb.texinfo, refcard.tex:  Document mult args on `info reg'.
* Makefile.in (refcard.ps, lrefcard.ps):  Add missing $(srdir).

32 years ago* infcmd.c (registers_info): Handle multiple register names.
John Gilmore [Sat, 15 Aug 1992 10:00:10 +0000 (10:00 +0000)]
* infcmd.c (registers_info):  Handle multiple register names.
Changes inspired by Roland McGrath.

32 years ago* sparc-stub.c: New file. Mix it with your SPARClite
Stu Grossman [Sat, 15 Aug 1992 09:34:25 +0000 (09:34 +0000)]
* sparc-stub.c:  New file.  Mix it with your SPARClite
application, and it will speak GDB remote protocol!
* remote.c (remote_wait):  Change 'T' (expedited reply) message to
deal with arbitrary registers.  Needed for sparc-stub,

32 years agoAdd section on partial symbol tables.
John Gilmore [Sat, 15 Aug 1992 04:12:16 +0000 (04:12 +0000)]
Add section on partial symbol tables.

32 years ago* config/tc-m68k.c (m68k_ip): If instruction is invalid for the
Ken Raeburn [Sat, 15 Aug 1992 02:57:12 +0000 (02:57 +0000)]
* config/tc-m68k.c (m68k_ip): If instruction is invalid for the
selected architecture, print a message saying so and listing what
processors support it, rather than saying "operands mismatch".

32 years ago* config/tc-m68k.c (m68k_ip): If instruction is invalid for the
Ken Raeburn [Sat, 15 Aug 1992 02:50:47 +0000 (02:50 +0000)]
* config/tc-m68k.c (m68k_ip): If instruction is invalid for the
selected architecture, print a message saying so and listing what
processors support it, rather than saying "operands mismatch".

32 years ago * aout-target.h: Make _bfd_slurp_extended_name_table be
Per Bothner [Sat, 15 Aug 1992 02:27:58 +0000 (02:27 +0000)]
* aout-target.h:  Make _bfd_slurp_extended_name_table be
the default.  Given that we *write* the suckers (for long
archive member names), we really ought to be able to read them!
* trad-core.c:  Don't include <machine/reg.h>.  It doesn't
seem to be needed, and many machines don't have it.

32 years ago * m68k.h: Merged in patches (mostly m68040-specific) from
Per Bothner [Fri, 14 Aug 1992 23:12:58 +0000 (23:12 +0000)]
* m68k.h:  Merged in patches (mostly m68040-specific) from
Colin Smith <colin@wrs.com>.

32 years ago * m68k.h: Merged m68kmri.h and m68k.h (using the former as a
Per Bothner [Fri, 14 Aug 1992 21:23:56 +0000 (21:23 +0000)]
* m68k.h:  Merged m68kmri.h and m68k.h (using the former as a
base).  Also cleaned up duplicates, re-ordered instructions for
the sake of dis-assembling (so aliases come after standard names).
* m68kmri.h: Now just defines some macros, and #includes m68k.h.

32 years ago * cplus-dem.c (cplus_markers): Add table for gnu style and
Fred Fish [Fri, 14 Aug 1992 19:14:15 +0000 (19:14 +0000)]
* cplus-dem.c (cplus_markers):  Add table for gnu style and
use throughout, in place of compile time constant CPLUS_MARKER.
* cplus-dem.c (ARM_VTABLE_STRING, ARM_VTABLE_STRLEN):  Add.
* cplus-dem.c (cfront_special):  New function, as suggested
by pfieland@stratus.com.
* cplus-dem.c (forget_types):  New function.
* cplus-dem.c (cplus_demangle):  Call gnu_special, moved from
demangle_prefix().
* cplus-dem.c (mop_up):  Call forget_types().
* cplus-dem.c (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING):
Use throughout, instead of checking current_demangling_style.
* cplus-dem.c (demangle_signature):  When finding an explicit
start of function args, forget all remembered types for
lucid/cfront style demangling.
* cplus-dem.c (demangle_prefix):  In a sequence of two or more
underbar characters, use last pair as the delimiter.  Hoist
gnu_special() call up to cplus_demangle().  Call cfront_special()
when appropriate.
* cplus-dem.c (cplus_special):  Fix virtual table name demangling
for inherited classes.
* cplus-dem.c (demangle_args):  Document quirks of numbered
references to previously seen types.
* dbxread.c (read_ofile_symtab, process_one_symbol):
Use AUTO_DEMANGLING rather than explicitly checking
current_demangling_style.
* demangle.h:  Add some comments.
* demangle.h (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING,
CFRONT_DEMANGLING):  New macros.
* dwarfread.c (LCC_PRODUCER):  Remove trailing space, which is
not found in the actual producer string produced by lcc.
* dwarfread.c (handle_producer):  Use AUTO_DEMANGLING rather
than explicitly checking current_demangling_style.

32 years agoUpdate descriptions for ${host} and ${target} to reflect that they are now
Roland Pesch [Thu, 13 Aug 1992 23:31:53 +0000 (23:31 +0000)]
Update descriptions for ${host} and ${target} to reflect that they are now
canonical triples, not the original user entries.

32 years agomake it compile on rs6k: declare free, disable assertions, don't define M_RS6000
Ken Raeburn [Thu, 13 Aug 1992 20:55:03 +0000 (20:55 +0000)]
make it compile on rs6k: declare free, disable assertions, don't define M_RS6000

32 years ago * ldlex.l: now parses comment correctly, added ~ to acceptable
Steve Chamberlain [Thu, 13 Aug 1992 19:16:49 +0000 (19:16 +0000)]
* ldlex.l: now parses comment correctly, added ~ to acceptable
chars in filenames

* ldexp.c (exp_unop): pass down abs_output_section - now can have
unary -ve constants.

* ldlang.c (lang_finish): warn when an entry symbol supplied on
the command line can't be found.

32 years ago* breakpoint.c (enable_longjmp_breakpoint,
John Gilmore [Thu, 13 Aug 1992 19:02:32 +0000 (19:02 +0000)]
* breakpoint.c (enable_longjmp_breakpoint,
disable_longjmp_breakpoint, set_longjmp_resume_breakpoint):
Check for duplicate breakpoints at the same address.  Bug report
and preliminary fix from Dave Morrison, <drmorris@us.oracle.com>.

32 years ago * coff-m68k.c (vector): read and write archives in coff format.
Steve Chamberlain [Thu, 13 Aug 1992 16:54:50 +0000 (16:54 +0000)]
* coff-m68k.c (vector): read and write archives in coff format.

32 years ago * m68kmri.h: added various opcodes. Moved jbxx to bxxes. Filled in
Steve Chamberlain [Wed, 12 Aug 1992 23:39:34 +0000 (23:39 +0000)]
* m68kmri.h: added various opcodes. Moved jbxx to bxxes. Filled in
all missing .s

32 years agoper explanation from zoo, back out DESTDIR change.
Mark Eichin [Wed, 12 Aug 1992 23:02:31 +0000 (23:02 +0000)]
per explanation from zoo, back out DESTDIR change.

32 years ago* readline.c (last_readline_init_file): Fix typo made by Steve
John Gilmore [Wed, 12 Aug 1992 22:52:26 +0000 (22:52 +0000)]
* readline.c (last_readline_init_file):  Fix typo made by Steve
Chamberlain/DJ Delorie.  Proper control file name is ~/.inputrc,
not ~/inputrc.

32 years ago * Makefile.in: change ${MACHINE} to $(MACHINE), add $(DESTDIR) to
Mark Eichin [Wed, 12 Aug 1992 22:16:34 +0000 (22:16 +0000)]
* Makefile.in: change ${MACHINE} to $(MACHINE), add $(DESTDIR) to
bin install rule.

32 years ago * buildsym.c (end_symtab): Document that end_symtab can return
Fred Fish [Wed, 12 Aug 1992 18:17:48 +0000 (18:17 +0000)]
  * buildsym.c (end_symtab):  Document that end_symtab can return
  NULL under non-error conditions.
  * dwarfread.c (read_file_scope):  Guard against dereferencing NULL
  returned from end_symtab for empty compilation units.

32 years ago * ar.c (main): Don't *always* set the verbose flag!
Per Bothner [Wed, 12 Aug 1992 06:46:02 +0000 (06:46 +0000)]
* ar.c (main):  Don't *always* set the verbose flag!

32 years agofix up hostname in log entry
Ken Raeburn [Tue, 11 Aug 1992 17:04:54 +0000 (17:04 +0000)]
fix up hostname in log entry

32 years agograb bfd lib for opcode table
Ken Raeburn [Tue, 11 Aug 1992 17:00:47 +0000 (17:00 +0000)]
grab bfd lib for opcode table

32 years agomoved sparc opcode table to bfd
Ken Raeburn [Tue, 11 Aug 1992 16:57:29 +0000 (16:57 +0000)]
moved sparc opcode table to bfd

32 years ago * i386.h (i386_optab): Add fildq, fistpq aliases used by gcc.
Ken Raeburn [Tue, 11 Aug 1992 16:36:35 +0000 (16:36 +0000)]
    * i386.h (i386_optab): Add fildq, fistpq aliases used by gcc.

32 years agoChanges to make MIPS x 29K compile.
John Gilmore [Tue, 11 Aug 1992 09:54:24 +0000 (09:54 +0000)]
Changes to make MIPS x 29K compile.

* am29k-tdep.c:  Lint from DECstation compiler.
* mem-break.c:  Restore test of BREAKPOINT size that Fred removed.
As the man page says, "Sometimes you just can't get lint to shut
up".  That doesn't mean you should blow away the code it won't
shut up about.
* mips-xdep.c:  Revise stubbing-out of code until Rich cleans
it up over the next few weeks.  Make mips x 29k build.
* tm-29k.h (CALL_DUMMY):  Make it work on cross-endian hosts.
(FIX_CALL_DUMMY):  Comment in the patching of the breakpoint,
but leave it as a comment because the breakpoint instruction
is not easily accessible at this moment (it's static, and if
we define one here, it goes into every file compiled).

32 years ago * Makefile.in (VERSION): Bump to 4.6.3.
Fred Fish [Tue, 11 Aug 1992 05:29:41 +0000 (05:29 +0000)]
* Makefile.in (VERSION):  Bump to 4.6.3.
* dwarfread.c (scan_partial_symbols):  Skip over DIE's within
function scopes when building partial symbol tables.
* objfiles.c (open_existing_mapped_file):  Make it clear in
warning message that out of date mapped files are ignored.
* symtab.c (lookup_symtab_1, lookup_symbol):  Print compilation
unit source file name in error message.

32 years ago * tc-m68k.c: ".align N" means align to N-byte boundary *only*
Per Bothner [Mon, 10 Aug 1992 21:40:49 +0000 (21:40 +0000)]
* tc-m68k.c: ".align N" means align to N-byte boundary *only*
if TN_SUN3; otherwise align to 2**N-byte bounary.

32 years ago * bout.c (bfd_reloc_status_type, callj_callback): Cast void*
Fred Fish [Sun, 9 Aug 1992 06:16:44 +0000 (06:16 +0000)]
* bout.c (bfd_reloc_status_type, callj_callback):  Cast void*
pointers to bfd_byte* before performing arithmetic on them.  Such
use with bare void* pointers is a gcc extension.
* cache.c (bfd_cache_delete):  Forward decl with prototype form.
* archive (normalize):  Add to CONST to match actual usages with
CONST.

32 years ago * dwarfread.c (struct dieinfo): Add has_at_byte_size.
Fred Fish [Sun, 9 Aug 1992 06:14:59 +0000 (06:14 +0000)]
* dwarfread.c (struct dieinfo):  Add has_at_byte_size.
* dwarfread.c (struct_type):  In absence of AT_byte_size for
bitfield, use size of object of member's type for the size of
the anonymous object containing the bit field.
* dwarfread.c (completedieinfo):  Set has_at_byte_size when
an AT_byte_size attribute is seen.
* mipsread.c (psymtab_to_symtab_1):  Fix misspelled cast to
union aux_ext (was aux_ent).
* i386-pinsn.c (print_insn):  Cast 2'nd arg to read_memory from
unsigned char* to char*, for Lucid compiler.
* i386-tdep.c (codestream_fill):  Fix cast of 2'nd arg to read_memory
to be correct type (from unsigned char* to char*).
* valprint.c (type_print_derivation_info):  Minor tweak to placement
of commas in derived class printing.
* xcoffread.c (builtin_type):  Fix misspelling in fatal message.

32 years agoStrip has mutated; remove all existing option documentation, document
Roland Pesch [Sat, 8 Aug 1992 01:13:23 +0000 (01:13 +0000)]
Strip has mutated; remove all existing option documentation, document
only -v (verbose).

32 years agoInclude -N description (and include -N in synopsis).
Roland Pesch [Sat, 8 Aug 1992 00:36:16 +0000 (00:36 +0000)]
Include -N description (and include -N in synopsis).

32 years agoRestore docn for -N, now reintroduced into this generation of linker.
Roland Pesch [Sat, 8 Aug 1992 00:31:17 +0000 (00:31 +0000)]
Restore docn for -N, now reintroduced into this generation of linker.

32 years ago * ldlang.h: add new field "loadable" to output_section_statement.
Steve Chamberlain [Fri, 7 Aug 1992 19:34:59 +0000 (19:34 +0000)]
* ldlang.h: add new field "loadable" to output_section_statement.
* ldlang.c (lang_output_section_statement_lookup): initilize new
field. (wild_doit): if new field is not set, then stop output
section from being loadable.
(lang_enter_output_section_statement): set the field from the
NOLOAD keyword
* ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
* h8300hms.sc-sh, h8300hms.em: get -r right.

32 years ago * xm-go32.h: Define LSEEK_NOT_LINEAR
Steve Chamberlain [Fri, 7 Aug 1992 18:22:54 +0000 (18:22 +0000)]
* xm-go32.h: Define LSEEK_NOT_LINEAR
* serial.c (find_source_lines): if LSEEK_NOT_LINEAR is defined
then work out the lseek positions of newlines by running through
the file and `tell'ing.  This makes source file listing work on
OS's where the relationship between physical position in file and
canonical position is indeterminate, eg VMS and DOS.

32 years ago * ldint.texinfo: New internals manual (beginnings thereof).
Per Bothner [Fri, 7 Aug 1992 01:37:39 +0000 (01:37 +0000)]
* ldint.texinfo:  New internals manual (beginnings thereof).
* PORTING:  Removed, merged into ldint.texinfo.

32 years ago * stabsread.c: Ensure that all members of all allocated structures
Fred Fish [Thu, 6 Aug 1992 21:44:36 +0000 (21:44 +0000)]
* stabsread.c:  Ensure that all members of all allocated structures
are initialized to known state to avoid hard to find bugs with gdb
using fields containing random data.

32 years agoUse cp to INSTALL.
Per Bothner [Thu, 6 Aug 1992 20:03:49 +0000 (20:03 +0000)]
Use cp to INSTALL.

32 years ago * buildsym.c (start_subfile): Compact dirname initialization.
Fred Fish [Thu, 6 Aug 1992 19:59:46 +0000 (19:59 +0000)]
* buildsym.c (start_subfile):  Compact dirname initialization.
* buildsym.c (patch_subfile_names):  New function.
* buildsym.c (end_symtab):  Make copy of dirname on symbol obstack.
* buildsym.c (end_symtab):  Free all malloc'd subfile fields.
* buildsym.h (patch_subfile_names):  Add prototype.
* dbxread.c (process_one_symbol):  Call patch_subfile_names.

32 years ago * read.c (s_fill): make the .fill size clamped error a warn and
Steve Chamberlain [Thu, 6 Aug 1992 19:11:19 +0000 (19:11 +0000)]
* read.c (s_fill): make the .fill size clamped error a warn and
fix bug where 0's were always placed.

32 years ago * config/tc-h8300.c: if a :8 is seen after an operand, fill top
Steve Chamberlain [Thu, 6 Aug 1992 19:09:57 +0000 (19:09 +0000)]
* config/tc-h8300.c: if a :8 is seen after an operand, fill top
two bytes of any constant with 0xff:

32 years ago * buildsym.c (end_symtab): Make copy of dirname on symbol obstack.
Fred Fish [Thu, 6 Aug 1992 17:58:26 +0000 (17:58 +0000)]
* buildsym.c (end_symtab):  Make copy of dirname on symbol obstack.

32 years agoFix typo, I ment sun 3 .align is nbytes
Steve Chamberlain [Wed, 5 Aug 1992 19:06:28 +0000 (19:06 +0000)]
Fix typo, I ment sun 3 .align is nbytes

32 years ago * config/tc-m68k.c (md_pseudo_table): fix the .align thing
Steve Chamberlain [Wed, 5 Aug 1992 19:05:43 +0000 (19:05 +0000)]
* config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.

32 years ago * config/tc-m68k.c (md_pseudo_table): fix the .align thing
Steve Chamberlain [Wed, 5 Aug 1992 19:05:21 +0000 (19:05 +0000)]
* config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun4 .align is nbytes, not ptwo.

32 years ago * copy.c: When is_strip (because it is invoked as the strip
Per Bothner [Wed, 5 Aug 1992 18:46:00 +0000 (18:46 +0000)]
* copy.c:  When is_strip (because it is invoked as the strip
program), follow traditional argv processing:
'strip file1 file2' now strips file1 and file2, rather
than stripping file1 (as input), leaving output in file2.

32 years agoUpdate comments. It doesn't do MiniMON, it does UDI!
John Gilmore [Wed, 5 Aug 1992 17:49:48 +0000 (17:49 +0000)]
Update comments.  It doesn't do MiniMON, it does UDI!

32 years ago* tc-m68k.c (try_index): Error if index scaling specified and
John Gilmore [Wed, 5 Aug 1992 08:59:10 +0000 (08:59 +0000)]
* tc-m68k.c (try_index):  Error if index scaling specified and
assembling for an older CPU than a 68020.

This bug was found at Adobe because GAS did not diagnose incorrect
68020 code generated by GCC when compiling for 68010.  We had to debug it
in the target system as failing instructions.

32 years ago* remote.c (getpkt): Only force retransmission ten times;
John Gilmore [Wed, 5 Aug 1992 08:46:44 +0000 (08:46 +0000)]
* remote.c (getpkt):  Only force retransmission ten times;
after that, assume bug in target code, and handle pkt anyway.

32 years ago * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
Per Bothner [Wed, 5 Aug 1992 04:15:37 +0000 (04:15 +0000)]
* cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
cdtest.exp:  A test program (copied from libg++/test-install)
that tests that constructor and destructors are handled
corrrectly.