external/binutils.git
27 years ago * enum.exp: More quoting fixes.
Bob Manson [Thu, 21 Aug 1997 17:31:58 +0000 (17:31 +0000)]
* enum.exp: More quoting fixes.

*sigh*

27 years ago * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
David Edelsohn [Thu, 21 Aug 1997 08:01:46 +0000 (08:01 +0000)]
* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
insn when changing to a different instruction.

27 years agoAdded N step divide routines, courtesy of Sugimoto at NEC.
Nick Clifton [Wed, 20 Aug 1997 22:42:55 +0000 (22:42 +0000)]
Added N step divide routines, courtesy of Sugimoto at NEC.

27 years agoFixed interpretation of SR bit in list18 structures.
Nick Clifton [Wed, 20 Aug 1997 20:57:05 +0000 (20:57 +0000)]
Fixed interpretation of SR bit in list18 structures.

27 years ago * ldlang.c (wildcardp): Don't let a backslash by itself cause a
Ian Lance Taylor [Wed, 20 Aug 1997 15:24:15 +0000 (15:24 +0000)]
* ldlang.c (wildcardp): Don't let a backslash by itself cause a
pattern to be treated as a wildcard pattern.
PR 13113.

27 years ago * ldgram.y (atype): Accept parentheses with no type.
Ian Lance Taylor [Wed, 20 Aug 1997 15:15:22 +0000 (15:15 +0000)]
* ldgram.y (atype): Accept parentheses with no type.

* ld.texinfo (Section Definition): Clarify use of whitespace.
(Section Placement): Likewise.
PR 13112.

27 years agooops - fixed bugs in new v850e/q rules.
Nick Clifton [Tue, 19 Aug 1997 17:07:05 +0000 (17:07 +0000)]
oops - fixed bugs in new v850e/q rules.

27 years agoTue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
Fred Fish [Tue, 19 Aug 1997 16:46:03 +0000 (16:46 +0000)]
Tue Aug 19 08:59:12 1997  Fred Fish  <fnf@cygnus.com>

* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
flag when alignment is in bytes instead of power of 2, and code to
use that flag to convert alignment to bytes.
(s_lcomm, s_lcomm_bytes):  New helpers that call s_lcomm_internal.
* read.h (s_lcomm_bytes): Add prototype.
* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
defined, write alignment to alignment bits in section header s_flags
rather than the s_align field.
start-sanitize-tic80
* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
pseudo, instead of s_lcomm which wants a power of two for alignment.
end-sanitize-tic80
PR 12215 and PR 13061

27 years ago * coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
Fred Fish [Tue, 19 Aug 1997 16:44:00 +0000 (16:44 +0000)]
* coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define.
* coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define.
* coffcode.h (coff_set_alignment_hook): Conditionally compile in if
COFF_ALIGN_IN_SECTION_HEADER is defined.  Convert alignment to power
of two for I960 only.
* coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO,
PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide
default definitions.
(coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC,
GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN.
start-sanitize-tic80
* Makefile.in (coff-tic80.o): Depends upon coffswap.h.
* coff-tic80.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Define
*coffcode.h (coff_write_object_contents): Set alignment field in
  section header for TIC80COFF files.
end-sanitize-tic80
PR 12215 and PR 13061

27 years ago * objfiles.c (objfile_relocate): Add call to breakpoint_re_set
Fred Fish [Tue, 19 Aug 1997 15:46:20 +0000 (15:46 +0000)]
* objfiles.c (objfile_relocate): Add call to breakpoint_re_set
after relocations are complete.
* remote-vx.c (vx_add_symbols): Remove call to breakpoint_re_set,
this is now done in objfile_relocate.
PR 11308

27 years ago * macro.c (check_macro): use alloca instead of xmalloc to plug leak.
Richard Henderson [Tue, 19 Aug 1997 03:48:22 +0000 (03:48 +0000)]
    * macro.c (check_macro): use alloca instead of xmalloc to plug leak.

27 years ago * as.c (show_usage): Add -am.
Richard Henderson [Tue, 19 Aug 1997 03:45:56 +0000 (03:45 +0000)]
    * as.c (show_usage): Add -am.
        * input-scrub.c (input_scrub_include_sb): Don't add leading \n
        if we've already got one.
        * listing.c (struct list_info_struct): Add line_contents.
        (listing_newline): Put unused argument to work: if non-null, save it...
        (listing_listing): ... and regurgitate during listing instead of line
        from file.
        * listing.h (LISTING_MACEXP): New define.
        (LISTING_NEWLINE): Argument is NULL.
        * read.c (read_a_source_file): If expanding macros, break up input
        lines and pass them to listing_newline.
        * doc/as.texinfo: Document -ac and -am.

        * cond.c (s_ifc): Add missing demand_empty_rest_of_line.

27 years ago * win32-nat.c (handle_exception): Return a value indicating
Ian Lance Taylor [Mon, 18 Aug 1997 21:31:51 +0000 (21:31 +0000)]
* win32-nat.c (handle_exception): Return a value indicating
  whether the exception was handled.  Don't handle random exceptions
the first time around, so that structured exception handling
works.
(child_wait): Check the return value of handle_exception.  Set the
continue_status argument to ContinueDebugEvent accordingly.

27 years agoAdd support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:42:35 +0000 (18:42 +0000)]
Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_PCREL relocation.

27 years agoAdd support for v850e and v850eq target.
Nick Clifton [Mon, 18 Aug 1997 18:30:31 +0000 (18:30 +0000)]
Add support for v850e and v850eq target.

27 years agoAdd support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:26:42 +0000 (18:26 +0000)]
Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_16_PCREL.

27 years agoAdd support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:12:54 +0000 (18:12 +0000)]
Add support for v850e and v850eq targets.

27 years agoAdd suport for v850e and v850eq
Nick Clifton [Mon, 18 Aug 1997 18:01:42 +0000 (18:01 +0000)]
Add suport for v850e and v850eq

27 years agoAdd support for V850eq variant opcodes.
Nick Clifton [Mon, 18 Aug 1997 18:01:08 +0000 (18:01 +0000)]
Add support for V850eq variant opcodes.

27 years ago * Add gdbtcl2 to gdbtk_files.
Mark Alexander [Mon, 18 Aug 1997 17:02:58 +0000 (17:02 +0000)]
* Add gdbtcl2 to gdbtk_files.

27 years ago* config.sub: Add mipstx39. Delete r3900.
Gavin Romig-Koch [Mon, 18 Aug 1997 13:27:25 +0000 (13:27 +0000)]
* config.sub: Add mipstx39.  Delete r3900.

27 years ago * Makefile.in (all-vmake): Depends on all-tix.
Jason Molenda [Mon, 18 Aug 1997 10:14:26 +0000 (10:14 +0000)]
    * Makefile.in (all-vmake): Depends on all-tix.

27 years ago * Makefile.in (all-autoconf): Depends on all-texinfo.
Jason Molenda [Mon, 18 Aug 1997 08:26:07 +0000 (08:26 +0000)]
    * Makefile.in (all-autoconf): Depends on all-texinfo.

autoconf tries to run makeinfo as a part of 'all'.  Instead of hacking
autoconf to build in the Cygnus way, I just added this dependency.

27 years agoSun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Mon, 18 Aug 1997 03:33:27 +0000 (03:33 +0000)]
Sun Aug 17 20:31:57 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * m32r-stub.c: fix typo

27 years ago * remote-sds.c: Remove unused remnants of remote.c.
Stan Shebs [Mon, 18 Aug 1997 00:41:39 +0000 (00:41 +0000)]
* remote-sds.c: Remove unused remnants of remote.c.
(tob64): Return the result length.
(sds_interrupt): Send a stop message.
(sds_wait): Add debug output for signal interpretation, flag
that signal was due to a trap.
(sds_fetch_registers): Fill the registers array correctly for
  PowerPC.
(sds_store_registers): Get the right values from registers array.
(putmessage): Tweak length handling so checksum comes out right.
(sds_insert_breakpoint, sds_remove_breakpoint): Do correctly.

27 years agoSun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Sun, 17 Aug 1997 07:47:55 +0000 (07:47 +0000)]
Sun Aug 17 00:42:11 1997  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdb_listfuncs): New function that returns
a list of all the functions in a source file.

27 years agoUpdate powerpc/rs6000 to current multilibs
Michael Meissner [Sat, 16 Aug 1997 03:11:09 +0000 (03:11 +0000)]
Update powerpc/rs6000 to current multilibs

27 years ago * Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
Ian Lance Taylor [Fri, 15 Aug 1997 23:19:20 +0000 (23:19 +0000)]
* Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
setting EXPECT and TCL_LIBRARY.
* Makefile.in: Rebuild.

27 years ago * infrun.c (wait_for_inferior): Add the symbols for any
Peter Schauer [Fri, 15 Aug 1997 21:10:32 +0000 (21:10 +0000)]
* infrun.c (wait_for_inferior):  Add the symbols for any
newly loaded objects upon a TARGET_WAITKIND_LOADED event.

Rewrite code which determines the TOC address for calling functions
in the inferior under AIX.
* rs6000-nat.c (find_toc_address):  New function to determine
the required TOC address from a function address.
(_initialize_core_rs6000):  Set up find_toc_address_hook to point
to find_toc_address.
(xcoff_relocate_symtab, xcoff_relocate_core):  Remove
add_text_to_loadinfo calls.
(exec_one_dummy_insn):  Change pid and status to int to get rid of
compiler warnings.
(xcoff_relocate_symtab):  Cast ldi to `int *' when passing it to
ptrace to get rid of compiler warnings.
* rs6000-tdep.c:  Add definition for find_toc_address_hook.
(rs6000_fix_call_dummy):  If find_toc_address_hook is non zero,
patch TOC address load code in the call dummy with the value
returned from find_toc_address_hook.
(struct loadinfo, loadinfo, loadinfolen,
loadinfotextindex, xcoff_init_loadinfo, free_loadinfo,
xcoff_add_toc_to_loadinfo, add_text_to_loadinfo, find_toc_address):
Remove.
(_initialize_rs6000_tdep):  Remove initialization of
coff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
* xcoffread.c (coff_add_toc_to_loadinfo_hook,
xcoff_init_loadinfo_hook):  Remove.
(struct coff_symfile_info):  Add toc_offset field.
(scan_xcoff_symtab):  Record toc_offset value in toc_offset field
instead of calling xcoff_add_toc_to_loadinfo_hook.
(get_toc_offset):  New function to return the value of the
toc_offset field for an object file.
(xcoff_initial_scan):  Remove call of xcoff_init_loadinfo_hook.
* xcoffsolib.h (add_text_to_loadinfo):  Remove declaration.
* config/rs6000/tm-rs6000.h:  Add declarations for
find_toc_address_hook and get_toc_offset.

27 years agofix copyrights
Ian Lance Taylor [Fri, 15 Aug 1997 18:26:52 +0000 (18:26 +0000)]
fix copyrights

27 years ago * as.h (enum debug_info_type): Define.
Ian Lance Taylor [Fri, 15 Aug 1997 18:19:27 +0000 (18:19 +0000)]
* as.h (enum debug_info_type): Define.
(debug_type): Declare.
* as.c (debug_type): New global variable.
(show_usage): Add --gstabs.
(parse_args): Handle --gstabs.
* read.c (generate_asm_lineno): Remove.
(read_a_source_file): Output stabs debugging if appropriate.
Change checks of generate_asm_lineno to check debug_type.  Only
generate ECOFF debugging if ECOFF_DEBUGGING is defined.
* read.h (generate_asm_lineno): Don't declare.
(stabs_generate_asm_lineno): Declare.
* stabs.c (stabs_generate_asm_lineno): New function.
* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
Don't turn off debugging.
(add_file): Remove old #if 0 code.
(ecoff_new_file): Set debug_type, not generate_asm_lineno.
(ecoff_directive_end): Don't generate stabs line symbols.
(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
generate_asm_lineno.
(line_label_cnt): Remove.
(ecoff_generate_asm_line_stab): Remove.
* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
* doc/as.texinfo, doc/as.1: Document --gstabs.

27 years ago * coffgen.c (coff_find_nearest_line): Correctly handle the offset
Ian Lance Taylor [Fri, 15 Aug 1997 16:02:53 +0000 (16:02 +0000)]
* coffgen.c (coff_find_nearest_line): Correctly handle the offset
argument as section relative, rather than an absolute address.
From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>.

27 years agofix v850 sanitization
Ian Lance Taylor [Fri, 15 Aug 1997 15:50:13 +0000 (15:50 +0000)]
fix v850 sanitization

27 years agofix v850 sanitization
Ian Lance Taylor [Fri, 15 Aug 1997 15:44:07 +0000 (15:44 +0000)]
fix v850 sanitization

27 years agoRemove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 12:20:57 +0000 (12:20 +0000)]
Remove ARC sanitization.

27 years ago * arc.h (enum reloc): Move here from elf32-arc.c.
David Edelsohn [Fri, 15 Aug 1997 12:10:43 +0000 (12:10 +0000)]
* arc.h (enum reloc): Move here from elf32-arc.c.

27 years agoRemove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 12:08:52 +0000 (12:08 +0000)]
Remove ARC sanitization.

27 years agoRemove support for insns not in base chip, which is all we support now.
David Edelsohn [Fri, 15 Aug 1997 06:58:48 +0000 (06:58 +0000)]
Remove support for insns not in base chip, which is all we support now.

27 years agoDelete testcases, these don't appear in the base chip which is all we
David Edelsohn [Fri, 15 Aug 1997 06:53:50 +0000 (06:53 +0000)]
Delete testcases, these don't appear in the base chip which is all we
support now.

27 years agoRemove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 06:49:09 +0000 (06:49 +0000)]
Remove ARC sanitization.

27 years agoAdd comment.
David Edelsohn [Thu, 14 Aug 1997 20:36:00 +0000 (20:36 +0000)]
Add comment.

27 years agoUndo last change, add comment saying why I think I was wrong.
David Edelsohn [Thu, 14 Aug 1997 20:07:56 +0000 (20:07 +0000)]
Undo last change, add comment saying why I think I was wrong.

27 years ago * callback.h (cb_printf, cb_eprintf): Declare.
David Edelsohn [Thu, 14 Aug 1997 19:55:37 +0000 (19:55 +0000)]
* callback.h (cb_printf, cb_eprintf): Declare.

27 years agoFixed typo in previous delta and added more sanitization.
Nick Clifton [Thu, 14 Aug 1997 19:55:03 +0000 (19:55 +0000)]
Fixed typo in previous delta and added more sanitization.

27 years ago * callback.c (os_poll_quit): Make static.
David Edelsohn [Thu, 14 Aug 1997 19:53:10 +0000 (19:53 +0000)]
* callback.c (os_poll_quit): Make static.
Call sim_cb_eprintf, not p->eprintf.
(sim_cb_printf, sim_cb_eprintf): New functions.

27 years agooops - fixed typo.
Nick Clifton [Thu, 14 Aug 1997 19:48:36 +0000 (19:48 +0000)]
oops - fixed typo.

27 years agoTidied up sanitization.
Nick Clifton [Thu, 14 Aug 1997 19:45:14 +0000 (19:45 +0000)]
Tidied up sanitization.

27 years ago * configure: Get CFLAGS and CXXFLAGS from Makefile, if possible.
Ian Lance Taylor [Thu, 14 Aug 1997 19:43:00 +0000 (19:43 +0000)]
* configure: Get CFLAGS and CXXFLAGS from Makefile, if possible.

27 years agoTidied up sanitization
Nick Clifton [Thu, 14 Aug 1997 19:42:22 +0000 (19:42 +0000)]
Tidied up sanitization

27 years agoTidied up the sanitization.
Nick Clifton [Thu, 14 Aug 1997 19:34:58 +0000 (19:34 +0000)]
Tidied up the sanitization.

27 years ago * configure: When handling a Canadian Cross, handle YACC as well as
Ian Lance Taylor [Thu, 14 Aug 1997 18:43:48 +0000 (18:43 +0000)]
* configure: When handling a Canadian Cross, handle YACC as well as
BISON.  Just set BISON to bison.  When setting YACC, prefer bison.

27 years agokeep remote-sds.c
Stan Shebs [Thu, 14 Aug 1997 02:46:46 +0000 (02:46 +0000)]
keep remote-sds.c

27 years ago * remote-sds.c: New file, interface to SDS-compatible monitors.
Stan Shebs [Thu, 14 Aug 1997 02:41:15 +0000 (02:41 +0000)]
* remote-sds.c: New file, interface to SDS-compatible monitors.
* Makefile.in (remote-sds.o): Add build rule.
* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
  (TDEPFILES): Add remote-sds.o.

27 years agoAdded support for v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 02:13:32 +0000 (02:13 +0000)]
Added support for v850e and v850eq instructions.

27 years agoAdded support for v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 02:03:34 +0000 (02:03 +0000)]
Added support for v850e and v850eq instructions.

27 years agoAdd support for v850E and v850EQ instructions.
Nick Clifton [Thu, 14 Aug 1997 01:55:51 +0000 (01:55 +0000)]
Add support for v850E and v850EQ instructions.

27 years agoAdded support for new v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 01:49:02 +0000 (01:49 +0000)]
Added support for new v850e and v850eq instructions.

27 years ago Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:53:09 +0000 (04:53 +0000)]
Fix quoting.

27 years ago Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:50:07 +0000 (04:50 +0000)]
Fix quoting.

27 years ago * tests2.exp: Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:49:25 +0000 (04:49 +0000)]
* tests2.exp: Fix quoting.
* tests1.exp: Ditto.

27 years ago * configure: If OSTYPE matches *win32*, try to find a good value for
Ian Lance Taylor [Wed, 13 Aug 1997 02:40:46 +0000 (02:40 +0000)]
* configure: If OSTYPE matches *win32*, try to find a good value for
CONFIG_SHELL.

27 years agoTue Aug 12 14:37:18 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 12 Aug 1997 21:38:54 +0000 (21:38 +0000)]
Tue Aug 12 14:37:18 1997  Geoffrey Noer  <noer@cygnus.com>

        * ocd.c (ocd_wait): loop until we're in BDM mode instead of
        assuming control has returned to GDB.

27 years ago * Makefile.in (install-only): Install tclIndex if ENABLE_IDE.
Ian Lance Taylor [Tue, 12 Aug 1997 20:38:39 +0000 (20:38 +0000)]
* Makefile.in (install-only): Install tclIndex if ENABLE_IDE.

27 years ago * doc/internals.texi: Document rs_leb128.
Richard Henderson [Tue, 12 Aug 1997 17:30:10 +0000 (17:30 +0000)]
    * doc/internals.texi: Document rs_leb128.

27 years ago * config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
Ian Lance Taylor [Tue, 12 Aug 1997 16:17:46 +0000 (16:17 +0000)]
* config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
in ABSL case, rather than calling abort.

27 years ago * as.h (enum _relax_state): Add rs_leb128.
Richard Henderson [Tue, 12 Aug 1997 05:42:00 +0000 (05:42 +0000)]
    * as.h (enum _relax_state): Add rs_leb128.
        * read.c (potable): Add sleb128 and uleb128.
        (sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
        functions.
        * read.h: Update prototypes.
        * symbols.c (resolve_symbol_value): Streamline quite a bit.  Return
        the symbol value, add a second FINALIZE argument that prevents
        changes from being comitted.  Update all callers.
        * write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
        * doc/as.texinfo: Document the new pseudos.

27 years agokeep dink32 interface
Stan Shebs [Tue, 12 Aug 1997 02:35:11 +0000 (02:35 +0000)]
keep dink32 interface

27 years ago * dink32-rom.c: New file, support for DINK32 monitor.
Stan Shebs [Tue, 12 Aug 1997 02:34:14 +0000 (02:34 +0000)]
* dink32-rom.c: New file, support for DINK32 monitor.
* Makefile.in (dink32-rom.o): Add build rule.
* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
  (TDEPFILES): Add dink32-rom.o.
* monitor.h (MO_32_REGS_PAIRED, MO_SETREG_INTERACTIVE,
  MO_SETMEM_INTERACTIVE, MO_GETMEM_16_BOUNDARY,
  MO_CLR_BREAK_1_BASED): New monitor interface flags.
* monitor.c: Use them.
(monitor_store_register): Use setreg.term if defined.
(monitor_insert_breakpoint, monitor_remove_breakpoint): Notice
if set_break and clr_break fields are empty.

27 years agoMon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 11 Aug 1997 23:40:26 +0000 (23:40 +0000)]
Mon Aug 11 16:22:36 1997  Geoffrey Noer  <noer@cygnus.com>

        * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): macro
        BDM_BREAKPOINT already has braces around it, remove erroneous ones.
        * ser-ocd.c (ocd_write): conditionalize on _WIN32 instead of
        __CYGWIN32__
        * config/powerpc/tm-ppc-eabi.h: remove BDM_NUM_REGS, BDM_REGMAP
        * ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file,
        fill in doc fields of bdm_ppc_ops.
        (bdm_ppc_fetch_registers): don't ask for invalid registers such
        as the MQ or floating point regs not present on ppc 8xx boards
        (bdm_ppc_store_registers): don't write those same invalid registers
        * config/i386/cygwin32.mh: stop including ocd.o ser-ocd.o
        * config/powerpc/ppc-eabi.mt:
        * config/powerpc/ppcle-eabi.mt:
        * config/powerpc/ppc-sim.mt:
        * config/powerpc/ppcle-sim.mt: include ser-ocd.o

27 years ago * frame.h (enum lval_type): Conditionalize on __GNUC__
Fred Fish [Mon, 11 Aug 1997 23:14:47 +0000 (23:14 +0000)]
  * frame.h (enum lval_type): Conditionalize on __GNUC__
      instead of __STDC__.

27 years ago * Makefile.in, configure.in: Handle jstools like vmake.
Ian Lance Taylor [Mon, 11 Aug 1997 17:50:58 +0000 (17:50 +0000)]
* Makefile.in, configure.in: Handle jstools like vmake.

27 years ago * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.
Tom Tromey [Mon, 11 Aug 1997 16:49:53 +0000 (16:49 +0000)]
    * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.

27 years ago * aoutx.h (NAME(aout,final_link)): Don't emit the string table if
Ian Lance Taylor [Mon, 11 Aug 1997 16:46:40 +0000 (16:46 +0000)]
* aoutx.h (NAME(aout,final_link)): Don't emit the string table if
there are no symbols.

27 years agoSun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 11 Aug 1997 02:04:16 +0000 (02:04 +0000)]
Sun Aug 10 16:49:09 1997  Geoffrey Noer  <noer@cygnus.com>

        * ocd.c: move ocd_write_bytes proto to ocd.h since it is used
        by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
        BDM_BREAKPOINT if not defined in tm.h
        (ocd_error): add new error cases
        (ocd_start_remote): send the OCD_INIT command before
        OCD_AYT and OCD_GET_VERSION calls, 80 was correct speed after all
        (ocd_write_bytes): no longer static
        (ocd_insert_breakpoint): no longer static
        (ocd_remove_breakpoint): new
        * ocd.h: add protos for ocd_write_bytes, ocd_insert_breakpoint,
        and ocd_remove_breakpoint
        * ppc-bdm.c: change bdm_ppc_ops so we call ocd_insert_breakpoint
        and ocd_remove_breakpoint instead of memory_insert_breakpoint
        and memory_remove_breakpoint.
        (bdm_ppc_open): after calling ocd_open, modify DER
        register so interrupts will drop us into debugging mode, finally
        disable the watchdog timer on the board so we don't leave BDM
        mode unexpectedly.

27 years ago * utils.c (error): Fix return type for !ANSI_PROTOTYPES.
Jeff Law [Mon, 11 Aug 1997 01:10:13 +0000 (01:10 +0000)]
    * utils.c (error): Fix return type for !ANSI_PROTOTYPES.
Avoids "void void error" which craps out the HP native compiler.

27 years agoSun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 11 Aug 1997 00:01:59 +0000 (00:01 +0000)]
Sun Aug 10 16:49:09 1997  Geoffrey Noer  <noer@cygnus.com>

        * ocd.c: move ocd_write_bytes proto to ocd.h since it is used
        by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
        BDM_BREAKPOINT if not defined in tm.h
        (ocd_error): add new error cases
        (ocd_start_remote): send the OCD_INIT command before
        OCD_AYT and OCD_GET_VERSION calls
        (ocd_write_bytes): no longer static
        (ocd_insert_breakpoint): no longer static
        (ocd_remove_breakpoint): new
        * ocd.h: add protos for ocd_write_bytes, ocd_insert_breakpoint,
        and ocd_remove_breakpoint
        * ppc-bdm.c: change bdm_ppc_ops so we call ocd_insert_breakpoint
        and ocd_remove_breakpoint instead of memory_insert_breakpoint
        and memory_remove_breakpoint.
        (bdm_ppc_open): after calling ocd_open, modify DER
        register so interrupts will drop us into debugging mode, finally
        disable the watchdog timer on the board so we don't leave BDM
        mode unexpectedly.

27 years ago * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
Ian Lance Taylor [Sun, 10 Aug 1997 18:53:06 +0000 (18:53 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
stage1, and stage2.
(DISTCLEANFILES): Define.
* doc/Makefile.am (DISTCLEANFILES): Define.
* Makefile.in, doc/Makefile.in: Rebuild.

27 years ago * coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V
Ian Lance Taylor [Sun, 10 Aug 1997 18:47:36 +0000 (18:47 +0000)]
* coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V
file system 14 character limit.
* Makefile.am, configure.in: Corresponding changes.
* Makefile.in, configure: Rebuild.

27 years ago * Makefile.in (taz): Get the version number from AM_INIT_AUTOMAKE in
Ian Lance Taylor [Sun, 10 Aug 1997 18:41:42 +0000 (18:41 +0000)]
* Makefile.in (taz): Get the version number from AM_INIT_AUTOMAKE in
configure.in if it is present.

27 years agokeep arc.h
Ian Lance Taylor [Sun, 10 Aug 1997 18:31:04 +0000 (18:31 +0000)]
keep arc.h

27 years ago * configure.in: Change version number to 2.8.2. Call
Ian Lance Taylor [Sat, 9 Aug 1997 20:30:19 +0000 (20:30 +0000)]
* configure.in: Change version number to 2.8.2.  Call
AM_PROG_LIBTOOL.  Remove shared library handling; now handled by
libtool.  Add AM_CONFIG_HEADER.  Change AC_PROG_INSTALL to
AM_PROG_INSTALL.  Add AM_EXEEXT.
* Makefile.am (LINK): Remove.
(gprof_LDFLAGS): Remove
(gprof_DEPENDENCIES): Change libbfd.a to libbfd.la.
(gprof_LDADD): Likewise.
($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h.
* gprof.h: Undefine PACKAGE and VERSION after including BFD
sysdep.h file, then include new gconfig.h file.
* gprof.c (VERSION): Don't define.
* acconfig.h: New file.
* stamp-h.in: New file.
* gconfig.in: New file, created by autoheader.
* Makefile.in, configure, aclocal.m4: Rebuild.

27 years ago * values.c (value_primitive_field): Account for offset when
Peter Schauer [Sat, 9 Aug 1997 08:51:41 +0000 (08:51 +0000)]
* values.c (value_primitive_field):  Account for offset when
extracting the value of a bitfield.
From Paul Hilfinger <hilfingr@CS.Berkeley.EDU>.

27 years agotipo
Ian Lance Taylor [Sat, 9 Aug 1997 04:58:27 +0000 (04:58 +0000)]
tipo

27 years ago * config/default.exp: Change ld, as, nm and strip from .new to
Ian Lance Taylor [Sat, 9 Aug 1997 04:57:20 +0000 (04:57 +0000)]
* config/default.exp: Change ld, as, nm and strip from .new to
-new.  Load ld-lib.exp rather than ld.exp.
* ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
* lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
DejaGnu changes.

27 years ago * Makefile.am: New file, based on old Makefile.in.
Ian Lance Taylor [Sat, 9 Aug 1997 04:54:28 +0000 (04:54 +0000)]
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
shared library handling; now handled by libtool.  Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT.  Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT.  Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.

27 years ago * sim-calls.c (sim_store_register): Allow accumulators
Mark Alexander [Sat, 9 Aug 1997 04:54:08 +0000 (04:54 +0000)]
* sim-calls.c (sim_store_register): Allow accumulators
other than A0 to be modified.  Correct error message.

27 years agostart-sanitize-tic80
Mark Alexander [Sat, 9 Aug 1997 04:49:48 +0000 (04:49 +0000)]
start-sanitize-tic80
* config/tic80/tic80.mt:
(GDBSERVER-DEPFILES, GDBSERVER_LIBS): Define for gdbserver.
(SIM): Remove -lm to prevent make errors.
* configure.tgt: add gdbserver to configdirs for tic80.
end-sanitize-tic80
* gdbserver/utils.c (error): Change prototype to match defs.h.
* gdbserver/low-sim.c: Change simulator calls to use new interface.
* remote.c (remote_write_bytes): Include '$' at start of packet
and checksum at end of packet in overhead calculation.

27 years agoremove wigglers.def
Ian Lance Taylor [Sat, 9 Aug 1997 00:22:10 +0000 (00:22 +0000)]
remove wigglers.def

27 years ago * ser-ocd.c: If _WIN32, include <windows.h>.
Ian Lance Taylor [Sat, 9 Aug 1997 00:21:50 +0000 (00:21 +0000)]
* ser-ocd.c: If _WIN32, include <windows.h>.
(dll_do_command): New static variable if _WIN32.
(ocd_open): Set dll_do_command if _WIN32.
(ocd_write): Use dll_do_command rather than do_command.
* config/i386/cygwin32.mh (XDEPFILES): Remove libwigglers.a.
(BDM_DLLNAME, BDM_LIBNAME, BDM_DEFFILE): Don't define.
($(BDM_LIBNAME)): Remove target.
* wigglers.def: Remove.

27 years ago * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be
Ian Lance Taylor [Sat, 9 Aug 1997 00:19:16 +0000 (00:19 +0000)]
* gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be
dynamically allocated, rather than fixed size.  Pass "gdbtcl" to
ide_initialize_paths to match installed directory name.  If IDE,
use auto_path to search for main.tcl.
* Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2
rather than gdbtcl.

27 years ago * arc.h: New file.
David Edelsohn [Sat, 9 Aug 1997 00:07:14 +0000 (00:07 +0000)]
* arc.h: New file.
* common.h (EM_CYGNUS_ARC): Define.
Plus remove arc sanitization.

27 years ago * arc.h: New file.
David Edelsohn [Fri, 8 Aug 1997 23:58:57 +0000 (23:58 +0000)]
* arc.h: New file.
Plus remove arc sanitization.

27 years ago * dis-asm.h (arc_get_disassembler): Declare.
David Edelsohn [Fri, 8 Aug 1997 23:47:56 +0000 (23:47 +0000)]
* dis-asm.h (arc_get_disassembler): Declare.
Plus remove arc sanitization.

27 years agoremove arc sanitization
David Edelsohn [Fri, 8 Aug 1997 23:32:05 +0000 (23:32 +0000)]
remove arc sanitization

27 years ago * config.sub: Recognize `arc' cpu.
David Edelsohn [Fri, 8 Aug 1997 23:31:29 +0000 (23:31 +0000)]
* config.sub: Recognize `arc' cpu.
* configure.in: Likewise.
* config-ml.in: Likewise.

27 years ago * config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target from
Ian Lance Taylor [Fri, 8 Aug 1997 20:32:44 +0000 (20:32 +0000)]
* config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target from
libwigglers.def.
(libwigglers.a): Remove target.

27 years ago * gdbtk.c (gdbtk_cleanup): New static function.
Ian Lance Taylor [Fri, 8 Aug 1997 20:07:14 +0000 (20:07 +0000)]
* gdbtk.c (gdbtk_cleanup): New static function.
(gdbtk_init): Add gdbtk_cleanup as a final cleanup.  Uncomment
call to ide_initialize_paths.  If we can't initialize the event
system, set GDBTK_IDE to 0 in the Tcl interpreter.  Create the
ide_window_register and the ide_window commands.  Initialize tk,
itcl, and tix after initializing the IDE.

27 years ago * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.
Ian Lance Taylor [Fri, 8 Aug 1997 19:20:42 +0000 (19:20 +0000)]
* configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.
* configure: Rebuild.

27 years agoAdd appropriate ocd/ppc-bdm deps
Michael Meissner [Fri, 8 Aug 1997 17:13:23 +0000 (17:13 +0000)]
Add appropriate ocd/ppc-bdm deps

27 years agoFri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 8 Aug 1997 07:13:16 +0000 (07:13 +0000)]
Fri Aug  8 00:13:32 1997  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (breakpoint_notify): Change buffer size from 100
to 256 to avoid memory corruption with very long pathnames.