aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-08-11 * aoutx.h (NAME(aout,final_link)): Don't emit the string table ifIan Lance Taylor2-7/+37
there are no symbols.
1997-08-11Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-3/+3
* 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.
1997-08-11 * utils.c (error): Fix return type for !ANSI_PROTOTYPES.Jeff Law1-0/+4
Avoids "void void error" which craps out the HP native compiler.
1997-08-11Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-23/+95
* 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.
1997-08-10 * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,Ian Lance Taylor1-0/+8
stage1, and stage2. (DISTCLEANFILES): Define. * doc/Makefile.am (DISTCLEANFILES): Define. * Makefile.in, doc/Makefile.in: Rebuild.
1997-08-10 * coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System VIan Lance Taylor3-1/+14
file system 14 character limit. * Makefile.am, configure.in: Corresponding changes. * Makefile.in, configure: Rebuild.
1997-08-10 * Makefile.in (taz): Get the version number from AM_INIT_AUTOMAKE inIan Lance Taylor2-4/+17
configure.in if it is present.
1997-08-10keep arc.hIan Lance Taylor2-1/+2
1997-08-09 * configure.in: Change version number to 2.8.2. CallIan Lance Taylor12-339/+867
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.
1997-08-09 * values.c (value_primitive_field): Account for offset whenPeter Schauer2-7/+16
extracting the value of a bitfield. From Paul Hilfinger <hilfingr@CS.Berkeley.EDU>.
1997-08-09tipoIan Lance Taylor1-1/+1
1997-08-09 * config/default.exp: Change ld, as, nm and strip from .new toIan Lance Taylor2-317/+1
-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.
1997-08-09 * Makefile.am: New file, based on old Makefile.in.Ian Lance Taylor8-475/+1354
* 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.
1997-08-09 * sim-calls.c (sim_store_register): Allow accumulatorsMark Alexander2-2/+7
other than A0 to be modified. Correct error message.
1997-08-09start-sanitize-tic80Mark Alexander4-24/+60
* 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.
1997-08-09remove wigglers.defIan Lance Taylor1-1/+0
1997-08-09 * ser-ocd.c: If _WIN32, include <windows.h>.Ian Lance Taylor4-20/+48
(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.
1997-08-09 * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to beIan Lance Taylor1-6/+43
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.
1997-08-09 * arc.h: New file.David Edelsohn1-36/+0
* common.h (EM_CYGNUS_ARC): Define. Plus remove arc sanitization.
1997-08-08 * arc.h: New file.David Edelsohn1-37/+0
Plus remove arc sanitization.
1997-08-08 * dis-asm.h (arc_get_disassembler): Declare.David Edelsohn1-28/+0
Plus remove arc sanitization.
1997-08-08remove arc sanitizationDavid Edelsohn1-33/+0
1997-08-08 * config.sub: Recognize `arc' cpu.David Edelsohn2-2/+6
* configure.in: Likewise. * config-ml.in: Likewise.
1997-08-08 * config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target fromIan Lance Taylor2-4/+6
libwigglers.def. (libwigglers.a): Remove target.
1997-08-08 * gdbtk.c (gdbtk_cleanup): New static function.Ian Lance Taylor2-13/+47
(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.
1997-08-08 * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.Ian Lance Taylor3-11/+18
* configure: Rebuild.
1997-08-08Add appropriate ocd/ppc-bdm depsMichael Meissner3-2/+7
1997-08-08Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-2/+11
* gdbtk.c (breakpoint_notify): Change buffer size from 100 to 256 to avoid memory corruption with very long pathnames.
1997-08-08amend changelog entry slightlyGeoffrey Noer1-2/+2
1997-08-08Thu Aug 7 19:40:52 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer6-14/+78
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.
1997-08-07Thu Aug 7 14:08:23 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt3-4/+9
* configure.in: Change required Tix version to 4.1.8.0 . * configure: Rebuilt.
1997-08-07Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-15/+16
* ocd.h: add OCD_SET_CONNECTION * ocd.c: rename "do_command" to "ocd_do_command"
1997-08-07Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-0/+20
* ocd.h: add OCD_SET_CONNECTION
1997-08-07Thu Aug 7 13:09:17 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-305/+305
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.
1997-08-07 * Makefile.in ($(INSTALL_X11_MODULES)): Depend upon installdirs.Ian Lance Taylor2-1/+5
1997-08-07Wed Aug 6 16:15:31 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer12-550/+911
* 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
1997-08-07tic80 sanitization.Mark Alexander1-0/+2
1997-08-06 * configure: Changed sed delimiter from ':' to '|' whenChris Provenzano1-0/+6
attempting to substitute ${config_shell} for SHELL. On NT ${config_shell} may contain a ':' in it.
1997-08-06 * Makefile.am (docdir): Define.Ian Lance Taylor3-4/+19
* Makefile.in: Rebuild.
1997-08-06 * Makefile.in (EXTRA_GCC_FLAGS): Fix for non-bash shells.Jason Merrill2-9/+13
1997-08-06 * configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.Ian Lance Taylor16-34/+37
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.
1997-08-06 * configure.in: Define TARGET in header file.Ian Lance Taylor2-0/+14
* 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.
1997-08-06 * Makefile.am ($(srcdir)/config/m68k-parse.h): New target, toIan Lance Taylor3-2/+8
further try to circumvent the .y.h rule. * Makefile.in: Rebuild.
1997-08-06Sanitize Makefile.amIan Lance Taylor1-2/+2
1997-08-06 * tic80-tdep.c (tic80_init_extra_frame_info): Allow zeroMark Alexander2-6/+20
as a valid SP-relative offset of a saved register.
1997-08-06 * hpread.c (hpread_read_struct_type): Use accessor macros ratherJeff Law2-4/+10
than directly mucking around with data structures.
1997-08-06 * Makefile.in (AS_FOR_TARGET): Change as.new to as-new.Ian Lance Taylor2-2/+6
1997-08-06 * config/default.exp: Set AS and GASP to as-new, not as.new.Ian Lance Taylor1-0/+4
1997-08-06 * doc/Makefile.am: New file, based on old doc/Makefile.in.Ian Lance Taylor2-1/+5
* doc/Makefile.in: Now built with automake.
1997-08-06 * Makefile.am: New file, based on old Makefile.in.Ian Lance Taylor10-1068/+3347
* 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.