Commit Graph

23952 Commits

Author SHA1 Message Date
Christopher Faylor
d931bc92b7 * cygwin.mh: Add extra libtermcap target information.
Make gdb depend on libtermcap for future readline dependency.
1998-11-19 01:32:42 +00:00
Christopher Faylor
ea5a6a5c3d Remove improper log entry. 1998-11-19 01:31:41 +00:00
Christopher Faylor
afe47e32d5 * configure.in: Add libtermcap to list of cygwin dependencies.
* config/cygwin.mh: Add extra libtermcap target information.
Make gdb depend on libtermcap for future readline depencency.
1998-11-19 01:15:59 +00:00
Doug Evans
11d06c350c * Makefile.am (DEP): Use $(srcdir)/../mkdep.
(itbl-ops.o): Delete duplicate dependencies.
	Rebuild dependencies.
	Add fr30 dependencies.
	* Makefile.in: Rebuild.
1998-11-19 00:23:24 +00:00
Doug Evans
8406c876c5 * Makefile.in (M32R_OBJS): Delete extract.o.
(extract.o): Delete.
	(stamp-arch): Depend on $(CGEN_ARCH_SCM).
	(stamp-cpu): Don't build extract.c.
	* cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild.
	* mloop.in (extract16): Update type of `insn' arg.
	Delete call to d->extract.
	(extract32): Ditto.

	* Makefile.in (M32RX_OBJS): Delete extractx.o.
	(extractx.o): Delete.
	(stamp-xcpu): Don't build extractx.c.
	* cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild.
	* mloopx.in (extractx16): Update type of `insn' arg.
	Delete call to d->extract.  Delete arg pbb_p.  All callers updated.
	(extract-simple,full-exec-simple,fast-exec-simple): Delete.
	(extractx32): Ditto.
1998-11-19 00:12:00 +00:00
Doug Evans
916b11527e * Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
(CGEN_ARCH_SCM): New variable.
	* cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
	(EXTRACT_INT,EXTRACT_UINT): New macros.
	(SEM_SEM_ARG): New macro.
	(SEM_NEXT_VPC): New arg `pc'.
	* cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
	(sim_disassemble_insn): Update prototype.
	* cgen-trace.c (current_insn,insn_fields): New static locals.
	(trace_insn): Set them.
	* cgen-utils.scm: #include cgen-engine.h.
	(sim_disassemble_insn): New arg insn_fields.
	Handle variable length insns.
	* genmloop.sh: Only emit pbb decls if -pbb.
	(${cpu}_scache_lookup): New arg `vpc'.
	(scache support): Fetch pc before entering loop.
1998-11-18 23:45:32 +00:00
Doug Evans
95b03313e0 * cgen-asm.in (insert_1): Replace calls to bfd_getb8/putb8.
(insert_normal, !CGEN_INT_INSN_P case): Only fetch enough bytes
	to hold value.
	(insert_insn_normal): Fix typo.
	* cgen-dis.c (cgen_dis_lookup_insn): Update type of `value' arg.
	* cgen-dis.in (extract_normal): Ditto.  New arg `pc'.
	Rewrite ! CGEN_INT_INSN_P case.
	(extract_insn_normal): Ditto.
	(extract_1): New arg `pc'.  All callers updated.
	Replace calls to bfd_getb8.
	(fill_cache): New fn.
	* cgen-opc.c (cgen_{get,put}_insn_value): Move here ...
	* cgen-opc.in: ... from here.
	(@arch@_cgen_lookup_insn): Rewrite ! CGEN_INT_INSN_P case.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c: Rebuild.
	* fr30-asm.c,fr30-dis.c,fr30-opc.c: Rebuild.
1998-11-18 23:25:45 +00:00
Doug Evans
2c05443851 * gennltvals.sh: Add fr30 support.
* nltvals.def: Rebuild.
1998-11-18 22:41:50 +00:00
Dave Brolley
cdb89f92cb Wed Nov 18 11:30:04 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c: Regenerated.
1998-11-18 16:30:49 +00:00
Dave Brolley
a20d433120 Wed Nov 18 11:27:56 1998 Dave Brolley <brolley@cygnus.com>
* gas/fr30/allinsn.s (dmov): Correct hex literals.
1998-11-18 16:29:08 +00:00
Richard Henderson
468bc0c5fe * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size.
* elf.c (_bfd_elf_link_hash_newfunc): Clear it.
        * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and
        respect it as an upper bound on what memory to reference.
        (elf_gc_smash_unused_vtentry_relocs): Likewise.
        (elf_gc_record_vtentry): Handle as-yet undefined vtables.  Set and
        update vtable_entries_size appropriately.
1998-11-18 04:26:39 +00:00
Andrew Cagney
206e3a8a5c Replace sys_errlist with strerror(). 1998-11-18 04:19:31 +00:00
Geoffrey Noer
119d6454bb Tue Nov 17 16:57:51 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: modify CC_FOR_TARGET and CXX_FOR_TARGET so that
        they include winsup/include when it's a cygwin target.
1998-11-18 00:59:53 +00:00
Michael Snyder
df9480038c Fixed a typo. 1998-11-18 00:23:30 +00:00
Michael Snyder
1ba38e79f8 Wed Nov 11 15:47:00 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* procfs.c (proc_set_exec_trap): don't set PR_ASYNC or PR_FORK
        in the child process for UnixWare (causes processes forked by
        the debuggee to hang).
1998-11-18 00:22:45 +00:00
Andrew Cagney
78dee4ee05 Re-do type system so that GCC's explicit attribute/mode types are used
(when available).
Update sim-bits and sim-alu tests in sim/testsuite/common.
1998-11-17 23:59:30 +00:00
Nick Clifton
82ef568c2e Fixed simple fr30 reloc handling. 1998-11-17 23:30:56 +00:00
Nick Clifton
2ca484a711 Fixed reloc generation to match latest opcoide list from cgen. 1998-11-17 23:28:19 +00:00
Nick Clifton
a88a845a87 Moved bad insns to end of test file and added disassembly of good insns. 1998-11-17 23:26:18 +00:00
Nick Clifton
3b0ae69636 PR17074 - ignore line terminator characters found inside strings. 1998-11-17 21:44:22 +00:00
Nick Clifton
73e42a0da8 regenerated Makefile.in 1998-11-17 18:27:13 +00:00
DJ Delorie
f5eb8577bd typo 1998-11-17 03:32:36 +00:00
DJ Delorie
949fae0bad typo 1998-11-17 03:27:26 +00:00
DJ Delorie
020917f9d0 * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY
bfds; they have no "file" so we fake it.
	* bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen)
	* libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by
 	resizing the memory buffer.
	* opncls.c (bfd_make_writable): New function; lets you write a
 	bfd_create'd bfd to an in-memory buffer.
	(bfd_make_readable): New function; lets you read back that buffer
 	as if it were from bfd_openr.  Used to build generated archive
 	members (winsup's ld's dlltool)
1998-11-17 03:25:29 +00:00
DJ Delorie
d3ca9a538c * emultempl/pe.em (gld_i386_finish): generate import library
* deffile.h: add hint member.
* pe-dll.c (pe_dll_generate_implib): New function with helpers;
generates the import library directly from the export table.
(fill_edata): remember the actual hint for the import library.
1998-11-17 03:18:06 +00:00
Nick Clifton
67c72211ac Fix syntax errors 1998-11-17 00:53:19 +00:00
Dave Brolley
4229bee92c Mon Nov 16 19:27:52 1998 Dave Brolley <brolley@cygnus.com>
* gas/fr30/allinsn.s: Fixed more typos.
1998-11-17 00:29:18 +00:00
Dave Brolley
6a1254af01 Mon Nov 16 19:21:48 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c: Regenerated.
	* fr30-opc.h: Regenerated.
	* fr30-dis.c: Regenerated.
	* fr30-asm.c: Regenerated.
1998-11-17 00:23:03 +00:00
Dave Brolley
0eae1b3001 Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com>
* po/binutils.pot: Regenerate.
1998-11-17 00:19:14 +00:00
Dave Brolley
44e7cd63f3 Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com>
* po/bfd.pot: Regenerated.
1998-11-17 00:16:52 +00:00
Geoffrey Noer
8adbc73e78 Mon Nov 16 14:17:05 1998 Geoffrey Noer <noer@cygnus.com>
* defs.h: if compiling under Cygwin, define __CYGWIN__ if
        __CYGWIN32__ is defined and __CYGWIN__ isn't for backwards
        compatibility.
1998-11-16 22:17:37 +00:00
Nick Clifton
45cac0cb84 Replaced fixed size array for hi16 relocations with a linked list. 1998-11-16 18:58:32 +00:00
Nick Clifton
5e424a1b6b Regenerated these files. 1998-11-16 18:20:17 +00:00
Frank Ch. Eigler
ca0669a326 * sun build fix for thinko (?) 1998-11-16 08:52:06 +00:00
Richard Henderson
34c304a78c * elf64-alpha.c (elf64_alpha_relax_section): Search for the proper
element of the gotentry list for local symbols too.
        (elf64_alpha_relocate_section): Unify local and global handling.
        Assert that gotent->use_count > 0.
1998-11-16 04:31:19 +00:00
Ian Lance Taylor
dc52ee8cf0 * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, and
update for file name changes of July 2, 1998.
	(vms_vax_vec): New.
	* configure: Rebuild.
1998-11-14 20:22:57 +00:00
Ian Lance Taylor
1deb4d0a93 * debug.c (debug_name_type): Correct return type from false to
DEBUG_TYPE_NULL.
1998-11-14 19:51:19 +00:00
Ian Lance Taylor
d66300ea5f * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>. 1998-11-14 19:37:14 +00:00
Frank Ch. Eigler
92fa45795d * Personal prototype "gx" translation-based JIT engine for M32R.
[ChangeLog]
start-sanitize-gxsim
1998-11-13  Frank Ch. Eigler  <fche@elastic.org>
	* configure.in: Added "--enable-sim-gx" option.
	* configure: Regenerated.
end-sanitize-gxsim
[common/ChangeLog]
1998-11-13  Frank Ch. Eigler  <fche@elastic.org>
start-sanitize-gxsim
	* Make-common.im: Build sim-gx.o and sim-gx-run.o.
	* sim-gx.c: New file: target-independent gx routines.
	* sim-gx.h: Declarations for gx structs and routines.
	* sim-gx-run.c: New file: target-independent gx driver.
	* sim-base.h: Add gx block vector to state struct.
end-sanitize-gxsim
	* aclocal.m4: Add tests for dlopen family.
1998-11-14 04:35:47 +00:00
Frank Ch. Eigler
fca5abc13a * sanitize fix for do-shifts.S 1998-11-14 04:32:00 +00:00
Geoffrey Noer
2acd19abcc fix up sanitize file 1998-11-14 01:45:52 +00:00
Geoffrey Noer
7c9ead687a fix sanitize file 1998-11-14 01:45:12 +00:00
Nick Clifton
3c0b1a5c8a Fixed typos and added some uppercase vs lowercase testing 1998-11-13 21:17:07 +00:00
Tom Tromey
61821e296a * configure.in (host_tools): Added zip.
* Makefile.in (all-target-libjava): Depend on all-zip.
	(all-zip): New target.
	(ALL_MODULES): Added all-zip.
	(NATIVE_CHECK_MODULES): Added check-zip.
	(INSTALL_MODULES): Added install-zip.
	(CLEAN_MODULES): Added clean-zip.
1998-11-13 20:31:12 +00:00
Tom Tromey
eb339488fe Added zip to java files 1998-11-13 20:25:14 +00:00
Geoffrey Noer
d836385e11 Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>
Changes to account for name change from cygwin32 to cygwin and
        clean up Win32-related ifdefs.

        * configure.tgt: check for cygwin* instead of cygwin32.
        New cygwin gdb_target variable loses the "32".
        * configure.host: check for cygwin* instead of cygwin32.
        New cygwin gdb_host variable loses the "32".
        * configure.in: test __CYGWIN__ instead of __CYGWIN32__,
        rename gdb_cv_os_cygwin32 variable to drop the "32".  Call
        AM_EXEEXT instead of AC_EXEEXT since that isn't in a released
        autoconf yet.
        * configure: regenerate.

        * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h
          where
        cygwin path conv protos live, instead of adding a proto here
          for
        them here.
        * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__
        instead of __CYGWIN32__.
        * source.c: thoughout, check _WIN32 instead of WIN32.

        * config/i386/cygwin32.mh: delete.
        * config/i386/cygwin.mh: new file, was cygwin32.mh.
        * config/i386/cygwin32.mt: delete.
        * config/i386/cygwin.mt: new file, was cygwin32.mt.
        * config/i386/tm-cygwin32.h: delete.
        * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h.
        * config/i386/xm-cygwin32.h: delete.
        * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h.
        * config/i386/xm-windows.h: #include xm-cygwin.h now.
        * config/powerpc/cygwin32.mh: delete.
        * config/powerpc/cygwin.mh: new file, was cygwin32.mh.
        * config/powerpc/cygwin32.mt: delete.
        * config/powerpc/cygwin.mt: new file, was cygwin32.mt.
        * config/powerpc/tm-cygwin32.h: delete.
        * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h.
        * config/powerpc/xm-cygwin32.h: delete.
        * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h.

        * rdi-share/aclocal.m4: regenerate with aclocal.
        * rdi-share/configure: regenerate with autoconf.
        * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c,
        * serpardr.c,
        unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
1998-11-13 08:16:08 +00:00
Geoffrey Noer
7c1c728ee2 Thu Nov 12 17:27:21 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: lose "32" from comment about cygwin.
1998-11-13 01:28:09 +00:00
John Metzler
9ee5984468 * remote.c (remote_get_threadinfo) : Support for remote
multithread debugging.
        (remote_get_threadlist) : get a partial list of threads
        (remote_threadlist_iterator) : Step through all the threads
        (init_remote_threadtests) : Optional builtin unit test commands.

        * thread.c (bind_target_thread_vector) : Implementa a more dynamic
        way of accessing target specific thread info functions than
        FIND_NEW_THREADS.
        (target_thread_info) : Function to get extended thread information.

        * gdbthread.h : Export internal data structures corresponding to
        external detailed thread info response. This is more like a 'ps'
        command than what might be expected of host based threads. This
        is for embedded systems.
1998-11-13 01:23:07 +00:00
Nick Clifton
b91e1ec1e4 Add support for delay slot insns. 1998-11-13 01:15:29 +00:00
Dave Brolley
7a0737c808 Thu Nov 12 19:24:18 1998 Dave Brolley <brolley@cygnus.com>
* po/opcodes.pot: Regenerated.
	* fr30-opc.c: Regenerated.
	* fr30-opc.h: Regenerated.
	* fr30-dis.c: Regenerated.
	* fr30-asm.c: Regenerated.
1998-11-13 00:36:58 +00:00