Commit Graph

6248 Commits

Author SHA1 Message Date
Ken Raeburn c812942fc5 Hack to cut down compilations needed for minimal-bfd:
* Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
	(ofiles): New target.  Build a list of unique file names, in case
	any got duplicated.
	(TARGETLIB): Use list of files from ofiles.
	* configure.in: Set BFD_MACHINES and BFD_BACKENDS depending on
	minimal-bfd flag and target makefile frag contents.
1993-07-06 20:27:25 +00:00
Ken Raeburn 70e009144e Stricter prototyping, to force type conversions between 64-bit target and
32-bit host values.

* libbfd.c (bfd_xmalloc_by_size_t): New function.
* opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations.
(obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
(new_bfd): Prototype-style definition, using DEFUN.
(bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type
size_t, not bfd_size_type.
* ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
* bfd.c (bfd_default_error_trap, bfd_error_trap,
bfd_error_nonrepresentabltrap): Prototypes.
* libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted
prototypes for arg type change.
* archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize,
do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.
1993-07-06 20:20:31 +00:00
John Gilmore 238ffce0bf * gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS,
removed from the code by Kingdon.
1993-07-06 19:43:06 +00:00
Ken Raeburn defcfb5570 (enum bfd_reloc_code_real): Put simple power-to-two relocs together, and add
64-bit versions.  Also add sparc v9 reloc types.
(bfd_generic_get_relocated_section_contents): Argument to alloca is size_t.
1993-07-06 19:29:36 +00:00
Jim Kingdon afde243fa5 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*. 1993-07-06 19:04:59 +00:00
Jim Kingdon c2153bf2ba * Makefile.in: Remove gdb before creating a new one.
Update init.c atomically.
1993-07-06 18:56:48 +00:00
Steve Chamberlain 768328bc1b New file. 1993-07-06 18:28:42 +00:00
Steve Chamberlain 817382d1ba Build gprof for sh. 1993-07-06 18:04:05 +00:00
Jim Kingdon 958e954a58 * gdb.texinfo (Break Commands): Remove stuff about flushing terminal
input when evaluating breakpoint conditions; the bug has been fixed.

	* gdb.texinfo (Continuing and Stepping): Argument to "continue"
	sets the ignore count to N-1, not to N.
1993-07-06 17:43:51 +00:00
Steve Chamberlain 1a11e53014 * run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.
1993-07-06 17:31:34 +00:00
Jim Kingdon de6a270409 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
(ALLCONFIG): Add config/alpha/alpha-osf1.mh.

	* infcmd.c (_initialize_infcmd): In docstring for "continue",
	describe argument as setting ignore count.
1993-07-06 17:15:02 +00:00
Steve Chamberlain b4a1e77be8 * Makefile.in: Install correctly. 1993-07-06 17:12:20 +00:00
David D. Zuhn 9dea029fad remove INSTALL=cp 1993-07-06 17:10:44 +00:00
Jim Kingdon 46d284c9fc * gdb.t06/signals.c: Add xfails for sun3. 1993-07-06 05:23:10 +00:00
Jim Kingdon 306ee233ba * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836. 1993-07-06 04:05:49 +00:00
Jim Kingdon 762665e153 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
test_stepping tests.
1993-07-06 03:50:00 +00:00
David Edelsohn a76b3e14b1 * cpu-h8300.c (h8300_scan): Fix parsing of architecture string. 1993-07-05 23:50:15 +00:00
Ian Lance Taylor 59624167d7 * config/hp300hpux.mt: Use emulation hp3hpux rather than
hp300hpux, since the latter does not exist.
1993-07-05 21:32:35 +00:00
Ian Lance Taylor 55636aa789 * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
now have a non NULL srefs_chain.
1993-07-05 21:32:13 +00:00
Mark Eichin 86fd58bf53 solaris doesn't have siginterrupt, though it has sigaction; however,
in this case siginterrupt would just be setting the default. (This was
the only patch needed to make devo build solaris-x-a29kudi...)
1993-07-05 15:06:51 +00:00
David Edelsohn b1d0b1614b * h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer. 1993-07-04 22:07:17 +00:00
David Edelsohn ce51bde687 (sim_csize): Initialize cpu.cache. 1993-07-04 07:37:45 +00:00
David Edelsohn a5b5f81d79 (bfd_h8_disassemble): Correct fetching of instruction. 1993-07-04 06:49:43 +00:00
David MacKenzie a04f1d001e Passing -L. is no longer necessary. 1993-07-03 02:23:22 +00:00
David MacKenzie ff76a7dbf3 Fix previous fix. 1993-07-03 02:18:12 +00:00
David MacKenzie 173a0c3d26 * ldmain.c (main): Don't add scriptdir to the lib search path.
* genscripts.sh: Put the scripts in the ldscripts directory, not
	emulations.
	* configure.in (ldscripts): Make, instead of emulations.
	* Makefile.in (scriptdir): Take off the "ld" part.
	(install, clean, distclean): Use ldscripts, not emulations.
	In tests, pass -L., not -Lemulations.
	(ldmain.o): Don't pass -DSCRIPTDIR=....
	* ldlang.c (lang_process): Add "ldscripts/" to the name of the
	default script file.
1993-07-03 02:01:03 +00:00
Steve Chamberlain 56fc37746d Keep writecode.c 1993-07-03 01:45:45 +00:00
David Edelsohn f7e3d580dc Makefile.in: Add -I../../bfd to pick up bfd.h. 1993-07-03 00:43:59 +00:00
David Edelsohn 9c06680d28 Fix typo. 1993-07-03 00:40:35 +00:00
Jim Kingdon 0c5af733b1 * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
rather than including xm-bigmips.h.
1993-07-03 00:36:35 +00:00
Jim Kingdon 1500864f5b * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
default cases.
1993-07-03 00:27:47 +00:00
Jim Kingdon fdf138bb6a * Makefile.in (distclean): Remove y.tab.h. 1993-07-03 00:24:51 +00:00
David Edelsohn 7434d4e5dc scripttempl/h8300.sc: Add .tors section for constructor/destructors. 1993-07-03 00:14:40 +00:00
David MacKenzie 2470e6fa6f * Doc fixes. 1993-07-03 00:01:44 +00:00
Jim Kingdon bb552c64cf * Makefile.in (clean): Remove bfd.h and stmp-bfd.h.
(realclean): Remove generated headers.
1993-07-02 23:57:52 +00:00
Jim Kingdon b2618fd85a * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug. 1993-07-02 21:56:27 +00:00
Ian Lance Taylor e8f8e093fd cvs core dumped and didn't check this in last time.
* configure.in (mipos-*-riscos*): New host and target; use riscos.
1993-07-02 21:27:13 +00:00
Steve Chamberlain 7e721ed49d * config/h8500/tm-h8500.h: Define new macros. 1993-07-02 21:27:09 +00:00
Steve Chamberlain a0ab5f90d1 * config/alpha/xm-alpha.h: Add MAKEVA_END. 1993-07-02 21:26:05 +00:00
Steve Chamberlain 85e07872b6 New target macros for getting at the pc, sp and fp.
* infcmd.c (read_pc, write_pc):  Modify to use new macros.
	(read_sp, write_sp, read_fp, write_fp): New functions.
	* blockframe.c (reinit_frame_cache, get_prev_frame_info):  Use new functions.
	* breakpoint.c (bpstat_alloc): ditto.
	* infrun.c (wait_for_inferior): ditto.
	* stack.c (print_frame_info): ditto.
	* valops (call_function_by_hand): ditto.
	* corelow.c (core_open): ditto.
	* h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
	target_write_pc, target_read_fp, target_write_fp): New functions.
	* inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
1993-07-02 21:25:04 +00:00
Ian Lance Taylor d8a80e6ddc * configure.in (mipos-*-riscos*): New host and target; use riscos.
* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
	vmparam.h, include machparam.h.
	(KERNEL_U_ADDR): Define to be BSD43_UADDR.
1993-07-02 20:54:02 +00:00
Jim Kingdon c0bca41c47 * c-exp.y (yylex): Give error if unmatched single quote. 1993-07-02 20:04:02 +00:00
Jim Kingdon c649a7c231 * configure.in, config/m68k/*delta68*, delta68-nat.c: New port. 1993-07-02 19:18:14 +00:00
Jim Kingdon a44cce7647 new for delta 68k 1993-07-02 19:01:48 +00:00
Jim Kingdon 38970bb5dd new files for Motorola delta 68k 1993-07-02 18:49:14 +00:00
Jim Kingdon 75fa3e0fd2 * Remove unused STACK_END_ADDR in the following files (in other
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
	tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
	tm-hp300hpux.h, tm-isi.h.
1993-07-02 18:48:44 +00:00
Jim Kingdon 56f413cd8f * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
rather than actually putting it through cpp twice.
1993-07-02 18:26:55 +00:00
Jim Kingdon 79f3218c2a * gdb.t06/signals.exp: Add xfails unixware and rs6000. 1993-07-02 18:11:23 +00:00
Ian Lance Taylor da2eac8b46 * configure.in (*-*-riscos*): New entry; use mh-sysv. 1993-07-02 18:06:10 +00:00
Ian Lance Taylor eae166985b * config/mips-gdb.exp (gdb_exit): Removed close statement which is
no longer needed.
1993-07-02 17:49:32 +00:00