binutils-gdb.git
31 years ago* gdb.t06/signals.exp: Add kludge to force re-sync.
Jim Kingdon [Wed, 17 Nov 1993 03:59:25 +0000 (03:59 +0000)]
* gdb.t06/signals.exp: Add kludge to force re-sync.

31 years ago * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
Jim Kingdon [Wed, 17 Nov 1993 03:11:30 +0000 (03:11 +0000)]
* gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
to xgdb instead of gdb, get out of gdb.

31 years ago * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
Stu Grossman [Wed, 17 Nov 1993 01:38:11 +0000 (01:38 +0000)]
* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c:  Remove.  Move
common code into lynx-nat.c.
* lynx-nat.c:  New module.  Contains portable code for Lynx native
stuff (mostly ptrace related).
* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
non-architecture specific native and target defs.
* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
(arch) portable stuff into ../{tm nm}-lynx.h.

31 years ago * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc.
Stu Grossman [Wed, 17 Nov 1993 01:11:30 +0000 (01:11 +0000)]
* lynx-core.c (lynx_core_file_p):  Change bfd_zalloc to bfd_alloc.
* m68klynx.c:  Define core file macros.
* hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h:  Move all
non-architecture specific stuff into lynx.h.

31 years ago * i386linux.c: Define new macro ZMAGIC_DISK_BLOCK_SIZE to 1024, and
Jim Kingdon [Tue, 16 Nov 1993 23:07:40 +0000 (23:07 +0000)]
* i386linux.c: Define new macro ZMAGIC_DISK_BLOCK_SIZE to 1024, and
change PAGE_SIZE to 4096.

31 years agodon't build ld on i386-sysv4 platforms
David D. Zuhn [Tue, 16 Nov 1993 23:06:48 +0000 (23:06 +0000)]
don't build ld on i386-sysv4 platforms

31 years ago * config.guess: Recognize Apollos (using environment variables).
Jim Kingdon [Tue, 16 Nov 1993 20:43:36 +0000 (20:43 +0000)]
* config.guess: Recognize Apollos (using environment variables).
* configure.in: Don't configure ld, binutils, or gprof for Apollo.

31 years ago * a68v-nat.c: Replace with new version from Troy Rollo. The
Jim Kingdon [Tue, 16 Nov 1993 20:29:03 +0000 (20:29 +0000)]
* a68v-nat.c: Replace with new version from Troy Rollo.  The
version I am replacing appears to be an old copy of sun3-nat.c.
* dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call
with loop.

31 years ago * Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.
Jim Kingdon [Tue, 16 Nov 1993 19:51:59 +0000 (19:51 +0000)]
* Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.

* Makefile.in: (HFILES,TAGFILES): Split into _WITH_SRCDIR and
_NO_SRCDIR versions.
(TAGS): Only add srcdir to TAGFILES_NO_SRCDIR.
(This is part of a long saga involving me putting srcdir on
everything (perhaps for now-obsolete reasons, I forget), Rich
removing the srcdir from everything, Stu putting it back some
places for Sun make, and me just now getting around to fixing
`make TAGS' again).

31 years agoAdd ChangeLog entry for change by Rob
Jim Kingdon [Tue, 16 Nov 1993 16:27:54 +0000 (16:27 +0000)]
Add ChangeLog entry for change by Rob

31 years agoCorrect typos in sac ChangeLog entry
Jim Kingdon [Tue, 16 Nov 1993 16:25:21 +0000 (16:25 +0000)]
Correct typos in sac ChangeLog entry

31 years agoModified Files:
Kung Hsu [Tue, 16 Nov 1993 02:58:42 +0000 (02:58 +0000)]
Modified Files:
ChangeLog stack.c

        * stack.c(print_frame_info): print demangled function name
        ansi style.

31 years agoHow many times do I have to do this...
Steve Chamberlain [Mon, 15 Nov 1993 23:49:21 +0000 (23:49 +0000)]
How many times do I have to do this...

31 years agoUse remote-e7000.c
Steve Chamberlain [Mon, 15 Nov 1993 23:29:56 +0000 (23:29 +0000)]
Use remote-e7000.c

31 years ago * config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
Jim Kingdon [Mon, 15 Nov 1993 23:29:10 +0000 (23:29 +0000)]
* config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
REGEX.
* config/i386/xm-linux.h: Don't include xm-i386v.h.  Define
HOST_BYTE_ORDER ourselves.  Define HAVE_TERMIOS not HAVE_TERMIO.
Define NEED_POSIX_SETPGID.  Include unistd.h.

31 years ago * remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
Steve Chamberlain [Mon, 15 Nov 1993 23:26:56 +0000 (23:26 +0000)]
* remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
* remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.
* h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
(sim_load): delete.
* remote-sim.c (sim_load): Use gr_load_image.
* config/sh/sh.mt: Add remote-e7000

31 years agoInitial revision
Steve Chamberlain [Mon, 15 Nov 1993 23:25:03 +0000 (23:25 +0000)]
Initial revision

31 years agoWhy does cvs keep core dumping?
Steve Chamberlain [Mon, 15 Nov 1993 23:22:31 +0000 (23:22 +0000)]
Why does cvs keep core dumping?

31 years ago * remote-utils.c, remote-utils.h (gr_load_image): New function to
Steve Chamberlain [Mon, 15 Nov 1993 23:21:29 +0000 (23:21 +0000)]
* remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.

31 years ago* mh-linux: Don't put -static in LDFLAGS. Add comments.
Jim Kingdon [Mon, 15 Nov 1993 23:01:36 +0000 (23:01 +0000)]
* mh-linux: Don't put -static in LDFLAGS.  Add comments.

31 years agousr cr instead of cq in AR_FLAGS
David D. Zuhn [Mon, 15 Nov 1993 21:44:18 +0000 (21:44 +0000)]
usr cr instead of cq in AR_FLAGS

31 years agoModified Files:
Kung Hsu [Mon, 15 Nov 1993 20:40:03 +0000 (20:40 +0000)]
Modified Files:
  ChangeLog symtab.c

        * symtab.c(gdb_mangle_name): fix the problem with constructor
        name mangling.

31 years ago * gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
Jim Kingdon [Mon, 15 Nov 1993 20:13:30 +0000 (20:13 +0000)]
* gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
* gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
what cleanup_undefined_types does for arrays, except we clear
TYPE_FLAG_TARGET_STUB if we fix up the type.
* stabsread.c (cleanup_undefined_types): Add comments about how
doing arrays here is no longer the clean way to do it.
(read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
add_undefined_type.
* c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
outside switch so it happens for all type codes.
* cp-valprint.c (cp_print_value_fields): Recurse to val_print,
instead of c_val_print, so that check_stub_type gets called.

* gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
TYPE_FLAG_SIGNED.  It was inconsistently set, never checked
(except in recursive_dump_type), and is pointless.

31 years ago* Makefile.in (diststuff): New target.
Ken Raeburn [Mon, 15 Nov 1993 20:10:49 +0000 (20:10 +0000)]
* Makefile.in (diststuff): New target.
* VERSION: Updated.

31 years ago * som.c (som_object_setup): Do not create dummy ".text", ".data",
Jeff Law [Mon, 15 Nov 1993 08:43:36 +0000 (08:43 +0000)]
* som.c (som_object_setup): Do not create dummy ".text", ".data",
and ".bss" sections.
(setup_sections): Do not set SEC_HAS_CONTENTS if a section's size
is zero.  Recognize BSS type sections and turn off SEC_LOAD and
SEC_DATA (so binutils/size works).  Set the correct value for
a section's _raw_size.
(som_slurp_symbol_table): Program entry points, and millicode are
also functions.  Mark them as such.  Also mark L$* symbols as
debugging symbols.

31 years ago * paread.c (pa_symfile_init): Look for the $TEXT$ section rather
Jeff Law [Mon, 15 Nov 1993 08:42:01 +0000 (08:42 +0000)]
* paread.c (pa_symfile_init): Look for the $TEXT$ section rather
than the .text section.

31 years ago * bfd-in2.h: Rebuilt.
Jeff Law [Mon, 15 Nov 1993 07:34:01 +0000 (07:34 +0000)]
    * bfd-in2.h: Rebuilt.

31 years ago * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
Jim Kingdon [Mon, 15 Nov 1993 05:36:36 +0000 (05:36 +0000)]
* stabsread.c: Remove #if 0'd dbx_class_complaint.  We now handle
this (more or less) gracefully, and complain() was never a good
way of dealing with this.

31 years ago * objdump.c (dump_stabs): Handle stabs-in-som as implemented
Jeff Law [Sun, 14 Nov 1993 08:29:27 +0000 (08:29 +0000)]
* objdump.c (dump_stabs): Handle stabs-in-som as implemented
by the new BFD SOM assembler.

31 years ago * gdb.stabs/hppa.mt: A makefile fragment for the PA.
Jeff Law [Sun, 14 Nov 1993 07:20:53 +0000 (07:20 +0000)]
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
* gdb.stabs/hppa.sed: New sed script for the PA.

31 years ago * gdb.stabs: Re-write weird.def and configuration to use sed
Jim Kingdon [Sun, 14 Nov 1993 06:50:42 +0000 (06:50 +0000)]
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.

31 years ago * stabsread.c (read_type): Skip the colon when reading a
Jim Kingdon [Sun, 14 Nov 1993 06:40:47 +0000 (06:40 +0000)]
* stabsread.c (read_type): Skip the colon when reading a
cross-reference.  Only complain, not error_type, on unrecognized
cross-reference types.  error_type, not dump core, if the colon is
missing.

31 years ago * stabs.texinfo (Nested Symbols): New node.
Jim Kingdon [Sun, 14 Nov 1993 06:33:55 +0000 (06:33 +0000)]
* stabs.texinfo (Nested Symbols): New node.
(String Field, Symbol Descriptors, Cross-References): Refer to it.

31 years ago * gdb.stabs: Re-write weird.def and configuration to use sed
Jim Kingdon [Sun, 14 Nov 1993 05:57:47 +0000 (05:57 +0000)]
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.

31 years ago * gdb.stabs: Re-write weird.def and configuration to use sed
Jim Kingdon [Sun, 14 Nov 1993 05:35:22 +0000 (05:35 +0000)]
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.

31 years ago * som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
Jeff Law [Sun, 14 Nov 1993 01:32:09 +0000 (01:32 +0000)]
    * som.c (som_bfd_reloc_type_lookup): Add missing prototype.  Returns
        a pointer to constant data.  Delete bogus #define which made the
        function useless.

31 years ago * som.c (som_begin_writing): New function.
Jeff Law [Sun, 14 Nov 1993 00:56:58 +0000 (00:56 +0000)]
* som.c (som_begin_writing): New function.

31 years ago * som.c (som_write_space_strings): New function.
Jeff Law [Sun, 14 Nov 1993 00:33:00 +0000 (00:33 +0000)]
* som.c (som_write_space_strings): New function.
(som_write_symbol_strings): New function.

31 years ago * som.c (som_write_fixups): New function.
Jeff Law [Sun, 14 Nov 1993 00:00:05 +0000 (00:00 +0000)]
* som.c (som_write_fixups): New function.

31 years ago * som.c (som_prep_for_fixups): New function.
Jeff Law [Sat, 13 Nov 1993 23:28:34 +0000 (23:28 +0000)]
    * som.c (som_prep_for_fixups): New function.

31 years agofix NAME hyphen
David MacKenzie [Sat, 13 Nov 1993 15:16:23 +0000 (15:16 +0000)]
fix NAME hyphen

31 years ago * som.c (som_write_object_contents): Do not abort. Flesh out.
Jeff Law [Sat, 13 Nov 1993 08:57:07 +0000 (08:57 +0000)]
    * som.c (som_write_object_contents): Do not abort.  Flesh out.
        (som_set_section_contents): Do not abort.  Flesh out.

31 years ago * som.c (som_build_and_write_symbol_table): New function.
Jeff Law [Sat, 13 Nov 1993 08:37:14 +0000 (08:37 +0000)]
* som.c (som_build_and_write_symbol_table): New function.

31 years ago * som.c (som_write_headers): New function.
Jeff Law [Sat, 13 Nov 1993 08:02:43 +0000 (08:02 +0000)]
    * som.c (som_write_headers): New function.

31 years ago * som.c (som_reloc_call): New function.
Jeff Law [Sat, 13 Nov 1993 07:22:06 +0000 (07:22 +0000)]
* som.c (som_reloc_call): New function.

31 years ago * som.c (som_sizeof_headers): Add missing prototype.
Jeff Law [Sat, 13 Nov 1993 06:52:07 +0000 (06:52 +0000)]
    * som.c (som_sizeof_headers): Add missing prototype.
        (som_set_arch_mach): Do not abort.

31 years ago * som.c (som_prep_headers): New function.
Jeff Law [Sat, 13 Nov 1993 06:44:29 +0000 (06:44 +0000)]
* som.c (som_prep_headers): New function.

31 years ago * config/tc-hppa.[ch]: Fix assorted trivial indention problems.
Jeff Law [Sat, 13 Nov 1993 01:08:50 +0000 (01:08 +0000)]
    * config/tc-hppa.[ch]: Fix assorted trivial indention problems.

31 years ago * config/obj-som.c (obj_som_version): Add missing ';'.
Jeff Law [Sat, 13 Nov 1993 00:54:15 +0000 (00:54 +0000)]
    * config/obj-som.c (obj_som_version): Add missing ';'.
        (som_frob_file): Delete whitespace at EOL.

31 years ago * som.c (som_count_spaces): New function.
Jeff Law [Sat, 13 Nov 1993 00:39:20 +0000 (00:39 +0000)]
    * som.c (som_count_spaces): New function.
        (som_count_subspaces): New function.
        (compare_syms): New function.
        (som_compute_checksum): New function.

31 years ago * som.c (hppa_som_gen_reloc_type): New function.
Jeff Law [Sat, 13 Nov 1993 00:28:06 +0000 (00:28 +0000)]
    * som.c (hppa_som_gen_reloc_type): New function.
        (som_bfd_reloc_type_lookup): New function.

31 years ago * config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
Stu Grossman [Sat, 13 Nov 1993 00:26:06 +0000 (00:26 +0000)]
* config/m68k/tm-sun3.h:  Disable use of alternate breakpoint insn
when doing remote stuff.

31 years ago * som.c (try_prev_fixup): New function.
Jeff Law [Sat, 13 Nov 1993 00:16:17 +0000 (00:16 +0000)]
* som.c (try_prev_fixup): New function.
(som_reloc_skip): New function.
(som_reloc_addend): New function.

31 years ago * som.c (som_initialize_reloc_queue): New function.
Jeff Law [Sat, 13 Nov 1993 00:07:20 +0000 (00:07 +0000)]
* som.c (som_initialize_reloc_queue): New function.
(som_reloc_queue_insert): Likewise.
(som_reloc_queue_fix): Likewise.
(som_reloc_queue_find): Likewise.

31 years ago* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
Jim Kingdon [Sat, 13 Nov 1993 00:06:49 +0000 (00:06 +0000)]
* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.

31 years ago * som.c (som_hppa_howto_table): SOM howto relocation table.
Jeff Law [Fri, 12 Nov 1993 23:49:58 +0000 (23:49 +0000)]
    * som.c (som_hppa_howto_table): SOM howto relocation table.
        (hppa_som_reloc): New function.

31 years agoversion number updated following 2.2 release
Ken Raeburn [Fri, 12 Nov 1993 23:44:55 +0000 (23:44 +0000)]
version number updated following 2.2 release

31 years ago * som.c (struct reloc_queue): New structure to keep track of
Jeff Law [Fri, 12 Nov 1993 23:43:24 +0000 (23:43 +0000)]
* som.c (struct reloc_queue): New structure to keep track of
the last four multibyte relocations emitted.
(enum pa_symbol_type): Type to fully describe the symbol types
associated with .import/.export assembler directives.

31 years ago * som.c: Include libhppa.h
Jeff Law [Fri, 12 Nov 1993 23:39:35 +0000 (23:39 +0000)]
* som.c: Include libhppa.h

31 years ago * som.c (bfd_som_set_section_attributes): New function.
Jeff Law [Fri, 12 Nov 1993 23:36:04 +0000 (23:36 +0000)]
* som.c (bfd_som_set_section_attributes): New function.
(bfd_som_set_subsection_attributes): Likewise.
(bfd_som_set_symboL_type): Likewise.
(bfd_som_attach_unwind_info): Likewise.
* som.h: Declare new exported functions.

31 years ago * som.h (struct som_symbol): Add new fields to hold additional
Jeff Law [Fri, 12 Nov 1993 23:08:13 +0000 (23:08 +0000)]
* som.h (struct som_symbol): Add new fields to hold additional
information needed to build/write symbol tables and fixup streams.
(struct som_section_data_struct): Add new fields to hold additional
information needed to build/write space and subspace headers.
(som_symbol_data): New accessor macro for SOM symbol information.
(R_HPPA_*): Basic relocation types to be used by the assembler.

31 years ago * config/tc-hppa.c (hppa_fix_struct): Use a real type for the
Jeff Law [Fri, 12 Nov 1993 22:54:41 +0000 (22:54 +0000)]
* config/tc-hppa.c (hppa_fix_struct): Use a real type for the
field selector, rather than an int.  All uses of field selectors
fixed.
(tc_gen_reloc): For SOM PLABELs, always set addend to zero for now.
(md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL
field.

31 years ago * partial-stab.h: Ignore ':' symbol descriptors. Same case as
Jim Kingdon [Fri, 12 Nov 1993 22:30:05 +0000 (22:30 +0000)]
* partial-stab.h: Ignore ':' symbol descriptors.  Same case as
Kung's stabsread.c change.

31 years ago * stabs.texinfo (Nested Symbols): New node.
Jim Kingdon [Fri, 12 Nov 1993 22:18:29 +0000 (22:18 +0000)]
* stabs.texinfo (Nested Symbols): New node.
(String Field, Symbol Descriptors): Refer to it.

31 years ago* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
Jim Kingdon [Fri, 12 Nov 1993 21:32:42 +0000 (21:32 +0000)]
* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.

31 years agoModified Files:
Kung Hsu [Fri, 12 Nov 1993 19:34:24 +0000 (19:34 +0000)]
Modified Files:
ChangeLog stabsread.c

        * stabsread.c (patch_block_stabs, define_symbol, read_type): in
        g++ template instantiation, nested class can be part of the
        params, and '::' can gets into symbol or type names. This is
        to fix the problem. (fix pr3837)

31 years agoModified Files:
Kung Hsu [Fri, 12 Nov 1993 19:21:13 +0000 (19:21 +0000)]
Modified Files:
gdbtypes.c ChangeLog

        * gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
        to struct/union case. (fix pr3857)

31 years ago * coff-solib.c (coff_solib_add): Cast result of alloca().
Stu Grossman [Fri, 12 Nov 1993 18:59:43 +0000 (18:59 +0000)]
* coff-solib.c (coff_solib_add):  Cast result of alloca().
* m68k-tdep.c (m68k_saved_pc_after_call):  Get rid of
GDB_TARGET_IS_SUN3.  Use more general SYSCALL_TRAP macro.
* config/m68k/m68klynx.mh (NATDEPFILES):  Remove exec.o (it's
already in TDEPFILES).
* config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL):  Use
m68k_saved_pc_after_call.
* Remove all Sun3 specific stuff.
* (FIX_CALL_DUMMY):  Cast arg to bfd_putb32 to unsigned char *.
* config/m68k/tm-m68klynx.h:  Define SYSCALL_TRAP as trap #10.
Disable REMOTE_BREAKPOINT mechanism.
* config/m68k/tm-sun3.h:  Get rid of GDB_TARGET_IS_SUN3.
* Protect from multiple includion.
* Move Sun3 specific stuff from tm-m68k.h to here.
* Define SYSCALL_TRAP as trap #0.
* Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
* gdbserver/low-lynx.c:  Redo all register store/fetch stuff to
make it portable for 386 and 68k.

31 years ago * trad-core.c (trad_unix_core_file_p): If new hook
Jim Kingdon [Fri, 12 Nov 1993 17:10:56 +0000 (17:10 +0000)]
* trad-core.c (trad_unix_core_file_p): If new hook
TRAD_CORE_ALLOW_ANY_EXTRA_SIZE defined, then skip the check for the
corefile being too big.
* hosts/i386sco.h: Define it.

31 years ago * mips-tdep.c (init_extra_frame_info): Check to see whether the
Jim Kingdon [Fri, 12 Nov 1993 16:35:59 +0000 (16:35 +0000)]
* mips-tdep.c (init_extra_frame_info): Check to see whether the
registers mentioned in the proc_desc have been saved.  This
generalizes mips_in_lenient_prologue in the sense that we keep
searching until we've found saves for all the registers, not just
look for a "lenient prologue" pattern.
* mips-tdep.c: #if 0 lenient prologue code.

* mips-tdep.c (heuristic_proc_desc): Don't assume a host short
is 16 bits.

31 years ago* config/i386/i386sol2.mh: Comment out corelow.o.
Jim Kingdon [Fri, 12 Nov 1993 05:33:56 +0000 (05:33 +0000)]
* config/i386/i386sol2.mh: Comment out corelow.o.

31 years ago * printcmd.c (address_info): Use filtered, not unfiltered functions.
Jim Kingdon [Fri, 12 Nov 1993 02:06:50 +0000 (02:06 +0000)]
* printcmd.c (address_info): Use filtered, not unfiltered functions.
We should be able to deal with a QUIT here.

31 years agoMore correct m68k LynxOS support
Stan Shebs [Fri, 12 Nov 1993 00:37:00 +0000 (00:37 +0000)]
More correct m68k LynxOS support

31 years ago * config/tc-hppa.c (pa_type_args): For .import statements,
Jeff Law [Thu, 11 Nov 1993 23:51:20 +0000 (23:51 +0000)]
    * config/tc-hppa.c (pa_type_args): For .import statements,
        silently ignore attempt to change the symbol type for a function
        from ST_ENTRY to ST_CODE on .import

31 years ago * bfd.c (struct _bfd): Add hppabsd_core_data.
Jeff Law [Thu, 11 Nov 1993 23:44:36 +0000 (23:44 +0000)]
* bfd.c (struct _bfd): Add hppabsd_core_data.
* targets.c (target_vector): Add hppabsd_core_vec.
* hpux-core.c (hpux_core_core_file_p): Fail if an unknown core
section is encountered during core section scanning.
* hppabsd-core.c: New file.
* config/hppabsd.mh: Enable HPPA BSD core files.

31 years ago * printcmd.c (address_info): Use fprintf_symbol_filtered
Jeff Law [Thu, 11 Nov 1993 23:27:21 +0000 (23:27 +0000)]
* printcmd.c (address_info): Use fprintf_symbol_filtered
to print the symbol name.

* stabsread.c (define_symbol): Handle cfront lossage for
struct/union/enums and typedefs.

* partial-stab.h (case N_BINCL): Update psymtab_language
as appropriate when changing subfiles.
(case N_SOL): Update psymtab_language as appropriate when
changing subfiles.  Add typedef for structs, unions, and enums
when processing C++ files.

31 years ago * elf32-hppa.c (hppa_elf_reloc): Remove DEFUN crud. Remove code
Jeff Law [Thu, 11 Nov 1993 23:17:51 +0000 (23:17 +0000)]
* elf32-hppa.c (hppa_elf_reloc): Remove DEFUN crud.  Remove code
which is either commented out or ifdef'd out.  Add, update and
clean comments.  Fix various indention and spacing problems.  Handle
problems related to using "ble" to jump to a stub rather than "bl"
(%r31 is trashed by "ble", but not by "bl").
(NEW_INSTRUCTION): Put inside curly braces.
(CURRENT_STUB_OFFSET): Fix indention problems.
(hppa_elf_build_arg_reloc_stub): Fix indention and spacing problems.
Add, update and clean comments.  Handle "ble" %r31 lossage problems.
(hppa_elf_build_long_branch_stub): Likewise.
(hppa_look_for_stubs_in_section): Likewise.
(hppa_elf_stub_check): Remove obsolete function.

* hppa_stubs.h: Add new instructions to deal with %r31 lossage
problems.  Delete unused instructions.

31 years ago * stabs.texinfo (Stabs in ELF): Clarify how Bbss.bss work with respect
Jim Kingdon [Thu, 11 Nov 1993 21:35:07 +0000 (21:35 +0000)]
* stabs.texinfo (Stabs in ELF): Clarify how Bbss.bss work with respect
to picking which Bbss.bss symbol to use, and (because there seems to
be no good way of doing it) re-write some of the text to make it
sound like Bbss.bss isn't such a great idea after all (as currently
designed).

31 years agoif we're on lynx, set up GNU_MAKE and CONFIG_SHELL in FLAGS_TO_PASS to
Mark Eichin [Thu, 11 Nov 1993 20:35:30 +0000 (20:35 +0000)]
if we're on lynx, set up GNU_MAKE and CONFIG_SHELL in FLAGS_TO_PASS to
override "generic" (ie. incorrect) values of "" and /usr/latest/bin/make

31 years agokeep run.1
David D. Zuhn [Thu, 11 Nov 1993 20:07:08 +0000 (20:07 +0000)]
keep run.1

31 years ago * gdb.texinfo (C): In addition to saying people have to use g++ for
Jim Kingdon [Thu, 11 Nov 1993 19:58:00 +0000 (19:58 +0000)]
* gdb.texinfo (C): In addition to saying people have to use g++ for
good results, say they have to use stabs.  Specifically say cfront
doesn't work well.
(Summary): Merge in information on Modula-2, Pascal, and Chill from
the gdb README.  Add xrefs to places where the support for the various
languages is described in detail.

31 years ago * README: Remove information on languages and just cite the (newly
Jim Kingdon [Thu, 11 Nov 1993 19:52:49 +0000 (19:52 +0000)]
* README: Remove information on languages and just cite the (newly
updated) information in doc/gdb.texinfo instead.

31 years agokeep pagas and utils
David D. Zuhn [Thu, 11 Nov 1993 19:50:02 +0000 (19:50 +0000)]
keep pagas and utils

31 years ago* delta68-nat.c: Fix typos (add missing ");" and stuct -> struct).
Jim Kingdon [Thu, 11 Nov 1993 19:24:46 +0000 (19:24 +0000)]
* delta68-nat.c: Fix typos (add missing ");" and stuct -> struct).

31 years ago* config.guess: Recognize Sony news mips running newsos.
Jim Kingdon [Thu, 11 Nov 1993 18:07:50 +0000 (18:07 +0000)]
* config.guess: Recognize Sony news mips running newsos.

31 years agoremove sh-hms from hppa
David D. Zuhn [Thu, 11 Nov 1993 03:09:24 +0000 (03:09 +0000)]
remove sh-hms from hppa

31 years agoremove mh-unixware; we always use svr4 now.
David Henkel-Wallace [Wed, 10 Nov 1993 22:59:47 +0000 (22:59 +0000)]
remove mh-unixware; we always use svr4 now.

31 years ago * write.h (fixS): Rename fx_callj field to fx_tcbit.
Ian Lance Taylor [Wed, 10 Nov 1993 22:06:06 +0000 (22:06 +0000)]
* write.h (fixS): Rename fx_callj field to fx_tcbit.
* write.c, config/obj-coff.c, config/obj-coffbfd.c,
config/tc-i960.c: Corresponding changes.

31 years agochangelog for build-all.mk semicolon change
Mark Eichin [Wed, 10 Nov 1993 21:58:34 +0000 (21:58 +0000)]
changelog for build-all.mk semicolon change

31 years agoall-cygnus, build-cygnus: "fi else" needs to be "fi ; else"
Mark Eichin [Wed, 10 Nov 1993 21:56:23 +0000 (21:56 +0000)]
all-cygnus, build-cygnus: "fi else" needs to be "fi ; else"

31 years ago * dbxread.c (process_one_symbol, N_RBRAC): Don't clear
Jim Kingdon [Wed, 10 Nov 1993 21:05:38 +0000 (21:05 +0000)]
* dbxread.c (process_one_symbol, N_RBRAC): Don't clear
within_function just because local_symbols is NULL.  It appears
that this bug has existed since the 10 Apr 89 change which started
clearing within_function here.

31 years ago * dbxread.c: Remove BELIEVE_PCC_PROMOTION define. The code which
Jim Kingdon [Wed, 10 Nov 1993 19:42:31 +0000 (19:42 +0000)]
* dbxread.c: Remove BELIEVE_PCC_PROMOTION define.  The code which
used this was moved to stabsread.c a long time ago.

31 years ago * config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
Jim Kingdon [Wed, 10 Nov 1993 19:32:22 +0000 (19:32 +0000)]
* config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
* config/m68k/{tm-hp300bsd.h,tm-hp300hpux.h,tm-m68k-em.h,
tm-monitor.h,tm-sun3.h,tm-vx68.h}, config/sparc/tm-sparc.h:
Define BELIEVE_PCC_PROMOTION.

31 years ago * dstread.c (dst_sym_fns): Update for flavours.
Jim Kingdon [Wed, 10 Nov 1993 16:31:17 +0000 (16:31 +0000)]
* dstread.c (dst_sym_fns): Update for flavours.
* symfile.c (find_sym_fns): Add kludge for apollo like for rs/6000.
* dstread.c (dst_symfile_offsets): Set objfile->num_sections.

31 years ago gcc -Wall lint:
Jim Kingdon [Wed, 10 Nov 1993 15:58:48 +0000 (15:58 +0000)]
gcc -Wall lint:
* thread.c: Include "gdbcmd.h" and <ctype.h>.
* Makefile.in: Update dependency.
* thread.c (thread_command): Remove unused variable p.
* values.c (unpack_double): Use len instead of TYPE_LENGTH (type).
* valprint.c (print_floating): Correctly check sign bit now that
we are using unsigned arithmetic.
* symtab.c (find_pc_line_range): Remove unused variables exact_match,
ind, and l.

31 years agoModified Files:
Kung Hsu [Wed, 10 Nov 1993 01:47:09 +0000 (01:47 +0000)]
Modified Files:
valarith.c ChangeLog

        * valarith.c (value_x_binop): fix search operator in class bug
        * valarith.c (value_x_unop): fix search operator in class bug

31 years ago * Makefile.in (init.c): Add udi2go32.o to list of files that we
Jim Kingdon [Wed, 10 Nov 1993 01:34:39 +0000 (01:34 +0000)]
* Makefile.in (init.c): Add udi2go32.o to list of files that we
should not try to search for _initialize_* functions.

* remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to
UDIStdoutReady.  It accidentally got changed on 24 Oct 93 when
stdout was changed to gdb_stdout.  Likewise for UDIGetStdout,
UDIStderrReady, and UDIGetStderr.

31 years agodon't ever use sh explicitly
Mark Eichin [Tue, 9 Nov 1993 23:32:04 +0000 (23:32 +0000)]
don't ever use sh explicitly
for lynxos, set SHELL=/bin/bash

31 years agoadd patsubst %-lynxos to subst-from-hell in stamp-[34]stage-compared.
Mark Eichin [Tue, 9 Nov 1993 22:07:50 +0000 (22:07 +0000)]
add patsubst %-lynxos to subst-from-hell in stamp-[34]stage-compared.
Maybe someday I'll learn enough of gnumake to turn this into something
reasonable...

31 years agoSame as last time (putc_unfiltered) only this time having saved the
Thomas Lord [Tue, 9 Nov 1993 21:29:50 +0000 (21:29 +0000)]
Same as last time (putc_unfiltered) only this time having saved the
modified source before checking it in.