external/binutils.git
31 years agoKeep sparc.mt.
Jim Wilson [Mon, 31 Aug 1992 00:27:23 +0000 (00:27 +0000)]
Keep sparc.mt.

31 years agoResolve someone else's CVS update conflict.
Jim Wilson [Mon, 31 Aug 1992 00:01:22 +0000 (00:01 +0000)]
Resolve someone else's CVS update conflict.

31 years agoMake as.new depend on LOCAL_LOADLIBES.
Jim Wilson [Sat, 29 Aug 1992 19:12:04 +0000 (19:12 +0000)]
Make as.new depend on LOCAL_LOADLIBES.

31 years ago * obstack.h: Merge comment change from current FSF version.
Fred Fish [Sat, 29 Aug 1992 17:10:29 +0000 (17:10 +0000)]
* obstack.h:  Merge comment change from current FSF version.

31 years agoMinor bug fixes from last big checkin.
John Gilmore [Sat, 29 Aug 1992 04:22:31 +0000 (04:22 +0000)]
Minor bug fixes from last big checkin.

31 years agoRS/6000 portability changes (for hosting cross-debuggers).
John Gilmore [Sat, 29 Aug 1992 00:33:47 +0000 (00:33 +0000)]
RS/6000 portability changes (for hosting cross-debuggers).

* config/rs6000.mh (XDEPFILES):  Move xcoffexec.o to target side.
(XM_CLIBS):  Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES):  Adopt xcoffexec.o.

31 years agoRS/6000 portability changes (for hosting cross-debuggers).
John Gilmore [Sat, 29 Aug 1992 00:32:58 +0000 (00:32 +0000)]
RS/6000 portability changes (for hosting cross-debuggers).

* breakpoint.c (fixup_breakpoints):  Re-kludge to IBM6000_TARGET.
* buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h,
xcoffexec.c, xcoffread.c:  Rename aixcoff to xcoff everywhere.
* printcmd.c (print_frame_args):  Remove an RS/6000 dependency.
* stabsread.c (define_symbol):  Remove RS/6000 dependencies.
* tm-rs6000.h (ATTACH_DETACH):  Remove: host-dependent.
(PTRACE_ATTACH, PTRACE_DETACH):  Remove: host-dep.
(NO_SINGLE_STEP):  Add, target-dependent.
(loadinfotextindex):  Lowercase, remove "aix_".
* xm-rs6000.h:  Add <sys/ptrace.h> for infptrace.c.
(NO_SINGLE_STEP):  Remove, target-dependent.
* xcoffexec.c (vmap_symtab):  Cleanup #if 0'd code.
* xcoffread.c:  Only build file if RS/6000 native GDB.
(build_function_symbol):  Remove #if 0'd code.
* rs6000-tdep.c:  Cleanup.  Add static fn protos.
Use CORE_ADDR for addresses throughout.  Make void fns void.
(pop_dummy_frame):  Add FIXME about bogosity of design here.
(rs6000_struct_return_address):  Ditto.
(frameless_function_invocation, frame_get_cache_fsr,
frame_initial_stack_address, xcoff_relocate_symtab,
xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo,
add_text_to_loadinfo, find_toc_address):  Move from xdep file.
Use CORE_ADDRs.  Change identifiers to lowercase.

* rs6000-xdep.c:  Make whole file conditional on native RS/6000,
supplying dummy routines if non-native.  Add prototype for
static exec_one_dummy_insn.  Move a mess of functions to
rs6000-tdep.c (as above).  Remove #if 0'd code.

* config/rs6000.mh (XDEPFILES):  Move xcoffexec.o to target side.
(XM_CLIBS):  Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES):  Adopt xcoffexec.o.

31 years ago* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
John Gilmore [Sat, 29 Aug 1992 00:31:10 +0000 (00:31 +0000)]
* gdbtypes.h (TYPE_ALLOC):  Parenthesize result to avoid problems
for callers.

31 years agoRS/6000 portability changes (for hosting cross-debuggers).
John Gilmore [Sat, 29 Aug 1992 00:28:56 +0000 (00:28 +0000)]
RS/6000 portability changes (for hosting cross-debuggers).

* breakpoint.c (fixup_breakpoints):  Re-kludge to IBM6000_TARGET.
* buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h,
xcoffexec.c, xcoffread.c:  Rename aixcoff to xcoff everywhere.
* printcmd.c (print_frame_args):  Remove an RS/6000 dependency.
* stabsread.c (define_symbol):  Remove RS/6000 dependencies.
* tm-rs6000.h (ATTACH_DETACH):  Remove: host-dependent.
(PTRACE_ATTACH, PTRACE_DETACH):  Remove: host-dep.
(NO_SINGLE_STEP):  Add, target-dependent.
(loadinfotextindex):  Lowercase, remove "aix_".
* xm-rs6000.h:  Add <sys/ptrace.h> for infptrace.c.
(NO_SINGLE_STEP):  Remove, target-dependent.
* xcoffexec.c (vmap_symtab):  Cleanup #if 0'd code.
* xcoffread.c:  Only build file if RS/6000 native GDB.
(build_function_symbol):  Remove #if 0'd code.
* rs6000-tdep.c:  Cleanup.  Add static fn protos.
Use CORE_ADDR for addresses throughout.  Make void fns void.
(pop_dummy_frame):  Add FIXME about bogosity of design here.
(rs6000_struct_return_address):  Ditto.
(frameless_function_invocation, frame_get_cache_fsr,
frame_initial_stack_address, xcoff_relocate_symtab,
xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo,
add_text_to_loadinfo, find_toc_address):  Move from xdep file.
Use CORE_ADDRs.  Change identifiers to lowercase.

* rs6000-xdep.c:  Make whole file conditional on native RS/6000,
supplying dummy routines if non-native.  Add prototype for
static exec_one_dummy_insn.  Move a mess of functions to
rs6000-tdep.c (as above).  Remove #if 0'd code.

* config/rs6000.mh (XDEPFILES):  Move xcoffexec.o to target side.
(XM_CLIBS):  Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES):  Adopt xcoffexec.o.

* gdbtypes.h (TYPE_ALLOC):  Parenthesize result to avoid problems
for callers.

31 years agoFri Aug 28 16:29:15 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Sat, 29 Aug 1992 00:17:55 +0000 (00:17 +0000)]
Fri Aug 28 16:29:15 1992  Ian Lance Taylor  (ian@cygnus.com)

* archive.c (bfd_slurp_bsd_armap): if the symdef_count is too
large, assume we're using a swapped byte order and fail with
wrong_format rather than dumping core.

31 years agoUpdate ChangeLog, removing yesterday's 960 change and putting in
Ian Lance Taylor [Sat, 29 Aug 1992 00:17:29 +0000 (00:17 +0000)]
Update ChangeLog, removing yesterday's 960 change and putting in
todays (960 now always uses little endian ordering).

31 years agoFri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Sat, 29 Aug 1992 00:16:47 +0000 (00:16 +0000)]
Fri Aug 28 16:25:22 1992  Ian Lance Taylor  (ian@cygnus.com)

* obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
tc-i960.c (md_ri_to_chars): Always output bout object file in
little endian byte order (used to use endianness of host).

31 years agoBack out the HOST_BIG_ENDIAN_P changes I put in yesterday.
Ian Lance Taylor [Fri, 28 Aug 1992 22:54:13 +0000 (22:54 +0000)]
Back out the HOST_BIG_ENDIAN_P changes I put in yesterday.

31 years agoMissed one...
Ken Raeburn [Fri, 28 Aug 1992 22:44:19 +0000 (22:44 +0000)]
Missed one...

31 years agoRenamed opc-sparc.c to sparc-opc.c for more significant characters in cpu
Ken Raeburn [Fri, 28 Aug 1992 22:42:58 +0000 (22:42 +0000)]
Renamed opc-sparc.c to sparc-opc.c for more significant characters in cpu
name under losing file systems ("sparc-op" rather than "opc-spar").

31 years ago-S flag is no longer supported (nor needed) with flex.
Sean Eric Fagan [Fri, 28 Aug 1992 21:27:32 +0000 (21:27 +0000)]
-S flag is no longer supported (nor needed) with flex.

31 years agoBack out yesterday's change for using host endian order in 960 bout files.
Ian Lance Taylor [Fri, 28 Aug 1992 21:10:36 +0000 (21:10 +0000)]
Back out yesterday's change for using host endian order in 960 bout files.

31 years agoForgot to add we32k.h.
Brendan Kehoe [Fri, 28 Aug 1992 21:01:47 +0000 (21:01 +0000)]
Forgot to add we32k.h.

31 years agoForgot to list the we32k files in .Sanitize.
Brendan Kehoe [Fri, 28 Aug 1992 21:01:11 +0000 (21:01 +0000)]
Forgot to list the we32k files in .Sanitize.

31 years ago* vx-share/README, nindy-share/README: New files describing
John Gilmore [Fri, 28 Aug 1992 20:16:45 +0000 (20:16 +0000)]
* vx-share/README, nindy-share/README:  New files describing
how these directories' code is shared, and with whom.
(also 29k-share)

31 years ago* vx-share/README, nindy-share/README: New files describing
John Gilmore [Fri, 28 Aug 1992 20:16:23 +0000 (20:16 +0000)]
* vx-share/README, nindy-share/README:  New files describing
how these directories' code is shared, and with whom.

31 years agoLast file for preliminary support of the we32k (AT&T 3b2 family).
Brendan Kehoe [Fri, 28 Aug 1992 17:17:33 +0000 (17:17 +0000)]
Last file for preliminary support of the we32k (AT&T 3b2 family).

31 years agoAccept i486 where i386 ok.
John Gilmore [Fri, 28 Aug 1992 05:00:36 +0000 (05:00 +0000)]
Accept i486 where i386 ok.

31 years ago* tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.
John Gilmore [Fri, 28 Aug 1992 04:59:03 +0000 (04:59 +0000)]
* tm-altosgas.h, tm-i386v-g.h:  Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}:  Ditto.
* config/{i386sco.mt,i386v32.mt}:  Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}:  Remove; they only printed error msgs.
* config/nindy960.mt:  Remove useless MT_CFLAGS setting.
* config/i386aout.mt:  Use tm-i386v.h, not tm-i386v-g.h.

31 years ago* configure.in (target configurations): Reformat into table.
John Gilmore [Fri, 28 Aug 1992 04:58:27 +0000 (04:58 +0000)]
* configure.in (target configurations):  Reformat into table.
Remove unsupp. Amigados host and target.  Ditto Mach 386 target.

* tm-altosgas.h, tm-i386v-g.h:  Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}:  Ditto.
* config/{i386sco.mt,i386v32.mt}:  Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}:  Remove; they only printed error msgs.
* config/nindy960.mt:  Remove useless MT_CFLAGS setting.
* config/i386aout.mt:  Use tm-i386v.h, not tm-i386v-g.h.

* Makefile.in (config-check):  Add command to check whether
configure.in is consistent with config/*.

31 years agoRemove -gas variants; GDB doesn't care. Cross-check with config/*.mh
John Gilmore [Fri, 28 Aug 1992 02:00:26 +0000 (02:00 +0000)]
Remove -gas variants; GDB doesn't care.  Cross-check with config/*.mh
to make sure all .mh files are represented and vice verse.

31 years agoThu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 28 Aug 1992 00:08:35 +0000 (00:08 +0000)]
Thu Aug 27 16:38:42 1992  Ian Lance Taylor  (ian@cygnus.com)

  * gld960.em (gld960_choose_target): the target depends on
HOST_BIG_ENDIAN_P.

31 years agoThu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 28 Aug 1992 00:08:13 +0000 (00:08 +0000)]
Thu Aug 27 17:01:04 1992  Ian Lance Taylor  (ian@cygnus.com)

* targets.c, config/i960-bout.mt, hosts/*: added
HOST_BIG_ENDIAN_DEFAULT_VECTOR and
HOST_LITTLE_ENDIAN_DEFAULT_VECTOR because bout archive format
depends on the endianness of the host.  Added #define
HOST_BIG_ENDIAN_P and #undef HOST_BIG_ENDIAN_P to a number of
configuration files in hosts/ (it was already in some).

31 years ago * config.sub: add we32k
Brendan Kehoe [Thu, 27 Aug 1992 22:19:51 +0000 (22:19 +0000)]
* config.sub: add we32k

31 years agoAdd preliminary support for the we32k (AT&T 3b2).
Brendan Kehoe [Thu, 27 Aug 1992 22:11:48 +0000 (22:11 +0000)]
Add preliminary support for the we32k (AT&T 3b2).

31 years agoAdd preliminary support for the we32k (AT&T 3b2 family).
Brendan Kehoe [Thu, 27 Aug 1992 22:09:30 +0000 (22:09 +0000)]
Add preliminary support for the we32k (AT&T 3b2 family).

31 years agoAdd preliminary support for the we32k (AT&T 3b2 and family).
Brendan Kehoe [Thu, 27 Aug 1992 22:08:01 +0000 (22:08 +0000)]
Add preliminary support for the we32k (AT&T 3b2 and family).

31 years ago * configure.in: add we32k
Brendan Kehoe [Thu, 27 Aug 1992 22:04:34 +0000 (22:04 +0000)]
    * configure.in: add we32k

31 years agocorrect use of bfd symbols
Mark Eichin [Thu, 27 Aug 1992 21:19:27 +0000 (21:19 +0000)]
correct use of bfd symbols

31 years ago* configure.in (host configurations): Reformat nested cases into
John Gilmore [Thu, 27 Aug 1992 04:15:42 +0000 (04:15 +0000)]
* configure.in (host configurations):  Reformat nested cases into
easy-to-maintain table.
(altos-*-gas):  Use -gas flag instead of OS "gas".

31 years ago * bout.c: added support for relaxable alignment relocs.
Steve Chamberlain [Thu, 27 Aug 1992 00:35:09 +0000 (00:35 +0000)]
* bout.c: added support for relaxable alignment relocs.

* seclet.c (rel, seclet_dump_seclet, seclet_dump): get the app to
pass down pointer to play area rather than use alloca

31 years ago * ldlang.c (lang_process): don't pass null pointers when
Steve Chamberlain [Thu, 27 Aug 1992 00:32:05 +0000 (00:32 +0000)]
* ldlang.c (lang_process): don't pass null pointers when
abs_output_section is what is required.
* ldwrite.c (ldwrite): use malloc to allocate the largest space
used, and pass that down.
* relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
than alloca.

31 years ago * cplus-dem.c: Reorder args to most local functions to make them
Fred Fish [Wed, 26 Aug 1992 23:05:55 +0000 (23:05 +0000)]
* cplus-dem.c:  Reorder args to most local functions to make them
follow the consistent pattern of struct work_stuff pointer first,
followed by pointer into string being demangled, followed by
pointer to the string where the result is being stored, followed
by other args.  Also generally replace most variables of name
"type" with "mangled" for consistency.  They all pointed to the
same string but half were one name and half the other.
* cplus-dem.c (LONGERNAMES):  Remove #ifndef's.
* cplus-dem.c (demangle_qualified):  Rewrite to clean up and allow
use whenever a qualified name is being demangled.
* cplus-dem.c (do_type):  Qualified names are treated similarly
to fundamental types, not as modifiers of fundamental types.

31 years ago * cpu-z8k.c (compatible): made static to reduce name space
Steve Chamberlain [Wed, 26 Aug 1992 21:21:20 +0000 (21:21 +0000)]
* cpu-z8k.c (compatible): made static to reduce name space
polution.

31 years ago* config/tc-m68k.c (init_table): Now const. Always include 68851
Ken Raeburn [Wed, 26 Aug 1992 04:08:45 +0000 (04:08 +0000)]
* config/tc-m68k.c (init_table): Now const.  Always include 68851
data, so that "bc" is available to 68040 cache instructions.  Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
line number correctly in "internal error" messages.  Don't print
architecture-mismatch message for operand errors.

From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.

31 years ago* config/tc-m68k.c (init_table): Now const. Always include 68851
Ken Raeburn [Wed, 26 Aug 1992 04:02:42 +0000 (04:02 +0000)]
* config/tc-m68k.c (init_table): Now const.  Always include 68851
data, so that "bc" is available to 68040 cache instructions.  Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
line number correctly in "internal error" messages.  Don't print
architecture-mismatch message for operand errors.

From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.

31 years agom68k.h (m68ec030): Defined as alias for 68030.
Ken Raeburn [Wed, 26 Aug 1992 03:46:22 +0000 (03:46 +0000)]
m68k.h (m68ec030): Defined as alias for 68030.
(m68k_opcodes): New type characters "3" for 68030 MMU regs and "t" for
immediate 0-7 added.  Set up some opcodes (ptest, bkpt) to use them.
Tightened description of "fmovex" to distinguish it from some "pmove"
encodings.  Added "pmove" for 68030 MMU regs, cleaned up descriptions that
claimed versions were available for chips not supporting them.  Added
"pmovefd".

sparc.h: Fixed up some comments.

31 years ago * internal.h: added #define for STYP_LIT, removed from a29k and
Steve Chamberlain [Tue, 25 Aug 1992 22:23:20 +0000 (22:23 +0000)]
* internal.h: added #define for STYP_LIT, removed from a29k and
h8300.

31 years ago * listing.c (buffer_line): rewind to the start of include
Steve Chamberlain [Tue, 25 Aug 1992 22:16:39 +0000 (22:16 +0000)]
* listing.c (buffer_line): rewind to the start of include
files, they might be included twice.

31 years agoSupport for the Z8k
Steve Chamberlain [Tue, 25 Aug 1992 22:12:54 +0000 (22:12 +0000)]
Support for the Z8k

31 years agoRegenerated after Z8000 addition
Steve Chamberlain [Tue, 25 Aug 1992 22:09:47 +0000 (22:09 +0000)]
Regenerated after Z8000 addition

31 years agoSupport for the Z8000
Steve Chamberlain [Tue, 25 Aug 1992 22:07:19 +0000 (22:07 +0000)]
Support for the Z8000

31 years ago Add basic support for the z8k:
Steve Chamberlain [Tue, 25 Aug 1992 22:04:53 +0000 (22:04 +0000)]
    Add basic support for the z8k:

* Makefile.in, archures.c, coffcode.h, configure.in, reloc.c,
section.c, targets.c,

31 years agoMarkup changes to run through TeX without errors.
Roland Pesch [Tue, 25 Aug 1992 21:20:06 +0000 (21:20 +0000)]
Markup changes to run through TeX without errors.
WARNING: (1) this has not yet been proofread as a printout---just eliminated
             problems that TeX complained about.
         (2) extraneous line breaks introduced in some examples, sometimes
             in ridiculously long strings; this may falsify examples.  Places
     where I did this are marked by FIXME comments.

31 years agoSome improvements in Texinfo markup:
Roland Pesch [Tue, 25 Aug 1992 20:56:41 +0000 (20:56 +0000)]
Some improvements in Texinfo markup:

1) use makeinfo node defaulting
2) correct bad xref
3) use @display, @exdent,  etc. as first approximation to Julia's
   clever typewriter markup; **THIS WILL NEED STUDY AND REVISION**
4) introduce many nodes rather than ---- in "detailed reference" appendix

31 years agoAdd sparc-stub.c to .Sanitize
Stu Grossman [Tue, 25 Aug 1992 17:14:51 +0000 (17:14 +0000)]
Add sparc-stub.c to .Sanitize

31 years agoMove a patch which got put in the wrong place.
Steve Chamberlain [Tue, 25 Aug 1992 15:40:52 +0000 (15:40 +0000)]
Move a patch which got put in the wrong place.

31 years agoUpdate to make patches relative to current devo sources.
Fred Fish [Tue, 25 Aug 1992 15:13:55 +0000 (15:13 +0000)]
Update to make patches relative to current devo sources.

31 years ago* configure.in: Add sparclite as a target.
Stu Grossman [Tue, 25 Aug 1992 03:52:20 +0000 (03:52 +0000)]
* configure.in:  Add sparclite as a target.

31 years ago* sparc-stub.c (handle_exception): Flush instruction cache just
Stu Grossman [Tue, 25 Aug 1992 03:47:53 +0000 (03:47 +0000)]
* sparc-stub.c (handle_exception):  Flush instruction cache just
before returning to the user.  (hexToInt):  Fix overzealous cleanup.

31 years ago * ar.c (map_over_members): if the element of the archive has a
Steve Chamberlain [Mon, 24 Aug 1992 22:37:04 +0000 (22:37 +0000)]
* ar.c (map_over_members): if the element of the archive has a
null name, fill it in.

* nm.c (do_one_rel_file): only warn if a bfd's flags say there
will be symbols and there aren't any.

31 years agoRenamed OSE configuration to ose.
Ian Lance Taylor [Mon, 24 Aug 1992 22:32:46 +0000 (22:32 +0000)]
Renamed OSE configuration to ose.

31 years ago * ieee.c (ieee_get_symtab): always null terminate the symbol list,
Steve Chamberlain [Mon, 24 Aug 1992 21:53:04 +0000 (21:53 +0000)]
* ieee.c (ieee_get_symtab): always null terminate the symbol list,
lint.

31 years agoBrought up from p3:
Ian Lance Taylor [Mon, 24 Aug 1992 21:06:34 +0000 (21:06 +0000)]
Brought up from p3:

Mon Aug 24 14:05:14 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: don't create all directories for ``make install'';
let the subdirectories create the ones they need.

31 years agoMon Aug 24 12:45:12 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 24 Aug 1992 19:48:54 +0000 (19:48 +0000)]
Mon Aug 24 12:45:12 1992  Ian Lance Taylor  (ian@cygnus.com)

* tc-m68k.c: use TARGET_CPU to choose default cpu type.

* te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
so that we can assemble hand-written libgcc code.

31 years agoMon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 24 Aug 1992 19:48:24 +0000 (19:48 +0000)]
Mon Aug 24 12:45:43 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: defined TARGET_CPU for C code so that it can choose
one element of a family.

31 years ago * coffcode.h (coff_add_missing_symbols): if symbols don't come
Steve Chamberlain [Mon, 24 Aug 1992 19:10:06 +0000 (19:10 +0000)]
* coffcode.h (coff_add_missing_symbols): if symbols don't come
from a coff file (csym is null), dont deref them

* ieee.c (parse_expression): get the answer right when adding an
abs+(sec+off), (ieee_generic_stat_arch_elt): call ieee_object_p
on elts so that filename is filled in.

31 years ago * infrun.c (handle_command): Rewrite to allow multiple signal
Fred Fish [Mon, 24 Aug 1992 19:00:24 +0000 (19:00 +0000)]
* infrun.c (handle_command):  Rewrite to allow multiple signal
numbers, signal number ranges, and to recognize "all" to mean all
signals except those used by the debugger.
* infrun.c (SET_SIGS, UNSET_SIGS):  Macros used in handle_command
to set or reset actions for specific signals.

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

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

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

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

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

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

31 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

31 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

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

31 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

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

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

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

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

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

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

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

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

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

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

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

31 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".

31 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

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

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

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

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

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

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

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

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

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

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

31 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).

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

31 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).

31 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!