binutils-gdb.git
29 years ago * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
Steve Chamberlain [Mon, 5 Jun 1995 16:11:26 +0000 (16:11 +0000)]
* coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
macro. (pr ld/7127)

29 years agoLinker support for m68k-elf from Andreas Schwab
Ken Raeburn [Mon, 5 Jun 1995 07:04:51 +0000 (07:04 +0000)]
Linker support for m68k-elf from Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de>:

* elfcode.h (elf_link_add_object_symbols): Check for NULL when looping through
the symbol hashes.
(elf_bfd_final_link): When looking for _init and _fini don't use the symbol if
it is imported from another object.

* elf32-m68k.c: Relocation type changed from REL to RELA.  Regular and dynamic
linking support functions added, similar to other elf targets.

29 years agochange i386-gnu to elf
Ken Raeburn [Mon, 5 Jun 1995 06:36:11 +0000 (06:36 +0000)]
change i386-gnu to elf

29 years ago*** empty log message ***
Steve Chamberlain [Sat, 3 Jun 1995 02:26:19 +0000 (02:26 +0000)]
*** empty log message ***

29 years ago * arc-tdep.c (arc_bfd_mach_type): New static global.
David Edelsohn [Fri, 2 Jun 1995 18:29:46 +0000 (18:29 +0000)]
* arc-tdep.c (arc_bfd_mach_type): New static global.
(codestream_fill): Handle byte order differences.
(setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
(arc_get_frame_setup): Read it here.
(arc_frame_saved_pc): And here.
(arc_print_insn): New function.
(arc_set_cpu_type): Set arc_bfd_mach_type.  Don't set tm_print_insn.
(_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.

29 years agoarm config fix from Richard Earnshaw
Ken Raeburn [Thu, 1 Jun 1995 22:28:54 +0000 (22:28 +0000)]
arm config fix from Richard Earnshaw

29 years agoThu Jun 1 13:51:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 1 Jun 1995 22:20:30 +0000 (22:20 +0000)]
Thu Jun  1 13:51:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* coffcode.h (sec_to_styp_flags, styp_to_sec_flags,
coff_new_section_hook):  Any section that starts ".stab"
is now marked as debugging.

29 years agovms fixes from Pat Rankin
Ken Raeburn [Thu, 1 Jun 1995 22:12:20 +0000 (22:12 +0000)]
vms fixes from Pat Rankin

29 years ago* archive.c (_bfd_write_archive_contents): Disable extended name table until it
Ken Raeburn [Thu, 1 Jun 1995 20:22:53 +0000 (20:22 +0000)]
* archive.c (_bfd_write_archive_contents): Disable extended name table until it
can be made optional, so that native AR has half a chance on SunOS and HP/UX.
[PR binutils/6888]

29 years ago* linker.c (_bfd_generic_link_output_symbols, case bfd_link_hash_indirect): Add
Ken Raeburn [Thu, 1 Jun 1995 20:17:12 +0000 (20:17 +0000)]
* linker.c (_bfd_generic_link_output_symbols, case bfd_link_hash_indirect): Add
cast to correct pointer types.

29 years ago* nlm/{configure.in, Makefile.in}: Converted to use autoconf.
J.T. Conklin [Wed, 31 May 1995 22:21:32 +0000 (22:21 +0000)]
* nlm/{configure.in, Makefile.in}: Converted to use autoconf.
* nlm/configure: New file, generated with autoconf 2.3.

29 years ago* nlm/configure.in: Use sed instead of awk to get the value of
J.T. Conklin [Wed, 31 May 1995 19:31:20 +0000 (19:31 +0000)]
* nlm/configure.in: Use sed instead of awk to get the value of
  cpufile.  Awk is not a utility required by the GNU coding
  standards.  This change also fixes the rigid whitespace
  requirements that were required for awk.

29 years ago* sparclite/aload.c: Use a file descriptor instead of a stdio
J.T. Conklin [Wed, 31 May 1995 19:13:06 +0000 (19:13 +0000)]
* sparclite/aload.c: Use a file descriptor instead of a stdio
  stream for i/o with target board.
  Use #error if HAVE_TERMIOS is not defined.

* sparclite/{Makefile.in, configure.in}: Converted to use
  autoconf.
* sparclite/configure: New file, generated with autoconf 2.3.

29 years ago* Makefile.in: Delete lines with lots of #### because four or more indicate a
Ken Raeburn [Tue, 30 May 1995 18:28:52 +0000 (18:28 +0000)]
* Makefile.in: Delete lines with lots of #### because four or more indicate a
point for makefile fragment substitution.

29 years ago(grump. thought i checked this in last week.)
Ken Raeburn [Tue, 30 May 1995 16:39:06 +0000 (16:39 +0000)]
(grump.  thought i checked this in last week.)
Check explicitly for undefined local dollar and f/b labels, and print a useful
message if any are found, instead of generating obscure undefined symbol table
entries.

29 years agoRemove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk.
Stan Shebs [Mon, 29 May 1995 20:52:31 +0000 (20:52 +0000)]
Remove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk.

29 years ago * defs.h: Include either varargs.h or stdarg.h (for va_list).
Jeff Law [Mon, 29 May 1995 05:26:27 +0000 (05:26 +0000)]
* defs.h: Include either varargs.h or stdarg.h (for va_list).
Fix stupid thinko in last change ("..." -> "va_list").

29 years ago * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
Jeff Law [Mon, 29 May 1995 05:15:18 +0000 (05:15 +0000)]
* defs.h (vprintf_filtered declaration): Add PARAMS prototype;
gcc-2.5 chokes on format attributes for unprototyped functions.
(vfprintf_filtered declaration): Likewise.
(vprintf_unfiltered declaration): Likewise.
(vfprintf_unfiltered). Likewise.

29 years ago* configure.in: Use sed instead of awk to get the values of
J.T. Conklin [Sun, 28 May 1995 07:07:21 +0000 (07:07 +0000)]
* configure.in: Use sed instead of awk to get the values of
  hostfile, targetfile and nativefile.  Awk is not a utility
  required by the GNU coding standards.  This change also
  fixes the rigid whitespace requirements that were required
  for awk.
* configure: regenerated.

29 years ago* config/te-dpx2.h: Include obj-format.h.
J.T. Conklin [Sun, 28 May 1995 04:36:45 +0000 (04:36 +0000)]
* config/te-dpx2.h: Include obj-format.h.
(COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.

29 years agoSat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
Angela Marie Thomas [Sat, 27 May 1995 23:32:22 +0000 (23:32 +0000)]
Sat May 27 16:24:04 1995  Angela Marie Thomas  <angela@cirdan.cygnus.com>

        * sparclite/{Makefile,configure}.in: Add hooks for building with
        -lsocket & -lnsl for solaris2.  Don't build aload/eload for DOS.

29 years ago* configure.in (noconfigdirs): Enable all packages for
J.T. Conklin [Fri, 26 May 1995 05:50:06 +0000 (05:50 +0000)]
* configure.in (noconfigdirs): Enable all packages for
  i386-unknown-netbsd.

29 years agoUpdate gdbtk keep/lose to match main GDB sanitize
Stan Shebs [Thu, 25 May 1995 01:30:34 +0000 (01:30 +0000)]
Update gdbtk keep/lose to match main GDB sanitize

29 years ago * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
Steve Chamberlain [Thu, 25 May 1995 01:05:35 +0000 (01:05 +0000)]
* arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
now.

29 years agoNew file.
Steve Chamberlain [Thu, 25 May 1995 00:11:15 +0000 (00:11 +0000)]
New file.

29 years agoUnsanitize SH3 support.
Jim Wilson [Thu, 25 May 1995 00:00:03 +0000 (00:00 +0000)]
Unsanitize SH3 support.

29 years agoWed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 23:56:24 +0000 (23:56 +0000)]
Wed May 24 15:49:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* arm-tdep.c (convert_from_extended, convert_to_extended):
New.
* coffread.c (enter_linenos): Return if linetab 0.
* config/arm/arm.mt (TDEPFILES): Add simulator support.
* config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.

29 years agoCorrect typo in all simulator configure.in files other than SH: ../bfd
Jim Wilson [Wed, 24 May 1995 23:38:06 +0000 (23:38 +0000)]
Correct typo in all simulator configure.in files other than SH: ../bfd
should be ../../bfd.

29 years agoWed May 24 14:48:46 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:49:24 +0000 (21:49 +0000)]
Wed May 24 14:48:46 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* Makefile.in: Support ARM.
* configure.in: Ditto.

29 years agoWed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:45:01 +0000 (21:45 +0000)]
Wed May 24 14:37:31 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* New.

29 years agoWed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:16:02 +0000 (21:16 +0000)]
Wed May 24 14:16:08 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* sh-opc.h: Added bsrf and braf.

29 years agoWed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:14:40 +0000 (21:14 +0000)]
Wed May 24 14:07:11 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* gencode.c (tab): Add bsrf and braf.

29 years ago Add support for ARM-PE.
Steve Chamberlain [Wed, 24 May 1995 18:26:23 +0000 (18:26 +0000)]
Add support for ARM-PE.
* Makefile.in (ALL_EMULATIONS): Add armpe.o
* configure.in: Recognize armpe.
* config/arm-pe.mt: New file.
* emulparams/armpe.sh: New file.
* scripttempl/armpe.sc: New file.

29 years agoWed May 24 10:52:01 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 18:14:23 +0000 (18:14 +0000)]
Wed May 24 10:52:01 1995  Steve Chamberlain  <sac@slash.cygnus.com>

pr ld/6997

* elf32-i386.c (elf_i386_relocate_section): Give error
message when linking to a shared reloc which isn't there.

Wed May 24 10:40:00 1995  Steve Chamberlain  <sac@slash.cygnus.com>

Support for ARM-PE.

* Makefile.in, coffcode.h, config.bfd, configure.in, pe-arm.c,
 pei-arm.c, reloc.c, targets.c, config/arm-pe.mt:
 Support for ARM COFF/PE.

29 years ago * lib/gdb.exp: Fix comment which erroneously identified
Jim Kingdon [Wed, 24 May 1995 15:12:13 +0000 (15:12 +0000)]
* lib/gdb.exp: Fix comment which erroneously identified
gdb_file_cmd as gdb_load (the 19 May change was in fact to
gdb_file_cmd not gdb_load).
* config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".

29 years ago * gdb.base/setvar.exp: Make test names consistent between pass and
Jim Kingdon [Wed, 24 May 1995 14:16:12 +0000 (14:16 +0000)]
* gdb.base/setvar.exp: Make test names consistent between pass and
fail cases.  Use gdb_test more.

29 years ago * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
David Edelsohn [Wed, 24 May 1995 00:04:19 +0000 (00:04 +0000)]
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
and BFD_RELOC_SPARC_WDISP19.

29 years agoMake linking mips-elf and mips-ecoff work. At least, better than it did.
Ken Raeburn [Tue, 23 May 1995 23:30:33 +0000 (23:30 +0000)]
Make linking mips-elf and mips-ecoff work.  At least, better than it did.

* bfd.c (bfd_get_relocated_section_contents): Now a function, tries calling
routine from input bfd target vector for bfd_indirect_link_order.  Put a
declaration into the header file.
* bfd-in2.h: Regenerated.
* elf32-mips.c (gprel16_with_gp): New function, split out from
mips_elf_gprel16_reloc.
(mips_elf_gprel16_reloc): Call it.  If output bfd target vector isn't elf
flavoured, abort, since it's assumed to be elf in some of this code, including
the code that looks up the gp value.
(elf32_mips_get_relocated_section_contents): New function, modified from
bfd_generic_get_relocated_section_contents to deal with passing gp to
gprel16_with_gp.
(bfd_elf32_bfd_get_relocated_section_contents): New macro.
* elf32-target.h (bfd_elf32_bfd_get_relocated_section_contents): Don't define
if already defined.

29 years agofix emulation code so configurations not supporting it still build
Ken Raeburn [Tue, 23 May 1995 23:20:52 +0000 (23:20 +0000)]
fix emulation code so configurations not supporting it still build

29 years ago * Makefile.in: Install bfdlink.h too.
Jeff Law [Tue, 23 May 1995 22:01:20 +0000 (22:01 +0000)]
* Makefile.in: Install bfdlink.h too.

29 years agofix up stab handling
Ken Raeburn [Tue, 23 May 1995 01:45:12 +0000 (01:45 +0000)]
fix up stab handling

29 years ago * config/idt.mt: replace monitor and array-rom with the new
Rob Savoye [Tue, 23 May 1995 01:39:54 +0000 (01:39 +0000)]
* config/idt.mt: replace monitor and array-rom with the new
remote-array.

29 years ago* lib/ld.exp (default_ld_compile): If cc argument is multiple words, use only
Ken Raeburn [Tue, 23 May 1995 00:20:44 +0000 (00:20 +0000)]
* lib/ld.exp (default_ld_compile): If cc argument is multiple words, use only
the first when trying to verify the availability of the compiler.

29 years agomore emulation fixes
Ken Raeburn [Tue, 23 May 1995 00:09:34 +0000 (00:09 +0000)]
more emulation fixes

29 years ago * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
Stu Grossman [Tue, 23 May 1995 00:01:17 +0000 (00:01 +0000)]
* remote-nindy.c:  Install Kung patch for PR 6820.  I have no idea
what this does...

29 years ago * config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols.
David Edelsohn [Mon, 22 May 1995 23:58:52 +0000 (23:58 +0000)]
* config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols.

29 years ago * breakpoint.c: Move defaults of watchpoint related macros into
Stu Grossman [Mon, 22 May 1995 23:03:42 +0000 (23:03 +0000)]
* breakpoint.c:  Move defaults of watchpoint related macros into
target.h.
* target.h:  Macros from breakpoint.c.  Conditionalize based on
TARGET_HAS_HARDWARE_WATCHPOINTS.
* i386v-nat.c procfs.c:  Use TARGET_HAS_HARDWARE_WATCHPOINTS
instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
code.
* config/i386/nm-linux.h, config/mips/nm-irix4.h,
config/pa/nm-hppab.h, config/sparc/tm-sparclite.h:  #define
TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.

29 years ago(cf-h8300h.mt): Deleted.
David Edelsohn [Mon, 22 May 1995 22:25:46 +0000 (22:25 +0000)]
(cf-h8300h.mt): Deleted.

29 years agoClean arc stuff out of objdump.exp.
David Edelsohn [Mon, 22 May 1995 19:09:15 +0000 (19:09 +0000)]
Clean arc stuff out of objdump.exp.

29 years ago * breakpoint.c, target.h: Move defaults of watchpoint related
Jim Kingdon [Mon, 22 May 1995 15:29:00 +0000 (15:29 +0000)]
* breakpoint.c, target.h: Move defaults of watchpoint related
macros back to breakpoint.c.  Required to get GDB compiling
on Solaris again.

29 years agoSat May 20 13:22:31 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
Angela Marie Thomas [Sat, 20 May 1995 20:25:21 +0000 (20:25 +0000)]
Sat May 20 13:22:31 1995  Angela Marie Thomas  <angela@cirdan.cygnus.com>

        * configure.in (noconfigdirs): Don't configure tk for i386-go32
        hosted builds (DOS builds)

29 years agomore vms updates from Pat Rankin
Ken Raeburn [Sat, 20 May 1995 20:11:38 +0000 (20:11 +0000)]
more vms updates from Pat Rankin

29 years agoFrom Pat Rankin:
Ken Raeburn [Sat, 20 May 1995 19:59:47 +0000 (19:59 +0000)]
From Pat Rankin:
For VMS gas port, make libiberty build on its own instead of driving it all out
of the gas directory.  Also improve some of the libiberty support for VMS.

29 years ago* defs.h (ATTR_FORMAT): New macro, expands to gcc's format
J.T. Conklin [Fri, 19 May 1995 22:44:51 +0000 (22:44 +0000)]
* defs.h (ATTR_FORMAT): New macro, expands to gcc's format
  attribute when compiled by gcc.
* defs.h, language.h, monitor.h: Changed many function
  declarations to use ATTR_FORMAT.

* breakpoint.c (delete_command); source.c (directory_command);
  top.c (define_command): Changed call to query() that had too
  many arguments.
* printcmd.c (address_info): Changed call to printf_filtered()
  that had too many arguments.

29 years agoFrom Richard Earnshaw (rearnsha@armltd.co.uk):
Ken Raeburn [Fri, 19 May 1995 18:43:49 +0000 (18:43 +0000)]
From Richard Earnshaw (rearnsha@armltd.co.uk):
* gasp.c (istrue): Correctly test for string inequality.

29 years ago * infrun.c (wait_for_inferior): Move assignments to stop_signal
Jim Kingdon [Fri, 19 May 1995 17:51:22 +0000 (17:51 +0000)]
* infrun.c (wait_for_inferior): Move assignments to stop_signal
and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
were--after the switch statement on w.kind.  You can't read the
registers of an inferior which has exited.  Use a goto in the
STOPPED_BY_WATCHPOINT code.
* infrun.c (wait_for_inferior): Reinstate
HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.

29 years ago * coffswap.h: (IMAGE_BASE): Define to 0 if not.
Steve Chamberlain [Fri, 19 May 1995 17:01:27 +0000 (17:01 +0000)]
* coffswap.h: (IMAGE_BASE): Define to 0 if not.

29 years ago * utils.c, complaints.c, language.c, monitor.c, remote-array.c,
Jim Kingdon [Fri, 19 May 1995 14:15:48 +0000 (14:15 +0000)]
* utils.c, complaints.c, language.c, monitor.c, remote-array.c,
remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
must match the definition of PARAMS.
start-sanitize-gdbtk
        * gdbtk.c: Likewise.
end-sanitize-gdbtk

29 years ago * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
J.T. Conklin [Thu, 18 May 1995 23:45:31 +0000 (23:45 +0000)]
    * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
          printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
          error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
          with an ANSI compiler.
        * complain.c (complain): Likewise.
        * language.c (type_error, range_error): Likewise.
        * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
        * remote-array.c (printf_monitor, debuglogs): Likewise.
        * remote-mips.c (mips_error): Likewise.
        * remote-os9k.c (printf_monitor): Likewise.
        * remote-st.c (printf_stdebug): Likewise.
        * gdbtk.c (gdbtk_query): Likewise.

        * defs.h, complain.h, language.h, monitor.h: Add prototypes to
          match above changes.

        * printcmd.c: Remove uneeded #include <varargs.h>.
        * remote-e7000.c: Likewise.

        * f-typeprint.c (f_type_print_base): Fix typo found by above
          changes.

29 years agoBunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets.
Ken Raeburn [Thu, 18 May 1995 22:21:18 +0000 (22:21 +0000)]
Bunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets.
Details in change logs.

29 years agoadd support for i386-unixware target, m68k-vxworks5.1 target, i960-vxworks5.1 target...
Angela Marie Thomas [Thu, 18 May 1995 09:27:23 +0000 (09:27 +0000)]
add support for i386-unixware target, m68k-vxworks5.1 target, i960-vxworks5.1 target... always configure with --enable-gdbtk

29 years agoupdate target lists for all hosts
Angela Marie Thomas [Thu, 18 May 1995 09:16:59 +0000 (09:16 +0000)]
update target lists for all hosts

29 years ago * Makefile.in (xcoffread.o): Depend on partial-stab.h.
Jim Kingdon [Thu, 18 May 1995 05:24:29 +0000 (05:24 +0000)]
* Makefile.in (xcoffread.o): Depend on partial-stab.h.

* xcoffsolib.c (sharedlibrary_command): New command.
* xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
* xcoffsolib.c: Miscellaneous cleanups.

* partial-stab.h: Ignore symbol descriptor '-' (for local
variables with negative type numbers) without complaint.

* rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
local emulation thereof.  Remove unused variable ostart.

29 years ago * libbfd.c (bfd_stat): If bfd_cache_lookup returns an error,
Jim Kingdon [Thu, 18 May 1995 05:20:37 +0000 (05:20 +0000)]
* libbfd.c (bfd_stat): If bfd_cache_lookup returns an error,
return an error to the caller.  Call bfd_set_error on errors.

29 years ago* Makefile.in (config.status): changed target so that
J.T. Conklin [Thu, 18 May 1995 01:01:57 +0000 (01:01 +0000)]
* Makefile.in (config.status): changed target so that
  config.status --recheck is executed if configure script changes.

29 years ago* Makefile.in (Makefile): Added config.status to dependency list.
J.T. Conklin [Thu, 18 May 1995 00:58:02 +0000 (00:58 +0000)]
* Makefile.in (Makefile): Added config.status to dependency list.
  (config.status): New target.
  (SHELL): New definition.

29 years ago* monitor.c (monitor_printf): Changed format specification in
J.T. Conklin [Wed, 17 May 1995 23:13:26 +0000 (23:13 +0000)]
* monitor.c (monitor_printf): Changed format specification in
  error message to work with pre-ansi compilers.
  (monitor_load_srec): reduced length of s-records from 128 to 32
  bytes so download is more reliable with the rom68k monitor.

* rom68k-rom.c: Added trailing space to prompt string.

* config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
* config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
  Removed.
* defs.h, config/{xm-lynx.h, xm-nbsd.h},
  config/i386/{xm-i386bsd.h, xm-linux.h},
  config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
  config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
  (PSIGNAL_IN_SIGNAL_H): Removed.

29 years agoFix typo in keeping of ld.d.
David Edelsohn [Wed, 17 May 1995 22:02:46 +0000 (22:02 +0000)]
Fix typo in keeping of ld.d.

29 years ago* config/obj-ecoff.c (ecoff_pop_insert): New function.
Ken Raeburn [Tue, 16 May 1995 23:36:53 +0000 (23:36 +0000)]
* config/obj-ecoff.c (ecoff_pop_insert): New function.
(ecoff_format_ops): Use it.
(obj_ecoff_frob_symbol): Now static.

29 years agoLittle endian fix
Michael Meissner [Tue, 16 May 1995 23:30:21 +0000 (23:30 +0000)]
Little endian fix

29 years ago* config/tc-mips.c (mips_init_after_args): New function. Set byte_order here.
Ken Raeburn [Tue, 16 May 1995 23:27:02 +0000 (23:27 +0000)]
* config/tc-mips.c (mips_init_after_args): New function.  Set byte_order here.
(md_parse_option): Not here.
(byte_order): Don't bother initializing.
* config/tc-mips.h (mips_init_after_args): Declare.
(tc_init_after_args): New macro.

29 years agoMake filenames unique to 8.3 characters for Powerpc.
Michael Meissner [Tue, 16 May 1995 22:29:39 +0000 (22:29 +0000)]
Make filenames unique to 8.3 characters for Powerpc.

29 years agoMake Irix 5 configuration work again:
Ken Raeburn [Tue, 16 May 1995 22:28:26 +0000 (22:28 +0000)]
Make Irix 5 configuration work again:

* config/obj-multi.h (obj_frob_symbol, obj_frob_file, S_GET_SIZE, S_SET_SIZE,
S_GET_ALIGN, S_SET_ALIGN, obj_copy_symbol_attributes, OBJ_PROCESS_STAB): New
macros.
* config/tc-mips.c: Protect against redefining them also when including
obj-elf.h.  Test only OBJ_ELF for including elf/mips.h.

29 years agoFix arc sanitization.
David Edelsohn [Tue, 16 May 1995 22:20:45 +0000 (22:20 +0000)]
Fix arc sanitization.

29 years agoread.c (s_lcomm): Do ELF/ECOFF test at run time, not compile time.
Ken Raeburn [Tue, 16 May 1995 22:17:17 +0000 (22:17 +0000)]
read.c (s_lcomm): Do ELF/ECOFF test at run time, not compile time.

29 years ago* configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
J.T. Conklin [Tue, 16 May 1995 20:21:58 +0000 (20:21 +0000)]
* configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
  gdb_host_cpu, gdb_target_cpu and nativefile.
* configure: regenerated.

29 years agointernal.h: declare NT_subsystem and NT_stack_heap extern, so bfd compiles
Ken Raeburn [Tue, 16 May 1995 19:11:48 +0000 (19:11 +0000)]
internal.h: declare NT_subsystem and NT_stack_heap extern, so bfd compiles
better under picky compilers.

also added some changelog entries steve forgot to check in.

29 years ago * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
Peter Schauer [Tue, 16 May 1995 07:12:22 +0000 (07:12 +0000)]
* mdebugread.c (parse_symbol):  Do not relocate stBlock/scText
symbols, their value is the displacement from the procedure address.
* top.c (init_main):  Add missing newlines to help strings for
`if' and `while' commands, fix help string for `show commands'.

29 years ago * breakpoint.c: Move defaults of watchpoint related macros into
Stu Grossman [Tue, 16 May 1995 01:47:52 +0000 (01:47 +0000)]
* breakpoint.c:  Move defaults of watchpoint related macros into
target.h.  Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
constants.
* infrun.c (wait_for_inferior):  Enhance comment near
STOPPED_BY_WATCHPOINT.
* target.h:  Macros from breakpoint.c.

29 years ago* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
J.T. Conklin [Tue, 16 May 1995 00:18:43 +0000 (00:18 +0000)]
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
  config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
  mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
  out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.

* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.

29 years ago * remote.c (remote_kill): Add prototype.
Stan Shebs [Mon, 15 May 1995 22:01:01 +0000 (22:01 +0000)]
* remote.c (remote_kill): Add prototype.
* cpu32bug-rom.c (cpu32bug_open): Properly define as static.
* config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.

29 years ago * remote.c (remote_kill): Add prototype.
Stan Shebs [Mon, 15 May 1995 21:55:42 +0000 (21:55 +0000)]
* remote.c (remote_kill): Add prototype.
* cpu32bug-rom.c (cpu32bug_open): Properly define as static.
* config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.

29 years ago * sparclite/salib.c (win_ovf win_unf): Make window size constant
Stu Grossman [Mon, 15 May 1995 21:17:36 +0000 (21:17 +0000)]
* sparclite/salib.c (win_ovf win_unf):  Make window size constant
into a variable (__WINSIZE) so that it can be controlled via the
.h file.
* sparclite/sparclite.h:  Add SL933 #ifdef to set __WINSIZE to 6
for the 933 board.

29 years ago(SER_HARDWIRE): Comment out for now.
David Edelsohn [Mon, 15 May 1995 21:02:08 +0000 (21:02 +0000)]
(SER_HARDWIRE): Comment out for now.

29 years ago * config/tc-arc.c (md_longopts): -EB/-EL renamed to
David Edelsohn [Mon, 15 May 1995 20:42:57 +0000 (20:42 +0000)]
* config/tc-arc.c (md_longopts): -EB/-EL renamed to
-mbig-endian/-mlittle-endian.
(md_show_usage): Likewise.

29 years ago * infrun.c: Add #ifdef HP_OS_BUG to all references to
Stu Grossman [Mon, 15 May 1995 20:15:17 +0000 (20:15 +0000)]
* infrun.c:  Add #ifdef HP_OS_BUG to all references to
trap_expected_after_continue.
* (wait_for_inferior):  Fix for remote watchpoints.  Don't try to
insert breakpoints while target is running (this only works on
*some* native targets).  This may also speed up native watchpoints
considerably.

29 years ago * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
Jim Kingdon [Sat, 13 May 1995 21:03:23 +0000 (21:03 +0000)]
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc),
xcoffread.c (struct symloc): Fix inaccurate comment introduced
20 Apr 1995.

29 years ago * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
Jim Kingdon [Sat, 13 May 1995 21:00:17 +0000 (21:00 +0000)]
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Fix error
in 20 Apr 1995 cleanup of comments.

29 years ago * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
Jim Kingdon [Sat, 13 May 1995 20:52:01 +0000 (20:52 +0000)]
* gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.

* gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
of a text section.

29 years ago * rs6000-tdep.c (find_toc_address): Revise comment.
Jim Kingdon [Sat, 13 May 1995 20:39:21 +0000 (20:39 +0000)]
* rs6000-tdep.c (find_toc_address): Revise comment.
* symfile.c, symfile.h (init_psymbol_list): New function;
consolidate duplicated copies from os9kread.c, dbxread.c
and dwarfread.c.
* defs.h: Declare info_verbose.
* xcoffread.c: Extensive changes to support psymtabs.

29 years agoThu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Sat, 13 May 1995 18:03:25 +0000 (18:03 +0000)]
Thu May 11 16:43:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>

tekhex.c (first_phase): Understand type 0 symbols.
(tekhex_write_object_contents): Fix typo in final record.

Thu May 11 16:43:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>

pr ld/6840

* coff-i960.c (optcall_callback): don't try and optimize
undefined refs.
(coff_write_relocs): Search for broken relocs on the way
out and fix them up.
(coff_renumber_symbols): Calculate and return index of
first undefined symbol.
(coff_write_object_contents): Call coff_renumber_symbols
and coff_write_relocs with the new args.
* libcoff.h: (coff_renumber_symbols, coff_renumber_symbols):
Modified prototypes.

Thu May 11 16:43:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  Tom Griest <griest@cs.yale.edu>

Initial support for PE format.

* Makefile.in, targets.c, configure.in, config.bfd:
Add support for i386-*-winnt and i386-*-pe.
* archive.c (do_slurp_coff_armap):  Understand NTPE format
archives.
(_bfd_slurp_extended_name_table): Turn \ in a filename
into /.
* bfd-in.h (bfd_link_subsystem, _bfd_link_stack_heap): New.
* coff-i386.c  (howto_table): Conditionalize PCRELOFFSET.
* coffcode.h (IMAGE_BASE): New.
(coff_compute_section_file_positions): Throw away .junk
sections for PE, align symbols.
(coff_write_object_contents): Throw away .junk sections
for PE. Remember info on .idata and .rsrc sections.
Fill in the PE header.
(coff_slurp_symbol_table): PE uses C_SECTION class.
* cofflink.c (_bfd_coff_final_link): Keep PE info up to date.
(_bfd_coff_generic_relocate_section): Cope with PE relocs.
* coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}):
New code for PE headers.

29 years agoSat May 13 10:14:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Sat, 13 May 1995 17:16:31 +0000 (17:16 +0000)]
Sat May 13 10:14:08 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* coff/pe.h: New file.
* bfdlink.h (subsytem, stack_heap_parameters): New.
* coff/i386.h (NT_SECTION_ALIGNMENT, NT_FILE_ALIGNMENT,
NT_DEF_RESERVE, NT_DEF_COMMIT): New.
* coff/internal.h (internal_filehdr):  New fields for PE.
(IMAGE_DATA_DIRECTORY): New.
(internal_aouthdr): New fields for PE.

29 years agoFri May 12 14:17:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 12 May 1995 21:26:01 +0000 (21:26 +0000)]
Fri May 12 14:17:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>

Initial support for PE object files.
* configure.in, configure (i386-*-pe, i386-*-*nt): Add.
* config/obj-coff.c (fixup_segment): Cope with PE wierdness.
* config/obj-coff.h (TE_PE): New target format.

29 years ago * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
Stu Grossman [Fri, 12 May 1995 20:52:11 +0000 (20:52 +0000)]
* cpu32bug-rom.c remote-est.c rom68k-rom.c:  Update line_term element.

29 years agoFri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 12 May 1995 18:55:06 +0000 (18:55 +0000)]
Fri May 12 11:03:55 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  Tom Griest <griest@cs.yale.edu>

Initial support for PE executables (eg NT, win32)

* Makefile.in (configure.in, ei386pe): Add support.
* ldmain.c (main): Initialize PE argument info.
* ldwrite.c (print_file_stuff): Don't print out .drectve
and .debug section info.
* lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP,
 OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap):
 Handle new arguments.
* config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc:
New files

29 years ago* partial-stab.h: Expand comments.
Jim Kingdon [Fri, 12 May 1995 13:41:52 +0000 (13:41 +0000)]
* partial-stab.h: Expand comments.

29 years ago * Support debugging using native MACH primitives on hppa*-*-osf*.
Jeff Law [Fri, 12 May 1995 01:10:28 +0000 (01:10 +0000)]
* Support debugging using native MACH primitives on hppa*-*-osf*.
* configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
* config/pa/hppaosf.mh: New file.
* config/pa/nm-hppao.h: Likewise.
* hppam3-nat.c: Likewise.
* config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
(MACHINE_CPROC_*_OFFSET): Define.
(TRACE_*): Define.
(START_INFERIOR_TRAPS_EXPECTED): Delete definition.

29 years agoupdate for new files
Ken Raeburn [Fri, 12 May 1995 00:04:35 +0000 (00:04 +0000)]
update for new files

29 years ago * config/monitor.exp (gdb_target_monitor): Fix loop interator so
Stu Grossman [Thu, 11 May 1995 22:13:46 +0000 (22:13 +0000)]
* config/monitor.exp (gdb_target_monitor):  Fix loop interator so
that loop eventually terminates.  Fix Connection refused logic so
that testsuite will expire nicely.

29 years ago * config/monitor.exp (gdb_target_monitor): Fix loop interator so
Stu Grossman [Thu, 11 May 1995 22:04:20 +0000 (22:04 +0000)]
* config/monitor.exp (gdb_target_monitor):  Fix loop interator so
that loop eventually terminates.