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.
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
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.
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.
Michael Meissner [Sat, 16 Aug 1997 03:11:09 +0000 (03:11 +0000)]
Update powerpc/rs6000 to current multilibs
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.
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.
Ian Lance Taylor [Fri, 15 Aug 1997 18:26:52 +0000 (18:26 +0000)]
fix copyrights
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.
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>.
Ian Lance Taylor [Fri, 15 Aug 1997 15:50:13 +0000 (15:50 +0000)]
fix v850 sanitization
Ian Lance Taylor [Fri, 15 Aug 1997 15:44:07 +0000 (15:44 +0000)]
fix v850 sanitization
David Edelsohn [Fri, 15 Aug 1997 12:20:57 +0000 (12:20 +0000)]
Remove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 12:10:43 +0000 (12:10 +0000)]
* arc.h (enum reloc): Move here from elf32-arc.c.
David Edelsohn [Fri, 15 Aug 1997 12:08:52 +0000 (12:08 +0000)]
Remove ARC sanitization.
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.
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.
David Edelsohn [Fri, 15 Aug 1997 06:49:09 +0000 (06:49 +0000)]
Remove ARC sanitization.
David Edelsohn [Thu, 14 Aug 1997 20:36:00 +0000 (20:36 +0000)]
Add comment.
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.
David Edelsohn [Thu, 14 Aug 1997 19:55:37 +0000 (19:55 +0000)]
* callback.h (cb_printf, cb_eprintf): Declare.
Nick Clifton [Thu, 14 Aug 1997 19:55:03 +0000 (19:55 +0000)]
Fixed typo in previous delta and added more sanitization.
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.
Nick Clifton [Thu, 14 Aug 1997 19:48:36 +0000 (19:48 +0000)]
oops - fixed typo.
Nick Clifton [Thu, 14 Aug 1997 19:45:14 +0000 (19:45 +0000)]
Tidied up sanitization.
Ian Lance Taylor [Thu, 14 Aug 1997 19:43:00 +0000 (19:43 +0000)]
* configure: Get CFLAGS and CXXFLAGS from Makefile, if possible.
Nick Clifton [Thu, 14 Aug 1997 19:42:22 +0000 (19:42 +0000)]
Tidied up sanitization
Nick Clifton [Thu, 14 Aug 1997 19:34:58 +0000 (19:34 +0000)]
Tidied up the sanitization.
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.
Stan Shebs [Thu, 14 Aug 1997 02:46:46 +0000 (02:46 +0000)]
keep remote-sds.c
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.
Nick Clifton [Thu, 14 Aug 1997 02:13:32 +0000 (02:13 +0000)]
Added 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.
Nick Clifton [Thu, 14 Aug 1997 01:55:51 +0000 (01:55 +0000)]
Add support for 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.
Bob Manson [Wed, 13 Aug 1997 04:53:09 +0000 (04:53 +0000)]
Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:50:07 +0000 (04:50 +0000)]
Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:49:25 +0000 (04:49 +0000)]
* tests2.exp: Fix quoting.
* tests1.exp: Ditto.
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.
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.
Ian Lance Taylor [Tue, 12 Aug 1997 20:38:39 +0000 (20:38 +0000)]
* Makefile.in (install-only): Install tclIndex if ENABLE_IDE.
Richard Henderson [Tue, 12 Aug 1997 17:30:10 +0000 (17:30 +0000)]
* doc/internals.texi: Document rs_leb128.
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.
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.
Stan Shebs [Tue, 12 Aug 1997 02:35:11 +0000 (02:35 +0000)]
keep dink32 interface
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.
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
Fred Fish [Mon, 11 Aug 1997 23:14:47 +0000 (23:14 +0000)]
* frame.h (enum lval_type): Conditionalize on __GNUC__
instead of __STDC__.
Ian Lance Taylor [Mon, 11 Aug 1997 17:50:58 +0000 (17:50 +0000)]
* Makefile.in, configure.in: Handle jstools like vmake.
Tom Tromey [Mon, 11 Aug 1997 16:49:53 +0000 (16:49 +0000)]
* gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.
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.
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.
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.
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.
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.
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.
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.
Ian Lance Taylor [Sun, 10 Aug 1997 18:31:04 +0000 (18:31 +0000)]
keep arc.h
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.
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>.
Ian Lance Taylor [Sat, 9 Aug 1997 04:58:27 +0000 (04:58 +0000)]
tipo
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.
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.
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.
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.
Ian Lance Taylor [Sat, 9 Aug 1997 00:22:10 +0000 (00:22 +0000)]
remove wigglers.def
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.
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.
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.
David Edelsohn [Fri, 8 Aug 1997 23:58:57 +0000 (23:58 +0000)]
* arc.h: New file.
Plus remove arc sanitization.
David Edelsohn [Fri, 8 Aug 1997 23:47:56 +0000 (23:47 +0000)]
* dis-asm.h (arc_get_disassembler): Declare.
Plus remove arc sanitization.
David Edelsohn [Fri, 8 Aug 1997 23:32:05 +0000 (23:32 +0000)]
remove arc sanitization
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.
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.
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.
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.
Michael Meissner [Fri, 8 Aug 1997 17:13:23 +0000 (17:13 +0000)]
Add appropriate ocd/ppc-bdm deps
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.
Geoffrey Noer [Fri, 8 Aug 1997 03:24:53 +0000 (03:24 +0000)]
amend changelog entry slightly
Geoffrey Noer [Fri, 8 Aug 1997 02:57:35 +0000 (02:57 +0000)]
Thu Aug 7 19:40:52 1997 Geoffrey Noer <noer@cygnus.com>
Changes to OCD support to support wiggler box as well as
target boxes:
* ocd.c: change speed in init command to 0 from 80,
add (temporary) logging commands to help debugging,
(ocd_open): if "target ocd wiggler lpt" then use special
ser-ocd.c serial interface which communicates with Wigglers.dll,
otherwise do as we did before
(ocd_get_packet): add OCD_LOG_FILE and OCD_SET_CONNECTION to
switch of known commands of len 0
* ocd.h: add OCD_LOG_FILE
* serial.c (serial_open): do serial_interface_lookup on ocd
in the case of ocd
* ser-ocd.c: add buffer to contain responses from sending a
command to the Wigglers.dll.
(ocd_readchar): return curr char from buffer and increment ptr
(ocd_write): send buffer to Wigglers.dll, storing response in
return buffer and initializing curr location ptr to start of
buffer.
Martin Hunt [Thu, 7 Aug 1997 21:07:44 +0000 (21:07 +0000)]
Thu Aug 7 14:08:23 1997 Martin M. Hunt <hunt@cygnus.com>
* configure.in: Change required Tix version to 4.1.8.0 .
* configure: Rebuilt.
Geoffrey Noer [Thu, 7 Aug 1997 20:49:46 +0000 (20:49 +0000)]
Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.h: add OCD_SET_CONNECTION
* ocd.c: rename "do_command" to "ocd_do_command"
Geoffrey Noer [Thu, 7 Aug 1997 20:40:18 +0000 (20:40 +0000)]
Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.h: add OCD_SET_CONNECTION
Geoffrey Noer [Thu, 7 Aug 1997 20:19:26 +0000 (20:19 +0000)]
Thu Aug 7 13:09:17 1997 Geoffrey Noer <noer@cygnus.com>
Nomenclature change. BDM is a specific type of OCD
(On chip debugging). Wiggler is the parallel port box controlled
by Wigglers.dll. The faster target box from Macraigor Systems
is not a wiggler.
* ocd.c:
* ocd.h:
* ppc-bdm.c:
* ser-ocd.c:
Replace all instances of "wiggler_" with "ocd_" and change most other
instances of "wiggler" to "ocd" or "ocd device" depending on context.
* config/m68k/monitor.mt: remove remote-wiggler.o from TDEPFILES
until OCD with that target is supported again.
Ian Lance Taylor [Thu, 7 Aug 1997 15:03:14 +0000 (15:03 +0000)]
* Makefile.in ($(INSTALL_X11_MODULES)): Depend upon installdirs.
Geoffrey Noer [Thu, 7 Aug 1997 06:31:46 +0000 (06:31 +0000)]
Wed Aug 6 16:15:31 1997 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: add DLLTOOL = @DLLTOOL@, pass on DLLTOOL to
sub makes, change clean rule to also remove *.a to remove
libwigglers.a, in dependencies: add ppc-bdm.o ocd.o ser-ocd.o and
remove remote-wiggler.o
* configure.in: add DLLTOOL support
* configure: regenerate
* wigglers.def: new file for imports for wigglers.dll
* ser-ocd.c: new file which is layer between ocd.c and either the
wigglers.dll or the target box, only stub so far
* config/powerpc/ppc-eabi.mt: add ppc-bdm.o to TDEPFILES
* config/powerpc/ppc-sim.mt: add ppc-bdm.o to TDEPFILES
* config/i386/cygwin32.mh: add ocd.o ser-ocd.o libwigglers.a
to XDEPFILES, add rules to build libwigglers.a
checking in changes of Stu Grossman <grossman@cygnus.com>:
* remote-wiggler.c: delete
* ocd.c: new, was remote-wiggler.c
always include sys/types.h, include ocd.h, move WIGGLER
commands and many wiggler prototypes to ocd.h, make wiggler_desc
static, stop making local wiggler functions static,
define write_mem_command for wiggler_write_bytes
(wiggler_start_remote): stop hardcoding the target type,
instead set and use a target_type variable.
(wiggler_open): add new target_type and ops args
(wiggler_wait): now no longer takes pid and target_status as args,
stop trying to set target_status struct, remove BGND insn
checks
(read_bdm_registers): renamed to wiggler_read_bdm_registers
(wiggler_read_bdm_registers): numregs arg changed to reglen arg,
remove pktlen check, set reglen instead of numregs
(dump_all_bdm_regs): delete
(wiggler_fetch_registers): delete
(wiggler_prepare_to_store): now just an empty function
(wiggler_store_registers): delete
(wiggler_read_bdm_register): new
(wiggler_write_bdm_registers): new
(wiggler_write_bdm_register): new
(wiggler_write_bytes): use write_mem_command variable instead of
WIGGLER_WRITE_MEM
(get_packet): renamed to wiggler_get_packet, change refs throughout
(put_packet): renamed to wiggler_put_packet, change refs throughout
(wiggler_get_packet): add break to default case of switch,
change length of WIGGLER_GET_VERSION len to 10 from 4 to match
specs
(wiggler_mourn): unpush_target with current_ops, not &wiggler_ops
(flash_xfer_memory): delete
(noop_store_registers): new placeholder replacement for
target_store_registers() which prevents generic_load from trying to
set up the PC.
(bdm_update_flash_command): add store_registers_tmp variable,
make handling of wiggler_ops more generic -- define wiggler_ops
in a target-specific file instead (such as ppc-bdm.c in the case
of the ppc), use current_target to deal with registers again
making this file less target-specific.
(bdm_read_register_command): new
(_initialize_remote_wiggler): stop doing add_target (&wiggler_ops),
comment out add_cmd ("read-register", ...)
* ocd.h: new, contains common wiggler prototypes, command definitions
* ppc-bdm.c: file for ppc-specific OCD code, including target_ops
structure for ppc bdm
(bdm_ppc_open): new
(bdm_ppc_wait): new
(bdm_ppc_fetch_registers): new
(bdm_ppc_store_registers_: new
(_initialize_bdm_ppc): new
* config/powerpc/tm-ppc-eabi.h: add necessary CPU32 BDM defines
Mark Alexander [Thu, 7 Aug 1997 00:02:03 +0000 (00:02 +0000)]
tic80 sanitization.
Chris Provenzano [Wed, 6 Aug 1997 23:29:21 +0000 (23:29 +0000)]
* configure: Changed sed delimiter from ':' to '|' when
attempting to substitute ${config_shell} for SHELL. On
NT ${config_shell} may contain a ':' in it.
Ian Lance Taylor [Wed, 6 Aug 1997 22:57:44 +0000 (22:57 +0000)]
* Makefile.am (docdir): Define.
* Makefile.in: Rebuild.
Jason Merrill [Wed, 6 Aug 1997 19:30:12 +0000 (19:30 +0000)]
* Makefile.in (EXTRA_GCC_FLAGS): Fix for non-bash shells.
Ian Lance Taylor [Wed, 6 Aug 1997 19:06:49 +0000 (19:06 +0000)]
* configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
Don't set targ or gas_target. Define SCO_ELF and
TARGET_SOLARIS_COMMENT when appropriate. Don't substitute for
target_frag.
* Makefile.am: Remove @target_frag@.
(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
$(TDEFINES).
(dep-am): Mark as phony.
* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
and SCO_ELF.
* config/arm-big.mt, config/arm-lit.mt: Remove.
* config/mips-big.mt, config/mips-lit.mt: Remove.
* config/ppc-big.mt, config/ppc-lit.mt: Remove.
* config/ppc-sol.mt: Remove.
* config/i386coff.mt, config/m68kcoff.mt: Remove.
* config/m88kcoff.mt: Remove.
* config/sco5.mt: Remove.
* configure, config.in, Makefile.in: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 17:40:40 +0000 (17:40 +0000)]
* configure.in: Define TARGET in header file.
* acconfig.h (TARGET): Add #undef.
* Makefile.am (version.o, bucomm.o): Remove special targets.
* bucomm.c (target): Remove.
* nm.c (program_name): Don't declare.
(target): Make static.
* size.c (target): Make static.
* configure, config.in, Makefile.in: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 16:01:27 +0000 (16:01 +0000)]
* Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
further try to circumvent the .y.h rule.
* Makefile.in: Rebuild.
Ian Lance Taylor [Wed, 6 Aug 1997 15:24:36 +0000 (15:24 +0000)]
Sanitize Makefile.am
Mark Alexander [Wed, 6 Aug 1997 06:59:03 +0000 (06:59 +0000)]
* tic80-tdep.c (tic80_init_extra_frame_info): Allow zero
as a valid SP-relative offset of a saved register.
Jeff Law [Wed, 6 Aug 1997 06:24:31 +0000 (06:24 +0000)]
* hpread.c (hpread_read_struct_type): Use accessor macros rather
than directly mucking around with data structures.
Ian Lance Taylor [Wed, 6 Aug 1997 04:43:18 +0000 (04:43 +0000)]
* Makefile.in (AS_FOR_TARGET): Change as.new to as-new.
Ian Lance Taylor [Wed, 6 Aug 1997 04:33:45 +0000 (04:33 +0000)]
* config/default.exp: Set AS and GASP to as-new, not as.new.
Ian Lance Taylor [Wed, 6 Aug 1997 04:32:12 +0000 (04:32 +0000)]
* doc/Makefile.am: New file, based on old doc/Makefile.in.
* doc/Makefile.in: Now built with automake.
Ian Lance Taylor [Wed, 6 Aug 1997 04:30:05 +0000 (04:30 +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.
* config.in: New file, created by autoheader.
* conf.in: Remove.
* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
* stamp-h.in: New file.
* as.c (print_version_id): Change GAS_VERSION to VERSION.
(parse_args): Likewise.
* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure: Rebuild.