X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2FChangeLog;h=7801d1717ea4d8bc222b79f37b477758dc956e99;hb=8d2755a953cfc95a09b19010aa47d9c998079acf;hp=2fe53e702ecc6fb9b60032e9c6d17f8ee3649939;hpb=d2e131a198a957499a8d318f8962f4fe75a2b325;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2fe53e702e..7801d1717e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,733 @@ +Fri Oct 3 15:49:18 1997 Per Bothner + + * c-lang.h, cp-valprint.c (static_field_print): Make non-static. + * parse.c, parser-defs.h (length_of_subexp): Make non-static. + * jv-exp.y (FieldAccess): Handle dollar-VARIABLE as primary. + (ArrayAccess): Likewise. Also remove warnings. + (CastExpression): Implement (typename) UnaryExpression. + (push_qualified_expression_name): Fix small bug. + * jv-lang.c: Use TYPE_TAG_NAME, not TYPE_NAME for class names. + (_initialize_jave_language): Fix typo (jave -> java). + (java_language): Java does *not* have C-style arrays. + (java_class_from_object): Make more general (and complicated). + (java_link_class_type): Fix typo "super" -> "class". Handle arrays. + (java_emit_char, java_printchar): New function. + (evaluate_subexp_java case BINOP_SUBSCRIPT): Handle Java arrays. + * jv-valprint.c (java_value_print): Implement printing of Java arrays. + (java_print_value_fields): New function. + (java_val_print): Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT. + +Fri Oct 3 09:52:26 1997 Mark Alexander + + * config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16 + addresses to be odd. + (MIPS_FPU_SINGLE_REGSIZE, MIPS_FPU_DOUBLE_REGSIZE): Define. + * mips-tdep.c (mips_extract_return_value): Doubles aren't + returned in FP0 if FP registers are single-precision only. +start-sanitize-r5900 + * config/mips/tm-r5900.h (MIPS_LAST_FP_ARG_REGNUM): Redefine + to disable use of FP registers for function arguments. +end-sanitize-r5900 + +Mon Sep 29 23:03:03 1997 Mark Alexander + + * mips-tdep.c (set_reg_offset): New function. + (mips16_heuristic_proc_desc): Calculate offsets of registers + saved by entry pseudo-op after rest of prologue has been read. + Use set_reg_offset to ignore all but the first save of a given + register. + (mips32_heuristic_proc_desc): Initialize frame adjustment value. + * remote-sim.c (gdbsim_store_register): Don't update registers + that have a null or empty name. + * findvar.c (read_register_bytes): Don't fetch registers + that have a null or empty name. + +Tue Sep 30 13:35:54 1997 Andrew Cagney + +start-sanitize-r5900 + * config/mips/tm-r5900.h (REGISTER_NAMES, NUM_REGS): Overridei + instead of define. + + * config/mips/tm-r5900.h (REGISTER_NAMES): Define. + (NUM_REGS): Ditto. + +end-sanitize-r5900 + * config/mips/tm-mips.h (NUM_REGS): Define conditionally. + (REGISTER_NAMES): Ditto. + +Fri Sep 26 17:32:22 1997 Jason Molenda (crash@pern.cygnus.com) + + * command.c (add_cmd, add_show_from_set): Insert new commands in + alphabetical order. + +Fri Sep 26 12:22:00 1997 Mark Alexander + + * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjust + member for storing offset of MIPS16 frame pointer from SP. + * mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout. + (PROC_FRAME_ADJUST): Define. + (mips16_heuristic_proc_desc): Store frame pointer adjustment value. + (get_frame_pointer): Use frame pointer adjustment value when + calculating frame address. + * remote-sim.c (gdbsim_fetch_register): Don't fetch registers + that have a null or empty name. +start-sanitize-tx19 + * config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define. + (REGISTER_NAMES): Redefine to eliminate FP registers. + * config/mips/tm-tx19l.h: Ditto. +end-sanitize-tx19 + +Fri Sep 26 12:40:51 1997 Jeffrey A Law (law@cygnus.com) + Michael Snyder (msnyder@cleaver.cygnus.com) + +start-sanitize-r5900 + * configure.tgt: Set gdb_target to r5900. + * config/mips/tm-r5900.h, config/mips/r5900.mt: New files +end-sanitize-r5900 + * mips-tdep.c (_initialize_mips_tdep): Allow target files to + override default FPU type. + +Fri Sep 26 10:33:54 1997 Felix Lee + + * configure.tgt (v850-*-*): necmsg.lib instead of v850.lib. + +Wed Sep 24 14:02:09 1997 Andrew Cagney + + * config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn with + RRRRR=0 for simulator breakpoint. Previous breakpoint insn was two + words. + +Thu Sep 18 15:07:46 1997 Andrew Cagney + + * ser-e7kpc.c (get_ds_base): Only use under Windows. + (windows.h): Include when any _WIN32 host. + +Wed Sep 24 18:12:47 1997 Stu Grossman + + * The following block of changes add support for debugging assembly + source files. + * breakpoint.c (resolve_sal_pc): Prevent crash when pc isn't + associated with a function. + * buildsym.c (record_line start_symtab end_symtab): Don't delete + symtabs which only have line numbers (but no other debug symbols). + * dbxread.c (read_dbx_symtab end_psymtab): Ditto. + + * remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use + intrinsic simulator breakpoints if available, otherwise do it the + hard way. +start-sanitize-d30v + * configure.tgt: Add d30v. + * d30v-tdep.c: New file. + * config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files. +end-sanitize-d30v + +Tue Sep 23 11:24:13 1997 Stan Shebs + + * Makefile.in (ALLCONFIG): Remove, inaccurate and never used. + +Tue Sep 23 00:08:18 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-tdep.c (mips_push_arguments): Tweak alignment of register + value if the remaining length of a non-integral argument is smaller + than the register size for big-endian non-EABI mode. + + * rs6000-tdep.c (branch_dest): Handle return from signal + handler function via sigreturn kernel call. + +Mon Sep 22 15:32:06 1997 Dawn Perchik + + * stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c: + Fix prototypes. Remove function scoped function declarations. + +Fri Sep 19 18:51:26 1997 Felix Lee + + * config/i386/windows.mh (XDEPFILES): need to list some files + explicitly, for odd reasons. + +Tue Sep 16 20:00:05 1997 Per Bothner + + * jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN. + (push_expression_name): New, to handle expression names. + (push_qualified_expression_name): New, for qualified expression names. + (parse_number): Fix bugs in parsing of non-decimal integers. + * jv-lang.h, jv-lang.c (java_demangle_type_signature): New. + * jv-lang.c (type_from_class): Just use name with java_lookup_class. + (java_link_class_type): Add dummy "class" field. + (java_lookup_type): New. + (evaluate_subexp_java case STRUCTOP_STRUCT): Force to address. + * jv-typeprint.c (java_type_print_base): Don't print "class" field. + Use java_demangle_type_signature to print array class types. + * jv-valprint.c (java_value_print): Preliminary array support. + Print pointer as TYPE@HEXADDR, instead of (TYPE)0xHEXADDR. + (java_val_print): Move check for object type to java_value_print. + Check for null. Print pointer as @HEXADDR, not 0xHEXADDR. + + * valops.c (search_struct_field): Search basesclasses in + ascending, not descending order. Hack to avoid virtual baseclass + botch for Java interfaces. + +Tue Sep 16 19:56:23 1997 Per Bothner + + * util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups): + New cleanup clean for cleanups to be run when at each 'run' command. + * infcmd.c (run_command): Call do_run_cleanups. + + * solib.c (find_solib): Register cleanup to call clear_solib + on a new 'run' command. + (symbol_add_stub): First look for existing objfile with same name. + +Tue Sep 16 16:00:01 1997 Stan Shebs + + * remote-sds.c (sds_load): New function. + (sds_ops): Use it. + (sds_open): Don't set inferior_pid yet. + (sds_kill): Remove contents. + (sds_create_inferior): Rewrite to work more like monitor + interfaces. + (sds_restart): Remove, no longer used. + + * monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags. + * monitor.c (monitor_wait_srec_ack): Add DINK32-specific ack code. + * dsrec.c (load_srec): Always write a header S-record. + * dink32-rom.c (dink32_regnames): Fix the names of float registers. + (dink32_cmds): Set to use S-record downloading with acks. + * remote-est.c (est_cmds): Add MO_SREC_ACK_PLUS flag. + +Tue Sep 16 10:08:27 1997 Andrew Cagney + + * config/v850/tm-v850.h (BREAKPOINT): Set to a truely illegal + instruction. + + * exec.c (exec_file_command): Call set_architecture_from_file. + +Mon Sep 15 13:01:22 1997 Mark Alexander + + * dbxread.c (MSYMBOL_SIZE): New macro. + (end_psymtab): Use MSYMBOL_SIZE to extract size from minimal symbol. + * elfread.c (elf_symtab_read): If ELF symbol is "special", + such as a MIPS16 function, mark minimal symbol as special too. + * mips-tdep.c (pc_is_mips16): New function to check whether + a function is MIPS16 by looking at the minimal symbol. Use + pc_is_mips16 throughout instead of IS_MIPS16_ADDR macro. + * config/mips/tm-mips.h (SYMBOL_IS_SPECIAL, MAKE_MSYMBOL_SPECIAL, + MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): New functions for setting/testing + "special" MIPS16 bit in ELF and minimal symbols. + * mdebugread.c (parse_partial_symbols): Don't construct a partial + symbol table for a file that already has one. +start-sanitize-tx19 + * configure.tgt: Support TX19. + * config/mips/tm-tx19.h, config/mips/tm-tx19l.h, config/mips/tx19.mt, + config/mips/tx19l.mt: New files for TX19. +end-sanitize-tx19 + +Sat Sep 13 08:32:13 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mdebugread.c (parse_symbol, handle_psymbol_enumerators): Handle + yet another variant of enumerator debugging info, used by DU 4.0 + native cc. + +Tue Sep 9 20:47:23 1997 Felix Lee + + * config/i386/windows.mh (XDEPFILES): reduce to libwingdb.a. + otherwise link command line is too long. + +Tue Sep 9 17:41:41 1997 Jeffrey A Law (law@cygnus.com) + + * symtab.c, dbxread.c, stabsread.c: Fix up ANSI-C isms. Fix + some formatting problems. + +Mon Sep 8 16:45:51 1997 Stu Grossman + + * ser-e7kpc.c: Don't include w32sut.h. We no longer use the UT + mechanism. Remove prototypes for dos_async_* functions. They don't + exist anymore. + +Sun Sep 7 17:26:30 1997 Dawn Perchik + + * dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support for + reading stabs extensions for live range information. + * stabsread.h, partial-stab.h: Add prototypes for new functions. + * symtab.h: Add structure for storing live range information. + +Wed Sep 3 16:39:39 1997 Andrew Cagney + + * top.c (set_arch): New function, update target_architecture. + + * defs.h, top.c (set_architecture_from_arch_mach): Replace + set_architecture, takes the arch and machine as arguments. + + * sh3-rom.c (sh3e_open): Update. + (sh3_open): Ditto. + +Tue Sep 2 12:00:46 1997 Andrew Cagney + + * remote-e7000.c (e7000_fetch_registers): Fix typo, stray paren. + (e7000_wait): Ditto. + +Mon Sep 1 11:21:03 1997 Andrew Cagney + + * top.c (init_main): Add ``set processor'' as an alias for ``set + architecture''. + +Sat Aug 30 13:44:48 1997 Bob Manson + + * config/sparc/sparclite.mt: Removed simulator references (erc32 + has been disabled). + +Thu Aug 28 10:20:04 1997 Andrew Cagney + + * remote-e7000.c (e7000_fetch_registers): Check + target_architecture instead of sh_processor_type. + (e7000_wait): Ditto. + + * config/sh/tm-sh.h (sh_set_processor_type): Delete prototype. + + * sh3-rom.c (sh3_open): Call set_architecture not + sh_set_processor_type. + (sh3e_open): Ditto. + + * sh-tdep.c (sh_show_processor_type_command): Delete. + (sh_set_processor_type_command): Delete. + (sh_target_architecture_hook): Rename from sh_set_processor_type, + use AP to determine architecture. + (sh_show_regs): Use bfd_mach_sh* types. + + * remote-sim.c (gdbsim_open): Pass --arch=XXX to simulator when + architecture was specified explicitly. + + * defs.h (target_architecture, target_architecture_auto, + set_architecture, set_architecture_from_file): Declare. + (target_architecture_hook): Allow targets to be notified of set + arch commands. + + * top.c (init_main): Add set/show/info architecture commands. + (set_architecture, show_architecture, info_architecture): New + functions, parse same. + (set_architecture_from_file): New function, determine arch from + BFD. + +Tue Aug 26 17:13:43 1997 Andrew Cagney + + * remote-sim.c (gdbsim_open): Only pass endianness to sim_open + when set explicitly. Prepend endianness arg so that it can be + overridden. + + * defs.h, top.c (target_byte_order_auto): Make global when + byteorder is selectable. + +Tue Aug 26 15:19:56 1997 Andrew Cagney + + * remote-sim.c (gdbsim_create_inferior): Pass exec_bfd into + sim_create_inferior. + (gdbsim_create_inferior): Pass -1 to proceed, sim_create_inferior + has already set the PC. + (gdbsim_create_inferior): Allow exec_file to be NULL, make "No + exec file" a warning. Ditto for "No program loaded". + +Mon Aug 25 17:08:01 1997 Geoffrey Noer + + * ocd.c: revert Sun change -- enable log file handling + +Mon Aug 25 12:21:46 1997 Andrew Cagney + + * remote-sim.c (gdbsim_open): Pass exec_bfd to sim_open call. + +Sun Aug 24 21:16:59 1997 Geoffrey Noer + + * ocd.c: comment out sections that create and flush wigglers.log + log file when using the wiggler. + +Thu Aug 21 16:18:08 1997 Geoffrey Noer + + * config/powerpc/ppc-eabi.mt: + * config/powerpc/ppc-sim.mt: + * config/powerpc/ppcle-eabi.mt: + * config/powerpc/ppcle-sim.mt: ser-ocd.c needs to be before + other ocd-related files in TDEPFILES + +Thu Aug 21 14:56:04 1997 Geoffrey Noer + + * ppc-bdm.c (bdm_ppc_wait): stop printfing ecr, der + * ocd.c: initialize remote_timeout + (ocd_wait): while looping, call ocd_do_command with OCD_AYT + (ocd_get_packet): remove find_packet goto. If there isn't + an 0x55 at the start, something is quite wrong so error out + instead of advancing in the packet and trying again. If checksum + is invalid, print error message instead of trying again. + * ser-ocd.c (ocd_readchar): error if we attempt to read past + the end of the from_wiggler_buffer. + +Tue Aug 19 08:41:36 1997 Fred Fish + + * 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. + +Mon Aug 18 17:29:54 1997 Ian Lance Taylor + + * 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. + +Mon Aug 18 11:14:15 1997 Nick Clifton + + * configure.tgt: Add support for v850e target. + +start-sanitize-v850e +Mon Aug 18 11:14:15 1997 Nick Clifton + + * configure.tgt: Add support for v850eq target. +end-sanitize-v850e + +Sun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com) + + * m32r-stub.c: fix typo + +Sun Aug 17 17:33:34 1997 Stan Shebs + + * 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. + +start-sanitize-gdbtk +Sun Aug 17 00:42:11 1997 Martin M. Hunt + + * gdbtk.c (gdb_listfuncs): New function that returns + a list of all the functions in a source file. + +end-sanitize-gdbtk +Fri Aug 15 13:59:37 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * 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. + +Wed Aug 13 19:31:28 1997 Stan Shebs + + * 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. + +Tue Aug 12 14:37:18 1997 Geoffrey Noer + + * ocd.c (ocd_wait): loop until we're in BDM mode instead of + assuming control has returned to GDB. + +start-sanitize-gdbtk +Tue Aug 12 16:35:21 1997 Ian Lance Taylor + + * Makefile.in (install-only): Install tclIndex if ENABLE_IDE. + +end-sanitize-gdbtk +Mon Aug 11 19:16:04 1997 Stan Shebs + + * 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. + +Mon Aug 11 16:22:36 1997 Geoffrey Noer + + * 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. + +Mon Aug 11 16:08:52 1997 Fred Fish + + * frame.h (enum lval_type): Conditionalize on __GNUC__ + instead of __STDC__. + +start-sanitize-gdbtk +Mon Aug 11 10:43:04 1997 Tom Tromey + + * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment. + +end-sanitize-gdbtk +Sun Aug 10 19:08:26 1997 Jeffrey A Law (law@cygnus.com) + + * utils.c (error): Fix return type for !ANSI_PROTOTYPES. + +Sun Aug 10 16:49:09 1997 Geoffrey Noer + + * 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. + +Sat Aug 9 01:50:14 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * values.c (value_primitive_field): Account for offset when + extracting the value of a bitfield. + From Paul Hilfinger . + +Fri Aug 8 21:35:44 1997 Mark Alexander + +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. + +Fri Aug 8 15:59:24 1997 Ian Lance Taylor + + * ser-ocd.c: If _WIN32, include . + (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. + +start-sanitize-gdbtk + * 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. + +end-sanitize-gdbtk + * config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target from + libwigglers.def. + (libwigglers.a): Remove target. + +start-sanitize-gdbtk + * 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. + + * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0. + * configure: Rebuild. + +end-sanitize-gdbtk +Fri Aug 8 13:11:01 1997 Mike Meissner + + * config/powerpc/ppc{,le}-{eabi,sim}.mt (TDEPFILES): Make sure + ppc-bdm.o and ocd.o are used for all powerpc-eabi targets. + +start-sanitize-gdbtk +Fri Aug 8 00:13:32 1997 Martin M. Hunt + + * gdbtk.c (breakpoint_notify): Change buffer size from 100 + to 256 to avoid memory corruption with very long pathnames. + +end-sanitize-gdbtk +Thu Aug 7 19:40:52 1997 Geoffrey Noer + + 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 ("target ocd ") 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. + +start-sanitize-gdbtk +Thu Aug 7 14:08:23 1997 Martin M. Hunt + + * configure.in: Change required Tix version to 4.1.8.0 . + * configure: Rebuilt. + +end-sanitize-gdbtk +Thu Aug 7 13:39:31 1997 Geoffrey Noer + + * ocd.h: add OCD_SET_CONNECTION + * ocd.c: rename "do_command" to "ocd_do_command" + +Thu Aug 7 13:09:17 1997 Geoffrey Noer + + 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. + +Wed Aug 6 16:15:31 1997 Geoffrey Noer + + * 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 : + * 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 + +start-sanitize-tic80 +Tue Aug 5 23:56:14 1997 Mark Alexander + + * tic80-tdep.c (tic80_init_extra_frame_info): Allow zero + as a valid SP-relative offset of a saved register. + +end-sanitize-tic80 +Wed Aug 6 00:24:08 1997 Jeffrey A Law (law@cygnus.com) + + * hpread.c (hpread_read_struct_type): Use accessor macros rather + than directly mucking around with data structures. + Tue Aug 5 13:37:14 1997 Per Bothner * gdbtypes.h: Re-interpret struct field. Suppport address of static. @@ -91,13 +821,11 @@ Fri Jul 25 16:48:18 1997 Jeffrey A Law (law@cygnus.com) * top.c (execute_command): Force cleanup of alloca areas. * findvar.c (registers_changed): Likewise. -start-sanitize-v850 Fri Jul 25 15:37:15 1997 Stu Grossman * v850ice.c: Include . Support new v850 DLL interface. * Add defs for target status. -end-sanitize-v850 start-sanitize-gdbtk Tue Jul 22 19:45:37 1997 Martin M. Hunt @@ -736,9 +1464,7 @@ Tue Apr 22 09:02:10 1997 Stu Grossman (grossman@critters.cygnus.com) config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: -start-sanitize-v850 config/v850/v850.mt: -end-sanitize-v850 Remove -lm. That's now handled by configure. * Makefile.in (maintainer-clean): Add distclean to dependencies. @@ -1825,10 +2551,8 @@ Fri Jan 3 12:08:16 1997 Stu Grossman (grossman@critters.cygnus.com) ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS and CONFIG_OBS. * configure configure.in: Clean up test cases around thread support. -start-sanitize-v850 * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if host is Windows. -end-sanitize-v850 * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c printcmd.c valops.c value.h values.c: Add bfd_section arg to value_at and value_at_lazy. @@ -1876,13 +2600,11 @@ end-sanitize-v850 section. * (unpack_double): Clean up _MSC_VER conditionals to remove duplicate code. -start-sanitize-v850 * v850ice.c: New module to support communication with NEC's PC-based ICE. * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and ep names with rxx names. sp and fp are renamed via a different mechanism. -end-sanitize-v850 Fri Jan 3 14:20:05 1997 Geoffrey Noer