Commit graph

23876 commits

Author SHA1 Message Date
Nick Clifton
bb7c5d2a02 New files for testing fr30 assembler 1998-11-10 22:55:51 +00:00
Nick Clifton
a833b07a5d Added fr30 directory to things to loose 1998-11-10 21:34:41 +00:00
Nick Clifton
0012cae090 Added tc-fr30.h to things to loose 1998-11-10 21:32:30 +00:00
Catherine Moore
b4a6a4a6bf Add vtable relocs. 1998-11-10 21:21:20 +00:00
Nick Clifton
8f83181c30 Changes so that GAS will build - not work - just build. 1998-11-10 21:14:43 +00:00
Catherine Moore
fa718276e8 * scripttempl/elfd10v.sc: Add KEEP attribute to .init,
.fini, .dtors and .ctors.  Add .data and .text
        wildcards to support section garbage collection.
1998-11-10 21:00:40 +00:00
Felix Lee
e92a168fde * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,
BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value
        was cached.
        * aclocal.m4, configure: regenerated.
1998-11-10 20:51:01 +00:00
Catherine Moore
970e0ba27e * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT and
R_D10V_GNU_VTENTRY relocs.
        (elf_d10v_howto_table):  Likewise.
        (d10v_reloc_map d10v_reloc_map):  Likewise.
        (elf32_d10v_gc_mark_hook):  New.
        (elf32_d10v_gc_sweep_hook):  New.
        (elf32_d10v_check_relocs):  New.
        (elf32_d10v_relocate_section):  New.
        (elf_backend_relocate_section):  Define.
        (elf_backend_can_gc_sections):  Define.
1998-11-10 20:51:00 +00:00
Catherine Moore
de2c5b0dae * config/tc-d10v.h (obj_fix_adjustable): Define.
(TC_FORCE_RELOCATION):  Define.
        (d10v_force_relocation):  Declare.
        * config/tc-d10v.c (tc_gen_reloc):  Handle Vtable relocs.
        (md_apply_fix3):  Handle Vtable relocs.
        (d10v_fix_adjustable):  New.
        (d10v_force_relocation):  New.
1998-11-10 20:50:34 +00:00
Doug Evans
1c8f439ec6 * cgen-dis.in (print_normal): CGEN_OPERAND_FAKE renamed to
CGEN_OPERAND_SEM_ONLY.
	* m32r-dis.c,m32r-opc.c,m32r-opc.h: Rebuild.
	* fr30-dis.c,fr30-opc.c,fr30-opc.h: Rebuild.
1998-11-10 19:11:04 +00:00
DJ Delorie
a3606134a2 * deffilep.y: properly handle relocs with multiple def_files,
cache import module names
1998-11-10 03:54:00 +00:00
DJ Delorie
91c7ad9a6a * pe-dll.c (process_def_file): don't assume exports won't move
during a realloc
1998-11-10 03:45:43 +00:00
Doug Evans
8bf844741a add fr30 sanitization markers 1998-11-10 02:26:21 +00:00
Dave Brolley
8f6beefd60 Mon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com>
* po/opcodes.pot: Regenerate.
	* po/POTFILES.in: Regenerate.
1998-11-09 23:33:25 +00:00
Dave Brolley
6146431a2e Mon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com>
* po/opcodes.pot: Regenerate.
	* po/POTFILES.in: Regenerate.
	* fr30-opc.c: Regenerate.
	* fr30-opc.h: Regenerate.
1998-11-09 23:32:48 +00:00
DJ Delorie
69c4fd86f9 * pe-dll.c (process_def_file): auto-export everything if
nothing is otherwise exported.
1998-11-09 23:06:47 +00:00
DJ Delorie
854d50bd51 * emultempl/pe.em (gld_i386_list_options): list dll-specific options. 1998-11-09 22:58:45 +00:00
Nick Clifton
a1bda8d6bc Change default behaviour so that conflicts between register names and usr symbols
are ignored.
1998-11-09 22:26:47 +00:00
DJ Delorie
8550b2d7c0 oops, wasn't done editing that one yet. 1998-11-09 21:58:35 +00:00
DJ Delorie
eb8061bf35 * pe-dll.c: New file; direct support for PE DLLs
* deffile.h: New file; direct support for PE DLLs
	* deffilep.y: New file; direct support for PE DLLs
	* emultempl/pe.em: add direct support for PE DLLs
	* configure.tgt: allow target-specific extra files
	* configure.in: allow target-specific extra files
	* ldlang.c (lang_add_assignment): return the assignment so that
 	one can change the value later based on the object files (pe-dll
 	DEF files do this)
	* ldint.texinfo: add section for emulation walkthrough
1998-11-09 21:51:51 +00:00
Dave Brolley
83da26349f Mon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com>
* config/fr30/fr30.mt: New file.
	* config/fr30/tm-fr30.h: New file.
1998-11-09 17:02:20 +00:00
Ian Lance Taylor
4e331d427d Sat Nov 7 18:30:20 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de>
* dis-asm.h (print_insn_vax): Declare.
1998-11-07 23:32:19 +00:00
Ian Lance Taylor
446b878f24 Sat Nov 7 18:07:51 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de>
* Makefile.am (BFD32_BACKENDS): Move vms files here...
	(BFD64_BACKENDS): ...from here.
	(BFD32_BACKENDS_CFILES): Move vms files here...
	(BFD64_BACKENDS_CFILES): ...from here.
	* Makefile.in: Rebuild.
1998-11-07 23:12:50 +00:00
Doug Evans
ca40ecdcec remove cgen support from Makefile.in, moved to cgen dir 1998-11-07 02:47:22 +00:00
Doug Evans
617e3d097b * m32r-asm.c: Regenerate.
Fixes calls to cgen_parse_address.
1998-11-07 01:22:51 +00:00
Frank Ch. Eigler
edba5926c8 * Patch for PR 18196, brought over from d30v branch.
[d30v/ChangeLog]
1998-11-06  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v-insns (do_mvfacc): Use loop to limit shift count to 63 .. 0.
[testsuite/d30v-elf/ChangeLog]
1998-11-06  Frank Ch. Eigler  <fche@cygnus.com>
	* do-shifts.S: Add test for large mvfacc shifts.
1998-11-06 08:45:57 +00:00
Jim Wilson
e5fddd378d Patches to fix linux-x-i960-vxworks5.0 build failure.
* remote-vx.c (net_read_registers, net_write_registers, vx_xver_memory,
	vx_resume, vx_attach, vx_detach, vx_kill): Change errno to errno_num.
	* vx-share/xdr_ptrace.c (xdr_ptrace_return): Likewise.
	* vx-share/xdr_ptrace.h (struct ptrace_return): Likewise.
1998-11-06 03:02:44 +00:00
Doug Evans
47a2144503 lose fr30 for now 1998-11-06 00:17:34 +00:00
Nick Clifton
da99200ae5 Oopps - forgot to commit this with the previous delta 1998-11-06 00:15:01 +00:00
Doug Evans
71e6edeab4 redo fr30 sanitization 1998-11-06 00:10:54 +00:00
Doug Evans
04ad3a5905 temporarily sanitize fr30 1998-11-06 00:01:02 +00:00
Doug Evans
f3dc77c243 sanitize fr30 port for now 1998-11-05 23:53:05 +00:00
Nick Clifton
3d20148254 Build FR30 libraries with -Os. 1998-11-05 23:01:43 +00:00
Dave Brolley
290ca45abd Added fr30-asm.c fr30-dis.c fr30-opc.c fr30-opc.h 1998-11-05 22:02:44 +00:00
Dave Brolley
7e6c86c2e3 Wed Nov 4 18:44:31 1998 Dave Brolley <brolley@cygnus.com>
* configure.tgt: Add fr30-*-elf*.
1998-11-05 21:20:58 +00:00
Dave Brolley
aa6c50c1e9 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* po/gas.pot: Regenerated.
1998-11-05 21:18:31 +00:00
Dave Brolley
352b0f4d64 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* configure.in: Add fr30-*-*.
	* config/tc-fr30.c: New file.
	* Makefile.in: Regenerated.
	* config.in: Regenerated.
	* configure: Regenerated.
1998-11-05 21:17:23 +00:00
Dave Brolley
c4a3551dcb Wed Nov 4 18:49:43 1998 Dave Brolley <brolley@cygnus.com>
* config.sub: Add fr30.
1998-11-05 21:13:11 +00:00
Dave Brolley
d22910f69f Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c: New file.
1998-11-05 21:11:29 +00:00
Dave Brolley
168c5ef4ef Wed Nov 4 19:11:43 1998 Dave Brolley <brolley@cygnus.com>
* configure.in: Added case for fr30-*-*.
	* configure: Regenerated.
1998-11-05 20:25:22 +00:00
Doug Evans
52a53d1f37 * m32r-opc.c (m32r_cgen_insn_table_entries): Add FILL_SLOT attribute
to bcl8,bncl8 entries.
	(macro_insn_table_entries): Add FILL_SLOT attribute
	to bcl8r,bncl8r entries.
1998-11-05 20:22:40 +00:00
Dave Brolley
6f8811f370 Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
* configure.in: Added case for bfd_fr30_arch.
	* Makefile.am (CFILES): Added fr30-asm.c, fr30-dis.c, fr30-opc.c.
	(ALL_MACHINES): Added fr30-asm.lo, fr30-dis.lo, fr30-opc.lo.
	(CLEANFILES): Added stamp-fr30.
	(FR30_DEPS): Added.
	* fr30-asm.c: New file.
	* fr30-dis.c: New file.
	* fr30-opc.c: New file.
	* fr30-opc.h: New file.
	* po/POTFILES.in: Regenerated
	* po/opcodes.pot: Regenerated
1998-11-05 20:19:52 +00:00
Dave Brolley
c528ab7d86 Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
* po/POTFILES.in: Regenerated
	* po/opcodes.pot: Regenerated
1998-11-05 20:19:29 +00:00
Dave Brolley
a86481d3e9 Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
* configure.in): Added case for bfd_fr30_arch.
	* Makefile.am (CFILES): Added fr30-asm.c, fr30-dis.c, fr30-opc.c.
	(ALL_MACHINES): Added fr30-asm.lo, fr30-dis.lo, fr30-opc.lo.
	(CLEANFILES): Added stamp-fr30.
	(FR30_DEPS): Added.
	* fr30-asm.c: New file.
	* fr30-dis.c: New file.
	* fr30-opc.c: New file.
	* fr30-opc.h: New file.
1998-11-05 20:16:27 +00:00
Jim Ingham
63d138d980 Merging the Tracepoint changes back into the Trunk:
Wed Nov  4 12:41:42 1998  Jim Ingham  <jingham@cygnus.com>

	* actiondlg.tcl: Get the stack collect string from an instance
	variable.  Need to implement some way to get this from the
	target settings...
	* global_pref.tcl (toggle_tracing_mode): Add & remove hooks
	when you go in and out of tracing mode.  Also reset the B1
	behavior when you leave tracing mode
	* interface.tcl (gdbtk_tcl_trace_find_hook): Added the trace
	find hook, so you can switch the GUI state when the tfind
	command is used to enter & leave browse mode.
	* srcbar.tcl (constructor, destructor trace_find_hook): Added
	the trace_find_hook to the source toolbar, and added the
	necessary hooks to handle it.
	* srctextwin.tcl (trace_find_hook): Added a trace find hook to
	the sourcebar as well.
	* stack.tcl (update): protect against errors in gdb_stack.
	Just return "NO STACK" if we couldn't get it.
	* src_pref.tcl (constructor, cancel): Put all the saved prefs
	in an array, on cancel, see if any have changed and only
	rebuild the window if there have been changes.

Mon Nov  2 13:24:10 1998  Jim Ingham  <jingham@cygnus.com>

	* bp.tcl (update): The hook function was passing more
	arguments than this function expected.

Mon Nov  2 11:16:10 1998  Jim Ingham  <jingham@cygnus.com>

	* toolbar.tcl: Added Tdump image.

Fri Oct 30 17:36:05 1998  Jim Ingham  <jingham@cygnus.com>

	* src.tcl (set_execution_status): Changed status messages,
	tracing is not the same as async debugging...

Fri Oct 30 17:06:31 1998  Jim Ingham  <jingham@cygnus.com>

	* bp.tcl (bp_all): Only remove tracepoints in the tracepoint
	window, and breakpoints in the breakpoint window.

Fri Oct 30 11:22:23 1998  Jim Ingham  <jingham@cygnus.com>

	* actiondlg.tcl: Added special tag "Collect Stack".  This
	still needs to get hooked into the target database to deal
	with targets that need to do something special to collect the
	stack.  Also moved some repeated code into loops.
	* main.tcl (source_file): Source in a file of gdb commands.
	* srcbar.tcl (constructor): Added source file menu entry, and
	made stack buttons belong to both the Trace & Control classes.
	* srctextwin.tcl (constructor): One too many separators in the
	trace trace popup menu.
	* tclIndex: regenerated.
	* tfind_args.tcl: Added "tfind frame"
	* toolbar.tcl (create_button): Allow a button to belong to
	more than one class.
	* toolbar.tcl (enable_ui): Eliminate redundant code, and allow
	a button to belong to more than one class.
	* toolbar.tcl (create_trace_menu): Added save tracepoints &
	Tfind frame menu items.
	* tracedlg.tcl: Added deletion of actions, and fixed a
	the whiile-stepping combobox callback for the new combobox.
	* util.tcl (save_trace_commands): new proc.

1998-10-29  Michael Snyder  <msnyder@demo-laptop2.cygnus.com>

	* target.tcl: add /dev/cua0 for Linux.

Tue Oct 27 13:46:03 1998  Jim Ingham  <jingham@cygnus.com>

	* Many little bug fixes all over in order to get tracing to work
        along with normal program control.
	* toolbar.tcl: Rewrote much of the code here to put commonly
	used code into functions, and clean up adding menus and
	buttons.  Added the ability to disable particular menu items,
	not just whole menus.  Added the ability to delete and insert
	buttons on the fly.
	* srcbar.tcl: Pushed the changes to toolbar.tcl into this file.
	* srctextwin.tcl: Changed the code dealing with breakpoints
	and tracepoints to use the text tags more consistently.  Use
	only one set of menus for the whole widget, rather than having
	a separate set for the SRC+ASM case.  Rewrote a lot of the
	code to separate out the tracing & program control functions.
	* interface.tcl (gdbtk_tcl_breakpoint): pass more information
	to the scrtextwin when a breakpoint changes state, so it can
	do the right thing without having to guess...
	* tracedlg.tcl (build_win): get the packing right so the
	window expands correctly.
	* main.tcl: do_tstop -> tstop,  do_tstart -> tstart to avoid
	confusion with the methods in ScrBar.tcl.
	* prefs.tcl: Added two new preferences B1_Behavior to control
	whether B1 sets breakpoints or tracepoints.
	* src_prefs.tcl: Put in support for the B1_Behavior.
        * global_prefs.tcl: Put back tracing checkbox.
        * tdump.tcl: Fixed an incorrect (1 rather than 1.0) text
	widget line specification.
	* tfind_args.tcl (build_win): Bind return in the entry to the
	OK button.  Clear the entry field if the Type has changed.
	* utils.tcl: Added comments for the debug commands.
	* watch.tcl (build_win): Flash the OK button before invoking it.

Wed Nov  4 12:41:42 1998  Jim Ingham  <jingham@cygnus.com>

	* gdbtk-cmds.c (gdb_set_bp_addr): Pass the type, enable & thread
	to gdbtk_tcl_breakpoint.
	* gdbtk-hooks.c (gdbtk_trace_find): Added this function.  It is
	the hook function for tfind commands.
	* tracepoint.c (trace_find_command): Added the trace_find_hook,
	run when you do trace_find_command.
	* tracepoint.h: Define the trace_find_hook.

Mon Nov  2 11:16:10 1998  Jim Ingham  <jingham@cygnus.com>

	* gdbtk-cmds (gdb_get_tracepoint_info): Demangle C++ function names.

Fri Oct 30 11:22:23 1998  Jim Ingham  <jingham@cygnus.com>

	* gdbtk-cmds (gdb_get_tracepoint_info): Fixed typo.

Wed Oct 28 10:14:33 1998  Jim Ingham   <jingham@cygnus.com>

	* gdbtk-cmds.c: Made the bdtypes & bpdisp arrays shared so they
	could be used in gdbtk-hooks.c (breakpoint_notify).
	Also fixed a few error messages to actually print the bp number
	rather that #%d...
	* gdbtk-hooks.c (breakpoint_notify): pass more of the information
	about the breakpoint into the Tcl command, so it does not have to
	try and guess about information we have on the C side.
	* gdbtk.h: Export the bptypes & pbdisp arrays.
1998-11-05 18:12:23 +00:00
Nick Clifton
025ce5c6d8 Add sanitization for FR30 1998-11-05 17:51:55 +00:00
Frank Ch. Eigler
1995094e7f * r5900 sim test case fix
Thu Nov  5 10:37:40 EST 1998  Frank Ch. Eigler <fche@cygnus.com>

	* t-prot3w.s: Correct test of prot3w insn.
1998-11-05 15:42:02 +00:00
Christopher Faylor
3cee93ac7a * top.c (gdb_readline): Allow CRLF line termination on systems
which define CRLF_SOURCE_FILES.
* win32-nat.c: 1) Add thread support, 2) fix ability to attach to
a running process, and 3) implement limited support for cygwin
signals.
(thread_rec): New function.
(child_add_thread): Ditto.
(child_init_thread_list): Ditto.
(child_delete_thread): Ditto.
(do_child_fetch_inferior_registers): Ditto.
(do_child_store_inferior_registers): Ditto.
(handle_output_debug_string): Ditto.
(child_fetch_inferior_registers): Use do_* function to perform
operation.
(child_store_inferior_registers): Ditto.
(child_continue): Ditto.
(child_thread_alive): Ditto.
(cygwin_pid_to_str): Ditto.
(handle_load_dll): Reorganize, add first attempt at reading
dll names from attached processes.  Change info messages to provide
more information when dll is already loaded.
(handle_exception): Changes mandated by new thread-aware structures.
(child_wait): Track thread creation/destruction.  Handle cygwin
signals.
(child_create_inferior): Ditto.
(child_resume): Ditto.
(child_kill_inferior): Ditto.  Close child process handle to avoid a
handle leak.
(child_ops): Fill out child_ops fields that deal with threads.
* config/i386/tm-cygwin32.h: Declare function and macro needed
for converting a cygwin "pid" to a string.
* config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since
sigsetmask is not defined in cygwin.
1998-11-05 14:08:48 +00:00
Christopher Faylor
8015bd27ec * win32-nat.c: Remove obsolete PPC conditionals. 1998-11-05 13:41:40 +00:00
Frank Ch. Eigler
210a903baf * build fix
Thu Nov  5 10:29:42 EST 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* r5900.igen (r59fp_opdiv): Correct erroneous FGR[FD] reference.
1998-11-05 09:42:06 +00:00