external/binutils.git
26 years agoThu Nov 12 15:20:15 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Fri, 13 Nov 1998 00:31:39 +0000 (00:31 +0000)]
Thu Nov 12 15:20:15 1998  Jim Ingham   <jingham@cygnus.com>

* console.tcl (complete): I added the ability to pass from_tty
        from gdb_cmd to the underlying commands.  Pass 1 when the
command is invoked from the console.

* interface.tcl (gdbtk_tcl_tstart, gdbtk_tcl_tstop): Run the
src window's do_tstop method rather than manipulating the
widgets by hand.

* src.tcl (build_win): Redo the packing so that the function
combobox doesn't push all the other combo-boxes off the screen
if it has a very long function name in it.

* srcbar.tcl (do_tstop): Added a mode that just changes the
GUI, which can be called from console hooks.

* srctextwin.tcl: Fixed some bugs I introduced in setting
breakpoints in the assembly & mixed mode windows.  Dropped
the notion of joint breakpoint images for lines that have
breakpoints of two separate types.  Too fragile.
        Also added the "dont_change_appearance" flag, used in the
continue_to_here method to tell the GUI not to reflect the
temporary disabling of all the breakpoints.

* toolbar.tcl (insert_buttons): Added a little more error-checking.
Thu Nov 12 15:20:15 1998  Jim Ingham   <jingham@cygnus.com>

* gdbtk-cmds.c (gdb_cmd): Added an optional second argument to the
gdb_cmd, which is from_tty.  This is passed to the gdb command
parser.  It is 0 by default, and the console window passes 1.

* gdbtk-cmds.c: moved disassemble_from_exec from gdbtk.c to gdbtk-cmds.c
with all the other link-var'ed variables

* gdbtk-hooks.c (gdbtk_trace_find): Only run the hook functions if
we are called from_tty.

* gdbtk-hooks.c (gdbtk_trace_start_stop): Set the trace buttons
from a trace_start_command callback rather than doing it as a
special case in gdb_cmd.

* tracepoint.c (tstart_command, tstop_command): Add call to
trace_start_stop_hook here.

26 years agoThu Nov 12 19:19:54 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Fri, 13 Nov 1998 00:31:06 +0000 (00:31 +0000)]
Thu Nov 12 19:19:54 1998  Dave Brolley  <brolley@cygnus.com>

* po/bfd.pot: Regenerated.

26 years agoAdd code to support FR30 instrucitons which contain a colon in their mnemonic
Nick Clifton [Thu, 12 Nov 1998 18:55:57 +0000 (18:55 +0000)]
Add code to support FR30 instrucitons which contain a colon in their mnemonic

26 years ago* test case for PR 18230, over from d30v branch
Frank Ch. Eigler [Thu, 12 Nov 1998 11:39:05 +0000 (11:39 +0000)]
* test case for PR 18230, over from d30v branch
1998-11-12  Frank Ch. Eigler  <fche@cygnus.com>
        * br-djsr.S: New test for new R62-update timing.

26 years agoAdd configury for mips-lsi-elf target (32 bit MIPS16).
Andrew Cagney [Thu, 12 Nov 1998 06:42:34 +0000 (06:42 +0000)]
Add configury for mips-lsi-elf target (32 bit MIPS16).
Fix numerous problems with PENDING_* code.
In old gencode simulator, don't double tick each cycle.
Add BREAK instruction to MIPS16 gencode simulator.

26 years agosanitize fr30 parts
Doug Evans [Wed, 11 Nov 1998 23:31:52 +0000 (23:31 +0000)]
sanitize fr30 parts

26 years ago* pe-dll.c (generate_reloc): don't output PE relocs for sections
DJ Delorie [Wed, 11 Nov 1998 23:11:38 +0000 (23:11 +0000)]
* pe-dll.c (generate_reloc): don't output PE relocs for sections
that won't be loaded.

26 years ago * sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
Doug Evans [Wed, 11 Nov 1998 22:02:57 +0000 (22:02 +0000)]
* sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.

26 years ago* pe-dll.c (fill_edata): don't strip underscores
DJ Delorie [Wed, 11 Nov 1998 18:50:40 +0000 (18:50 +0000)]
* pe-dll.c (fill_edata): don't strip underscores

26 years agoRemoved superflous code.
Nick Clifton [Wed, 11 Nov 1998 17:59:42 +0000 (17:59 +0000)]
Removed superflous code.

26 years agodiv(-0) sets both I/SI and D/SD (PR16522)
Andrew Cagney [Wed, 11 Nov 1998 08:18:55 +0000 (08:18 +0000)]
div(-0) sets both I/SI and D/SD (PR16522)

26 years agodummy commit before egcs merge
Jeff Law [Wed, 11 Nov 1998 05:58:08 +0000 (05:58 +0000)]
dummy commit before egcs merge

26 years agodummy commit before egcs merge
Jeff Law [Wed, 11 Nov 1998 05:47:47 +0000 (05:47 +0000)]
dummy commit before egcs merge

26 years agodummy commit before egcs merge
Jeff Law [Wed, 11 Nov 1998 05:47:18 +0000 (05:47 +0000)]
dummy commit before egcs merge

26 years ago* ld.texinfo: added i386pe option summary
DJ Delorie [Wed, 11 Nov 1998 02:29:03 +0000 (02:29 +0000)]
* ld.texinfo: added i386pe option summary

26 years agoTue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Wed, 11 Nov 1998 00:20:25 +0000 (00:20 +0000)]
Tue Nov 10 16:17:06 1998  Geoffrey Noer  <noer@cygnus.com>

        * acinclude.m4, config.bfd: detect cygwin* instead of
          cygwin32*.
        * aclocal.m4, configure: regenerate

26 years agoTue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Wed, 11 Nov 1998 00:18:37 +0000 (00:18 +0000)]
Tue Nov 10 16:17:06 1998  Geoffrey Noer  <noer@cygnus.com>

        * acinclude.m4: detect cygwin* instead of cygwin32*.
        * aclocal.m4, configure: regenerate

26 years agoAdd dependency of readelf.c on elf/fr30.h
Nick Clifton [Tue, 10 Nov 1998 23:33:13 +0000 (23:33 +0000)]
Add dependency of readelf.c on elf/fr30.h

26 years agoAdd support for disassemble FR30 instructions.
Nick Clifton [Tue, 10 Nov 1998 23:31:36 +0000 (23:31 +0000)]
Add support for disassemble FR30 instructions.

26 years agoAdd support for FR30 target.
Nick Clifton [Tue, 10 Nov 1998 23:29:18 +0000 (23:29 +0000)]
Add support for FR30 target.

26 years agoAdd support for generating FR30 machine number
Nick Clifton [Tue, 10 Nov 1998 23:15:10 +0000 (23:15 +0000)]
Add support for generating FR30 machine number

26 years agoReduce EM_CYGNUS_FR30 to a 16 bit value
Nick Clifton [Tue, 10 Nov 1998 23:14:02 +0000 (23:14 +0000)]
Reduce EM_CYGNUS_FR30 to a 16 bit value

26 years ago * pe-dll.c (process_def_file): properly note undefined exported
DJ Delorie [Tue, 10 Nov 1998 22:57:13 +0000 (22:57 +0000)]
* pe-dll.c (process_def_file): properly note undefined exported
  symbols, clean up old code.
(pe_dll_generate_def_file): don't crash if pe_def_file is NULL
* emultempl/pe.em (gld_i386_parse_args): add
  (en/dis)able-stdcall-fixups
(pe_fixup_stdcalls): warn about stdcall fixups
(gld_i386_unrecognized_file): make exported symbols undefs so that
  archive members get pulled in

26 years agoNew files for testing fr30 assembler
Nick Clifton [Tue, 10 Nov 1998 22:55:51 +0000 (22:55 +0000)]
New files for testing fr30 assembler

26 years agoAdded fr30 directory to things to loose
Nick Clifton [Tue, 10 Nov 1998 21:34:41 +0000 (21:34 +0000)]
Added fr30 directory to things to loose

26 years agoAdded tc-fr30.h to things to loose
Nick Clifton [Tue, 10 Nov 1998 21:32:30 +0000 (21:32 +0000)]
Added tc-fr30.h to things to loose

26 years agoAdd vtable relocs.
Catherine Moore [Tue, 10 Nov 1998 21:21:20 +0000 (21:21 +0000)]
Add vtable relocs.

26 years agoChanges so that GAS will build - not work - just build.
Nick Clifton [Tue, 10 Nov 1998 21:14:43 +0000 (21:14 +0000)]
Changes so that GAS will build - not work - just build.

26 years ago * scripttempl/elfd10v.sc: Add KEEP attribute to .init,
Catherine Moore [Tue, 10 Nov 1998 21:00:40 +0000 (21:00 +0000)]
   * scripttempl/elfd10v.sc: Add KEEP attribute to .init,
        .fini, .dtors and .ctors.  Add .data and .text
        wildcards to support section garbage collection.

26 years ago * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,
Felix Lee [Tue, 10 Nov 1998 20:51:01 +0000 (20:51 +0000)]
    * 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.

26 years ago * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT and
Catherine Moore [Tue, 10 Nov 1998 20:51:00 +0000 (20:51 +0000)]
    * 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.

26 years ago * config/tc-d10v.h (obj_fix_adjustable): Define.
Catherine Moore [Tue, 10 Nov 1998 20:50:34 +0000 (20:50 +0000)]
    * 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.

26 years ago * cgen-dis.in (print_normal): CGEN_OPERAND_FAKE renamed to
Doug Evans [Tue, 10 Nov 1998 19:11:04 +0000 (19:11 +0000)]
* 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.

26 years ago* deffilep.y: properly handle relocs with multiple def_files,
DJ Delorie [Tue, 10 Nov 1998 03:54:00 +0000 (03:54 +0000)]
* deffilep.y: properly handle relocs with multiple def_files,
cache import module names

26 years ago* pe-dll.c (process_def_file): don't assume exports won't move
DJ Delorie [Tue, 10 Nov 1998 03:45:43 +0000 (03:45 +0000)]
* pe-dll.c (process_def_file): don't assume exports won't move
during a realloc

26 years agoadd fr30 sanitization markers
Doug Evans [Tue, 10 Nov 1998 02:26:21 +0000 (02:26 +0000)]
add fr30 sanitization markers

26 years agoMon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Mon, 9 Nov 1998 23:33:25 +0000 (23:33 +0000)]
Mon Nov  9 18:22:55 1998  Dave Brolley  <brolley@cygnus.com>

* po/opcodes.pot: Regenerate.
* po/POTFILES.in: Regenerate.

26 years agoMon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Mon, 9 Nov 1998 23:32:48 +0000 (23:32 +0000)]
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.

26 years ago* pe-dll.c (process_def_file): auto-export everything if
DJ Delorie [Mon, 9 Nov 1998 23:06:47 +0000 (23:06 +0000)]
* pe-dll.c (process_def_file): auto-export everything if
nothing is otherwise exported.

26 years ago* emultempl/pe.em (gld_i386_list_options): list dll-specific options.
DJ Delorie [Mon, 9 Nov 1998 22:58:45 +0000 (22:58 +0000)]
* emultempl/pe.em (gld_i386_list_options): list dll-specific options.

26 years agoChange default behaviour so that conflicts between register names and usr symbols
Nick Clifton [Mon, 9 Nov 1998 22:26:47 +0000 (22:26 +0000)]
Change default behaviour so that conflicts between register names and usr symbols
are ignored.

26 years agooops, wasn't done editing that one yet.
DJ Delorie [Mon, 9 Nov 1998 21:58:35 +0000 (21:58 +0000)]
oops, wasn't done editing that one yet.

26 years ago * pe-dll.c: New file; direct support for PE DLLs
DJ Delorie [Mon, 9 Nov 1998 21:51:51 +0000 (21:51 +0000)]
* 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

26 years agoMon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Mon, 9 Nov 1998 17:02:20 +0000 (17:02 +0000)]
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.

26 years agoSat Nov 7 18:30:20 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de>
Ian Lance Taylor [Sat, 7 Nov 1998 23:32:19 +0000 (23:32 +0000)]
Sat Nov  7 18:30:20 1998  Peter Schauer  <peter.schauer@regent.e-technik.tu-muenchen.de>

* dis-asm.h (print_insn_vax): Declare.

26 years agoSat Nov 7 18:07:51 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de>
Ian Lance Taylor [Sat, 7 Nov 1998 23:12:50 +0000 (23:12 +0000)]
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.

26 years agoremove cgen support from Makefile.in, moved to cgen dir
Doug Evans [Sat, 7 Nov 1998 02:47:22 +0000 (02:47 +0000)]
remove cgen support from Makefile.in, moved to cgen dir

26 years ago * m32r-asm.c: Regenerate.
Doug Evans [Sat, 7 Nov 1998 01:22:51 +0000 (01:22 +0000)]
* m32r-asm.c: Regenerate.
Fixes calls to cgen_parse_address.

26 years ago* Patch for PR 18196, brought over from d30v branch.
Frank Ch. Eigler [Fri, 6 Nov 1998 08:45:57 +0000 (08:45 +0000)]
* 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.

26 years agoPatches to fix linux-x-i960-vxworks5.0 build failure.
Jim Wilson [Fri, 6 Nov 1998 03:02:44 +0000 (03:02 +0000)]
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.

26 years agolose fr30 for now
Doug Evans [Fri, 6 Nov 1998 00:17:34 +0000 (00:17 +0000)]
lose fr30 for now

26 years agoOopps - forgot to commit this with the previous delta
Nick Clifton [Fri, 6 Nov 1998 00:15:01 +0000 (00:15 +0000)]
Oopps - forgot to commit this with the previous delta

26 years agoredo fr30 sanitization
Doug Evans [Fri, 6 Nov 1998 00:10:54 +0000 (00:10 +0000)]
redo fr30 sanitization

26 years agotemporarily sanitize fr30
Doug Evans [Fri, 6 Nov 1998 00:01:02 +0000 (00:01 +0000)]
temporarily sanitize fr30

26 years agosanitize fr30 port for now
Doug Evans [Thu, 5 Nov 1998 23:53:05 +0000 (23:53 +0000)]
sanitize fr30 port for now

26 years agoBuild FR30 libraries with -Os.
Nick Clifton [Thu, 5 Nov 1998 23:01:43 +0000 (23:01 +0000)]
Build FR30 libraries with -Os.

26 years agoAdded fr30-asm.c fr30-dis.c fr30-opc.c fr30-opc.h
Dave Brolley [Thu, 5 Nov 1998 22:02:44 +0000 (22:02 +0000)]
Added fr30-asm.c  fr30-dis.c  fr30-opc.c  fr30-opc.h

26 years agoWed Nov 4 18:44:31 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 21:20:58 +0000 (21:20 +0000)]
Wed Nov  4 18:44:31 1998  Dave Brolley  <brolley@cygnus.com>

* configure.tgt: Add fr30-*-elf*.

26 years agoWed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 21:18:31 +0000 (21:18 +0000)]
Wed Nov  4 18:42:00 1998  Dave Brolley  <brolley@cygnus.com>

* po/gas.pot: Regenerated.

26 years agoWed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 21:17:23 +0000 (21:17 +0000)]
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.

26 years agoWed Nov 4 18:49:43 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 21:13:11 +0000 (21:13 +0000)]
Wed Nov  4 18:49:43 1998  Dave Brolley  <brolley@cygnus.com>

* config.sub: Add fr30.

26 years agoWed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 21:11:29 +0000 (21:11 +0000)]
Wed Nov  4 18:42:00 1998  Dave Brolley  <brolley@cygnus.com>

* config/tc-fr30.c: New file.

26 years agoWed Nov 4 19:11:43 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 20:25:22 +0000 (20:25 +0000)]
Wed Nov  4 19:11:43 1998  Dave Brolley  <brolley@cygnus.com>

* configure.in: Added case for fr30-*-*.
* configure: Regenerated.

26 years ago * m32r-opc.c (m32r_cgen_insn_table_entries): Add FILL_SLOT attribute
Doug Evans [Thu, 5 Nov 1998 20:22:40 +0000 (20:22 +0000)]
* 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.

26 years agoWed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 20:19:52 +0000 (20:19 +0000)]
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

26 years agoWed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 20:19:29 +0000 (20:19 +0000)]
Wed Nov  4 18:46:47 1998  Dave Brolley  <brolley@cygnus.com>

* po/POTFILES.in: Regenerated
* po/opcodes.pot: Regenerated

26 years agoWed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Thu, 5 Nov 1998 20:16:27 +0000 (20:16 +0000)]
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.

26 years agoMerging the Tracepoint changes back into the Trunk:
Jim Ingham [Thu, 5 Nov 1998 18:12:23 +0000 (18:12 +0000)]
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.

26 years agoAdd sanitization for FR30
Nick Clifton [Thu, 5 Nov 1998 17:51:55 +0000 (17:51 +0000)]
Add sanitization for FR30

26 years ago* r5900 sim test case fix
Frank Ch. Eigler [Thu, 5 Nov 1998 15:42:02 +0000 (15:42 +0000)]
* 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.

26 years ago* top.c (gdb_readline): Allow CRLF line termination on systems
Christopher Faylor [Thu, 5 Nov 1998 14:08:48 +0000 (14:08 +0000)]
* 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.

26 years ago* win32-nat.c: Remove obsolete PPC conditionals.
Christopher Faylor [Thu, 5 Nov 1998 13:41:40 +0000 (13:41 +0000)]
* win32-nat.c: Remove obsolete PPC conditionals.

26 years ago* build fix
Frank Ch. Eigler [Thu, 5 Nov 1998 09:42:06 +0000 (09:42 +0000)]
* 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.

26 years agoPR 16522
Andrew Cagney [Thu, 5 Nov 1998 09:42:05 +0000 (09:42 +0000)]
PR 16522
Fix RSQRT.S instruction, add test case.

26 years ago * sim-main.h: Delete inclusion of config.h, include sim-basics.h
Doug Evans [Thu, 5 Nov 1998 07:56:02 +0000 (07:56 +0000)]
* sim-main.h: Delete inclusion of config.h, include sim-basics.h
before cgen-types.h.
* tconfig.in: Guard against multiple inclusion.
* cpu.h: Delete decls moved to genmloop.sh.
* cpux.h: Ditto.

26 years ago * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
Doug Evans [Thu, 5 Nov 1998 07:53:37 +0000 (07:53 +0000)]
* genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
HAVE_PARALLEL_INSNS, define as 0 or 1.  Emit decls of fns in mloop.cin.
* cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
* cgen-sim.h: ... to here.

26 years agoAdd support for FR30
Nick Clifton [Thu, 5 Nov 1998 00:41:24 +0000 (00:41 +0000)]
Add support for FR30

26 years agoAdd support for the FR30.
Nick Clifton [Thu, 5 Nov 1998 00:26:25 +0000 (00:26 +0000)]
Add support for the FR30.

26 years agoAdded support for FR30
Nick Clifton [Thu, 5 Nov 1998 00:05:50 +0000 (00:05 +0000)]
Added support for FR30

26 years agoAdd support for FR30
Nick Clifton [Wed, 4 Nov 1998 23:58:00 +0000 (23:58 +0000)]
Add support for FR30

26 years agoadd some comments
Doug Evans [Wed, 4 Nov 1998 19:27:20 +0000 (19:27 +0000)]
add some comments

26 years ago * v850ice.c (do_gdb): New function.
Keith Seitz [Wed, 4 Nov 1998 01:17:03 +0000 (01:17 +0000)]
    * v850ice.c (do_gdb): New function.
        (ice_stepi): Use do_gdb to step properly.
        (ice_nexti): Use do_gdb to step properly.
        (view_source): Correct call to src window's location for new version.

26 years agoFix mn10200 build failure on redhat 5.0 linux.
Jim Wilson [Tue, 3 Nov 1998 20:28:12 +0000 (20:28 +0000)]
Fix mn10200 build failure on redhat 5.0 linux.
* c-exp.y (parse_number): Check TARGET_LONG_LONG_BIT when setting
high_bit to avoid undefined negative shift.

26 years ago * config/tc-m32r.c (assemble_two_insns): Ensure both insns
Doug Evans [Tue, 3 Nov 1998 05:05:58 +0000 (05:05 +0000)]
* config/tc-m32r.c (assemble_two_insns): Ensure both insns
are 16 bit insns.
PR 18135.

26 years ago * gas/m32r/error.exp: New error testcase driver.
Doug Evans [Tue, 3 Nov 1998 05:03:11 +0000 (05:03 +0000)]
* gas/m32r/error.exp: New error testcase driver.
* gas/m32r/wrongsize.s: New testcase.
PR 18135.

26 years ago * gas/m32r/fslot.[sd]: New testcase.
Doug Evans [Tue, 3 Nov 1998 04:25:28 +0000 (04:25 +0000)]
* gas/m32r/fslot.[sd]: New testcase.
* gas/m32r/m32r.exp: Run it.
* gas/m32r/fslotx.[sd]: New testcase.
* gas/m32r/m32rx.exp: Run it.
* gas/m32r/m32rx.[sd]: Update.
PR 18134.

26 years agoMon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
Ian Lance Taylor [Tue, 3 Nov 1998 01:16:02 +0000 (01:16 +0000)]
Mon Nov  2 20:10:18 1998  Martin von Loewis  <loewis@informatik.hu-berlin.de>

* app.c (do_scrub_begin): Set characters above 127 to be symbol
characters.
(do_scrub_chars): Add some casts to unsigned char to avoid
unwanted sign extension.
* read.c (lex_type): Set characters about 127 to be symbol
characters.
* config/tc-i386.c (md_begin): Set identifier_chars and
operand_chars for values above 127.

26 years agoMon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:28:59 +0000 (23:28 +0000)]
Mon Nov  2 15:26:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: Check cygwin* instead of cygwin32*.
        * configure: regenerate

26 years agoMon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:27:41 +0000 (23:27 +0000)]
Mon Nov  2 15:26:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: Check cygwin* instead of cygwin32*.

26 years agoMon Nov 2 15:19:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:20:51 +0000 (23:20 +0000)]
Mon Nov  2 15:19:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: drop "32" from config/mh-cygwin32.  Check
        cygwin* instead of cygwin32*.
        * config.sub: Check cygwin* instead of cygwin32*.

26 years agoMon Nov 2 15:15:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:18:10 +0000 (23:18 +0000)]
Mon Nov  2 15:15:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * mh-cygwin32: delete
        * mh-cygwin: was mh-cygwin32

26 years agoMon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:16:11 +0000 (23:16 +0000)]
Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate

26 years agoMon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:08:52 +0000 (23:08 +0000)]
Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate

26 years agoMon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 2 Nov 1998 23:02:04 +0000 (23:02 +0000)]
Mon Nov  2 14:59:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate

26 years agoDon't report error for dynamic links and --gc-sections.
Catherine Moore [Mon, 2 Nov 1998 20:52:40 +0000 (20:52 +0000)]
Don't report error for dynamic links and --gc-sections.

26 years ago* adding missing ChangeLog header line
Frank Ch. Eigler [Mon, 2 Nov 1998 11:51:27 +0000 (11:51 +0000)]
* adding missing ChangeLog header line

26 years ago * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,
Jeff Law [Mon, 2 Nov 1998 02:34:41 +0000 (02:34 +0000)]
    * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,
        use bfd_malloc and free instead and check return value from bfd_malloc.

26 years ago * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.
Ian Lance Taylor [Sun, 1 Nov 1998 21:25:43 +0000 (21:25 +0000)]
* libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.
* libbfd.h: Rebuild.

26 years agoSun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Sun, 1 Nov 1998 17:51:29 +0000 (17:51 +0000)]
Sun Nov  1 12:46:53 1998  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots
for later PLT entries in large PLTs.
(ppc_elf_finish_dynamic_symbol): Allow for the extra slots.

26 years ago * elf32-ppc.c (ppc_elf_reload_section): Fix typo.
Jeff Law [Sun, 1 Nov 1998 03:11:16 +0000 (03:11 +0000)]
    * elf32-ppc.c (ppc_elf_reload_section): Fix typo.