Commit Graph

13012 Commits

Author SHA1 Message Date
Stan Shebs 05ea937986 Remove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk. 1995-05-29 20:52:31 +00:00
Jeff Law 089c930358 * defs.h: Include either varargs.h or stdarg.h (for va_list).
Fix stupid thinko in last change ("..." -> "va_list").
1995-05-29 05:26:27 +00:00
Jeff Law 413cba82b4 * 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.
1995-05-29 05:15:18 +00:00
J.T. Conklin 094fd4ae01 * 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.
1995-05-28 07:07:21 +00:00
J.T. Conklin 6053ed629e * config/te-dpx2.h: Include obj-format.h.
(COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.
1995-05-28 04:36:45 +00:00
Angela Marie Thomas 0cc3f4fcc3 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.
1995-05-27 23:32:22 +00:00
J.T. Conklin a685757684 * configure.in (noconfigdirs): Enable all packages for
i386-unknown-netbsd.
1995-05-26 05:50:06 +00:00
Stan Shebs 588405286c Update gdbtk keep/lose to match main GDB sanitize 1995-05-25 01:30:34 +00:00
Steve Chamberlain 4936656ad7 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
now.
1995-05-25 01:05:35 +00:00
Steve Chamberlain f581f995c2 New file. 1995-05-25 00:11:15 +00:00
Jim Wilson 856253d4d8 Unsanitize SH3 support. 1995-05-25 00:00:03 +00:00
Steve Chamberlain 54af8e6e7b 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.
1995-05-24 23:56:24 +00:00
Jim Wilson 4cea100d33 Correct typo in all simulator configure.in files other than SH: ../bfd
should be ../../bfd.
1995-05-24 23:38:06 +00:00
Steve Chamberlain d32033ad35 Wed May 24 14:48:46 1995 Steve Chamberlain <sac@slash.cygnus.com>
* Makefile.in: Support ARM.
	* configure.in: Ditto.
1995-05-24 21:49:24 +00:00
Steve Chamberlain 2494eaf6fd Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
* New.
1995-05-24 21:45:01 +00:00
Steve Chamberlain 1ff71ed037 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* sh-opc.h: Added bsrf and braf.
1995-05-24 21:16:02 +00:00
Steve Chamberlain a43b22b577 Wed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>
* gencode.c (tab): Add bsrf and braf.
1995-05-24 21:14:40 +00:00
Steve Chamberlain 28d0c3ce19 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.
1995-05-24 18:26:23 +00:00
Steve Chamberlain a3444c4926 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.
1995-05-24 18:14:23 +00:00
Jim Kingdon eea578da54 * 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".
1995-05-24 15:12:13 +00:00
Jim Kingdon 0835edd63a * gdb.base/setvar.exp: Make test names consistent between pass and
fail cases.  Use gdb_test more.
1995-05-24 14:16:12 +00:00
David Edelsohn 2e715f06c3 * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
and BFD_RELOC_SPARC_WDISP19.
1995-05-24 00:04:19 +00:00
Ken Raeburn a16fcab31a 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.
1995-05-23 23:30:33 +00:00
Ken Raeburn 6e43bf824c fix emulation code so configurations not supporting it still build 1995-05-23 23:20:52 +00:00
Jeff Law 58c56c60ca * Makefile.in: Install bfdlink.h too. 1995-05-23 22:01:20 +00:00
Ken Raeburn 70d6c39671 fix up stab handling 1995-05-23 01:45:12 +00:00
Rob Savoye 001559ea9f * config/idt.mt: replace monitor and array-rom with the new
remote-array.
1995-05-23 01:39:54 +00:00
Ken Raeburn 6a98ecf24e * 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.
1995-05-23 00:20:44 +00:00
Ken Raeburn 4761bb029a more emulation fixes 1995-05-23 00:09:34 +00:00
Stu Grossman cac390d444 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
what this does...
1995-05-23 00:01:17 +00:00
David Edelsohn 1fc2205e09 * config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols. 1995-05-22 23:58:52 +00:00
Stu Grossman f5a8f1a6f3 * 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.
1995-05-22 23:03:42 +00:00
David Edelsohn 8574107796 (cf-h8300h.mt): Deleted. 1995-05-22 22:25:46 +00:00
David Edelsohn a0b2913c09 Clean arc stuff out of objdump.exp. 1995-05-22 19:09:15 +00:00
Jim Kingdon e8bf33c4ac * breakpoint.c, target.h: Move defaults of watchpoint related
macros back to breakpoint.c.  Required to get GDB compiling
	on Solaris again.
1995-05-22 15:29:00 +00:00
Angela Marie Thomas fc18000d56 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)
1995-05-20 20:25:21 +00:00
Ken Raeburn 0509f0643c more vms updates from Pat Rankin 1995-05-20 20:11:38 +00:00
Ken Raeburn a088fb62b3 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.
1995-05-20 19:59:47 +00:00
J.T. Conklin e3033bb086 * 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.
1995-05-19 22:44:51 +00:00
Ken Raeburn 078d1a5afa From Richard Earnshaw (rearnsha@armltd.co.uk):
* gasp.c (istrue): Correctly test for string inequality.
1995-05-19 18:43:49 +00:00
Jim Kingdon a5298c2aa2 * 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.
1995-05-19 17:51:22 +00:00
Steve Chamberlain 7cdedb42c1 * coffswap.h: (IMAGE_BASE): Define to 0 if not. 1995-05-19 17:01:27 +00:00
Jim Kingdon 73d3dbd4e6 * 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
1995-05-19 14:15:48 +00:00
J.T. Conklin 85c613aaa7 * 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.
1995-05-18 23:45:31 +00:00
Ken Raeburn ff15324f63 Bunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets.
Details in change logs.
1995-05-18 22:21:18 +00:00
Angela Marie Thomas 1b9016457d add support for i386-unixware target, m68k-vxworks5.1 target, i960-vxworks5.1 target... always configure with --enable-gdbtk 1995-05-18 09:27:23 +00:00
Angela Marie Thomas db78f2aeb1 update target lists for all hosts 1995-05-18 09:16:59 +00:00
Jim Kingdon fb49432789 * 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.
1995-05-18 05:24:29 +00:00
Jim Kingdon 8558c4e316 * libbfd.c (bfd_stat): If bfd_cache_lookup returns an error,
return an error to the caller.  Call bfd_set_error on errors.
1995-05-18 05:20:37 +00:00
J.T. Conklin e61853ddc5 * Makefile.in (config.status): changed target so that
config.status --recheck is executed if configure script changes.
1995-05-18 01:01:57 +00:00