X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=a8550065adc60d78073ba498a140d0d26d9c3f1a;hb=f0373401b56ac44b27fc13ecd39e5e7fa80b6c28;hp=45e69b0eaa91cefd7ff2032aaba6170c4c95a09d;hpb=802db21b617808df4dd4a47aec3ccbe828f694f5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 45e69b0eaa..a8550065ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,843 @@ +2000-08-11 Mark Kettenis + + * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs, + store_fpxregs): Return 0. + +2000-08-11 Andrew Cagney + + * regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost + as part of 2000-08-10 Andrew Cagney . + +2000-08-11 J.T. Conklin + + * dcache.c (dcache_info): Don't print cache state if last_cache + is NULL. + +2000-08-10 Andrew Cagney + + * config/mn10300/tm-mn10300.h, mn10300-tdep.c + (mn10300_push_arguments): Fix function signature to match gdbarch + vector. + * config/mn10300/tm-mn10300.h (REGISTER_NAME): Delete. + * mn10300-tdep.c (struct gdbarch_tdep): Define. + (mn10300_generic_register_names, am33_register_names): Convert to + functions. + (set_machine_hook): Delete. + (register_name): New function. + (mn10300_register_name): Delete. + (mn10300_dump_tdep, mn10300_gdbarch_init): New functions. + (_initialize_mn10300_tdep): Call register_gdbarch_init instead of + specify_exec_file_hook. + (AM33_MODE): Define. + (set_movm_offsets): Update. + +2000-08-10 Mark Kettenis + + Adapt support for SSE registers in Linux/x86 for Linux 2.4. + * i386-linux-nat.c: Various doc fixes. Include "i387-nat.h". + (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES. + (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs. + (convert_to_gregset): Removed. Moved logic to ... + (fill_gregset): ... here. Simplified function. + (fetch_regs): Use perror_with_name for error reporting. + (store_regs): Add `regno' parameter. Use perror_with_name for + error reporting. Call fill_gregset instead of convert_to_gregset. + (FPREG_ADDR): Remove. + (supply_fpregset): Implement by calling i387_supply_fsave. + (convert_to_fpregset): Remove. + (fill_fpregset): Implement by calling i387_fill_fsave. + (fetch_fpregs): Use perror_with_name fro error reporting. + (store_fpregs) Add `regno' parameter. Use perror_with_name fro + error reporting. Call fill_fpregset instead of + convert_to_fpregset. + (supply_xfpregset, convert_to_xfpregset): Removed. + (supply_fpxregset, fill_fpxregset): New functions. + (fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name + for error reporting. Call supply_fpxregset instead of + supply_xfpregset. + (store_xfpregs): Removed. + (store_fpxregs): New function. + (fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak + message in call to internal_error. + (store_inferior_registers): Adjust for xfp ->fpx change. Pass + REGNO to store_regs, store_fpregs and store_fpxregs. + (fetch_core_registers): Adjust for xfp -> fpx change. + * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from + HAVE_PTRACE_GETXFPREGS. + * config.in: Regenerated. + * configure.in: Replace check for PTRACE_GETXFPREGS with check for + PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions. + * configure: Regenerated. + * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o. + * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on + HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS. + +2000-08-10 Andrew Cagney + + * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP, + TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move + initialization from here. + * gdbarch.sh: To here. + * gdbarch.h, gdbarch.c: Regenerate. + +Thu Aug 10 18:58:04 2000 Andrew Cagney + + * defs.h (TARGET_BFD_VMA_BIT, TARGET_SHORT_BIT, TARGET_INT_BIT, + TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT, + TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT): Move + non- multi-arch handling from here. + * gdbarch.sh: To here. Update printf gdbarch_update_p. Make more + portable. + * gdbarch.h, gdbarch.c: Regenerate. + +2000-08-10 Andrew Cagney + + * partial-stab.h (DBX_READ): Eliminate redundant check for null + ``pst''. Also fixes GCC warning. + +2000-08-10 Andrew Cagney + + * rs6000-nat.c (set_host_arch): Check value returned by + gdbarch_update_p. + * gdbarch.sh (gdbarch_update_p): Rename gdbarch_update. + * gdbarch.h, gdbarch.c: Regenerate + * arch-utils.c (set_gdbarch_from_file, + initialize_current_architecture, set_endian): Update. + +2000-08-10 Jimmy Guo + + * c-lang.c: Set case sensitivity on for c_language_defn, + cplus_language_defn, and asm_language_defn. + * ch-lang.c: Set case sensitivity on for chill_language_defn. + * f-lang.c: Set case sensivitity off for f_language_defn. + * jv-lang.c: Set case sensitivity on for java_language_defn. + * language.h: Add enum case_mode, case_sensitivity. + * language.c: Define case_mode, case_sensitivity. Set case + sensitivity on for unknown_language_defn, auto_language_defn, + and local_language_defn. + (show_case_command,set_case_command,set_case_str): New static func. + (set_type_range_case): New static func, replaces set_type_range (). + (set_language_command,set_type_command,set_range_command,set_language): + Call set_type_range_case (). + (language_info): Print case sensitivity setting. + (_initialize_language): Add set/show commands for 'case-sensitive'. + Set default case mode 'auto'. Set default language 'auto'. + * m2-lang.c: Set case sensitivity on for m2_language_defn. + * p-lang.c: Set case sensitivity on for pascal_language_defn. + * scm-lang.c: Set case sensitivity off for scm_language_defn. + * symtab.c (lookup_symbol): Downcase symbol name if case sensivitity + is off. + +2000-08-10 Jimmy Guo + + * MAINTAINERS: Change my contact email for hp tests maintainership. + +Thu Aug 10 15:28:17 2000 Andrew Cagney + + * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of + arguments to fetch_instruction. + +2000-08-10 Kazu Hirata + + * hppa_tdep.c: Fix a comment typo. + * gdba.el: Likewise. + +2000-08-10 Tom Tromey + + * MAINTAINERS: Added myself with write-after-approval access. + +2000-08-10 J.T. Conklin + + * monitor.c (monitor_open): If a dcache has already been created, + invalidate it rather than creating another. + * ocd.c (ocd_open): Likewise. + * remote-nindy.c (nindy_open): Likewise. + * remote-sds.c (sds_open): Likewise. + * remote-utils.c (gr_open): Likewise. + * remote.c (remote_open_1, remote_cisco_open): Likewise. + + * dcache.c (dcache_alloc): Changed to take address of line as an + argument, and to invalidate cache line before returning. + (dcache_peek_byte): Updated. + (dcache_poke_byte): Updated. + +2000-08-10 Elena Zannoni + + From Greg McGary : + * partial-stab.h: Don't crash if pst is null. + +2000-08-10 Mark Kettenis + + * i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern. + (i387_supply_fxsave, i387_fill_fxsave): New prototypes. + * i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'. + (fxsave_offset): New variable. + (FXSAVE_ADDR): New macro. + (i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions. + +2000-08-08 Tom Tromey + + * jv-valprint.c (java_value_print): Only print non-null Strings. + +2000-08-09 Kevin Buettner + + * core-sol2.c (fetch_core_registers): Protoize; add prefatory + comment. + * corefile.c (specify_exec_file_hook, generic_search): Protoize. + +2000-08-09 Michael Snyder + + * blockframe.c (sigtramp_saved_pc): Use dynamic allocation, + since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH). + * irix4-nat.c (get_longjmp_target): Ditto. + * irix5-nat.c (get_longjmp_target): Ditto. + * jv-valprint.c (java_value_print): Ditto. + * m3-nat.c (get_cprocs): Ditto. + * m68k-tdep.c (get_longjmp_target): Ditto. + * mips-nat.c (get_longjmp_target): Ditto. + * mipsv4-nat.c(get_longjmp_target): Ditto. + * pa64solib.c (read_dynamic_info): Ditto. + * solib.c (elf_locate_base): Ditto. + +Mon Aug 7 23:21:22 2000 David Taylor + + * TODO: remove build_parse entry. + +2000-08-07 Kevin Buettner + + * command.c (add_cmd, add_abbrev_cmd, add_prefix_cmd, + add_abbrev_prefix_cmd): Protoize. + +2000-08-07 Elena Zannoni + + * objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss + here, let the users of the macro do it. + * symtab.h (ANOFFSET): Detect here if the section index is not + initialized. + * xcoffread.c (find_targ_sec): Don't treat .bss as special, + because some objfiles may not have that section at all. + * coffread.c (cs_to_section): Ditto. + * elfread.c (elf_symtab_read): Detect an uninitialized index + value. + (elfstab_offset_sections): The macro ANOFFSET cannot be used as an + lvalue anymore. + * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use + ANOFFSET as an lvalue. + * objfiles.c (objfile_relocate, objfile_relocate): Don't use + ANOFFSET as an lvalue. + * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an + lvalue. + +Mon Aug 7 10:24:30 2000 David Taylor + + * parse.c (build_parse): don't write off the end of the std_regs + array. + +2000-05-21 Mark Kettenis + + * solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol + table if the symbol couldn't be found in the normal symbol table + (i.e. if the shared object in question was stripped). + +2000-08-06 Kevin Buettner + + * ch-exp.c (parse_opt_name_string): Protoize. [Thanks to Eli + Zaretskii for the prefatory comment.] + * core-regset.c (fetch_core_registers): Protoize; revise + comment. + +2000-08-06 Christopher Faylor + + * win32-nat.c: Perform various gcc warning cleanups. + (safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not + stderr. + (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add. + (get_child_debug_event): Always reset last_sig. Always reset inferior + pid appropriately. + (do_initial_child_stuff): New function. Called when attaching or + starting a new inferior process. + (child_attach): Use do_initial_child_stuff. + (child_create_inferior): Ditto. + * config/i386/cygwin.mh (NAT_FILE): Set to modern location. + * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT. + +2000-08-05 Eli Zaretskii + + * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize + it to GDB's current directory. + (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to + an empty string, to signal an uninitialized value. + From Robert Hoehne . + +2000-08-04 Kevin Buettner + + * symtab.h (fixup_psymbol_section): Declare. + * symtab.c (fixup_psymbol_section): Make extern. + (fixup_section): Fix up section as well as bfd_section. + * objfiles.c (objfile_relocate): Call fixup_symbol_section + or fixup_psymbol_section before attempting to access + the SYMBOL_SECTION component of a symbol or partial symbol. + +2000-08-04 Kevin Buettner + + * minsyms.c (build_minimal_symbol_hash_tables): New function. + (compact_minimal_symbols): Don't construct hash tables here. + (install_minimal_symbols): Instead, construct them here. + (msymbols_sort): And rebuild them here too. + + * dwarf2read.c (struct comp_unit_head): Add fields offset_size + and initial_length_size. Change type of ``length'' field to long. + (read_initial_length, read_offset): New functions. + (dwarf2_build_psymtabs_easy): Call read_initial_length() instead + of just reading 4 bytes. + (read_comp_unit_head): Likewise; also, call read_offset() to + fetch the offset instead of just reading 4 bytes. + (dwarf_decode_lines): Likewise. + (read_comp_unit_head): Fix internal error message so it + accurately reflects the function in which the error occurred. + (dwarf2_build_psymtabs_hard): Properly account for size of the + initial length field in the section. + (read_attribute, dwarf2_get_ref_die_offset): Add a case for + DW_ORM_ref8. + (dwarf2_build_psymtabs_hard, psymtabs_to_symtab_1): Don't + assume that the .text section will have index 0 in the + section_offsets table. + +Fri Aug 4 18:00:41 2000 Andrew Cagney + + * remote.c (enum Z_packet_type): Define. + (remote_protocol_Z): Change to an array of size NR_Z_PACKET_TYPES. + (remote_insert_watchpoint): Check watchpoint type. + (watchpoint_to_Z_packet): New function. + (enum packet_result): Define. + (packet_ok): New function. Return enum packet_result. + (init_all_packet_configs): New function. + (remote_open_1, remote_async_open_1, remote_cisco_open): Use + init_all_packet_configs instead of initializing remote_protocol_P, + remote_protocol_Z, remote_protocol_binary_download separatly. + (remote_remove_hw_breakpoint, remote_insert_hw_breakpoint, + remote_remove_watchpoint, remote_insert_watchpoint): Use + watchpoint_to_Z_packet and packet_ok. Remove #ifdef + TARGET_HAS_HARDWARE_WATCHPOINTS. + (set_remote_protocol_Z_software_bp_packet_cmd, + show_remote_protocol_Z_software_bp_packet_cmd, + set_remote_protocol_Z_hardware_bp_packet_cmd, + show_remote_protocol_Z_hardware_bp_packet_cmd, + set_remote_protocol_Z_write_wp_packet_cmd, + show_remote_protocol_Z_write_wp_packet_cmd, + set_remote_protocol_Z_read_wp_packet_cmd, + show_remote_protocol_Z_read_wp_packet_cmd, + set_remote_protocol_Z_access_wp_packet_cmd, + show_remote_protocol_Z_access_wp_packet_cmd): New functions. + (remote_Z_packet_packet_detect): New variable. + (show_remote_protocol_Z_packet_cmd, + set_remote_protocol_Z_packet_cmd): Iterate over all ``Z'' packet + variants. + (add_packet_config_cmd): Add argument legacy. Change syntax to + ``set/show remote FULL_NAME-packet ...'' command. Add ``set/show + remote XXX-packet ...'' command using add_alias_cmd when legacy. + (set_packet_config_cmd): Delete. + (show_remote_cmd): New function. + + * TODO: Update. + +Fri Aug 4 14:05:57 2000 Andrew Cagney + + * Makefile.in (infodir, SER_HARDWIRE): Fix merge problems from + 2000-07-07 Michael Snyder . + +Wed Aug 2 21:15:26 2000 Andrew Cagney + + * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Add. + * gdbarch.h, gdbarch.c: Regenerate. + * valops.c (hand_function_call): Replace #ifndef + NO_EXTRA_ALIGNMENT_NEEDED with if EXTRA_STACK_ALIGNMENT_NEEDED. + + * d10v-tdep.c (d10v_gdbarch_init): Set + extra_stack_alignment_needed to 0. + * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Delete. + * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Replace + NO_EXTRA_ALIGNMENT_NEEDED. + +2000-08-03 Stephane Carrez + + * MAINTAINERS (m68hc11): Stephane Carrez is maintainer. + +2000-08-03 Kevin Buettner + + * breakpoint.c (bpstat_alloc, map_catch_names, + map_breakpoint_numbers): Protoize. + +Thu Aug 3 15:02:23 2000 Andrew Cagney + + * remote-mips.c (mips_expect, mips_expect_timeout, common_open, + fputs_readable): Make string pointer arguments constant. + +Thu Aug 3 18:39:10 2000 Andrew Cagney + + * MAINTAINERS, TODO: Tweeks. + +Thu Aug 3 15:46:43 2000 Andrew Cagney + + * TODO (5.1): Update. + +2000-08-02 Kevin Buettner + + * alpha-tdep.c (alpha_extract_return_value): Protoize. + +2000-08-02 Jimmy Guo + + * gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET + to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P. + + * gdbarch.c: Regenerated. + +2000-08-02 Elena Zannoni + + * remote-vx.c (vx_add_symbols): Fix typos. + +Wed Aug 2 19:15:34 2000 Andrew Cagney + + * arch-utils.h, gdbarch.c (default_register_sim_regno): New + function. + * gdbarch.sh (REGISTER_SIM_REGNO): Add. + * gdbarch.h, gdbarch.c: Regenerate. + * remote-sim.c (REGISTER_SIM_REGNO): Delete definition. + + * config/d10v/tm-d10v.h (REGISTER_SIM_REGNO): Delete. + * d10v-tdep.c (d10v_gdbarch_init): Update. + (struct gdbarch_tdep): Delete member register_sim_regno. + (d10v_register_sim_regno): Delete function. + +Wed Aug 2 14:46:18 2000 Andrew Cagney + + * remote.c (enum packet_detect, packet_support_enums, + packet_support_auto, packet_enable, packet_disable): Delete. + (show_packet_config_cmd, set_packet_config_cmd, + init_packet_config): Use add_set_auto_boolean_cmd. + * TODO: Update. + +Wed Aug 2 13:06:25 2000 Andrew Cagney + + * remote-udi.c (udi_xfer_inferior_memory, udi_files_info, + udi_kill): Update function signatures so that match target vector. + * MAINTAINERS: Update. + +Wed Aug 2 11:04:15 2000 Andrew Cagney + + * TODO: Updates. + +2000-08-01 Elena Zannoni + + * gdbarch.sh: Multiarch DO_REGISTERS_INFO macro. + * gdbarch.h, gdbarch.c: Regenerate. + * infcmd.c (do_registers_info): Make not static and + unconditionalize. + * inferior.h (do_registers_info): Export. + +2000-08-01 Kazu Hirata + + * MAINTAINERS: Add myself to "Write After Approval" list. + +Tue Aug 1 21:02:42 2000 Andrew Cagney + + * MAINTAINERS: Update list of target maintainers. List all + targets explicitly. + (sh): Elena Zannoni is maintainer. + (powerpc): Nick Duffek is a maintainer. + +Tue Aug 1 17:45:12 2000 Andrew Cagney + + * gdbarch.sh: Parse and save comments in the function_list. Print + them out as part of the header. Convert all function definitions + to ISO-C form. + * gdbarch.h, gdbarch.c: Regenerate. + +Tue Aug 1 14:50:55 2000 Andrew Cagney + + * top.c (get_prompt_1), tracepoint.c (replace_comma): Update + function signatures so that they match catch_errors and + make_cleanup callbacks. + + * tracepoint.c (encode_actions): Fix arguments passed to + stringify_collection_list. + +2000-07-31 Kevin Buettner + + * ppc-tdep.h: New file. + * Makefile.in (ppc-linux-tdep.o, rs6000-tdep.o): Add ppc-tdep.h + as a dependency. + * ppc-linux-tdep.c, rs6000-tdep.c (ppc-tdep.h): Include. + + * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Made static. + + * rs6000-tdep.c (elf-bfd.h): Include. + (gdbarch_tdep): Add field osabi to this struct. + (rs6000_init_extra_frame_info, rs6000_frame_init_saved_regs, + rs6000_frameless_function_invocation, rs6000_frame_saved_pc, + rs6000_frame_chain): No longer static. + (process_note_abi_tag_sections, get_elfosabi): New static + functions. + (rs6000_gdbarch_init): Revised to accomodate ELF executables; + also use Linux specific methods when the target is Linux. + + * config/powerpc/aix.mt, config/powerpc/cygwin.mt, + config/powerpc/macos.mt, config/powerpc/nbsd.mt, + config/powerpc/ppc-eabi.mt, config/powerpc/ppc-nw.mt, + config/powerpc/ppc-sim.mt, config/powerpc/ppcle-eabi.mt, + config/powerpc/ppcle-sim.mt, config/powerpc/solaris.mt, + config/powerpc/vxworks.mt, config/rs6000/aix4.mt, + config/rs6000/rs6000.mt, config/rs6000/rs6000lynx.mt + (TDEPFILES): Add ppc-linux-tdep.o. + + * config/tm-linux.h (SIGCONTEXT_PC_OFFSET, FRAME_SAVED_PC, + INIT_EXTRA_FRAME_INFO, FRAMELESS_FUNCTION_INVOCATION, + FRAME_INIT_SAVED_REGS, FRAME_CHAIN, PUSH_ARGUMENTS, + MEMORY_REMOVE_BREAKPOINT: Removed defines. + (ppc_linux_frame_saved_pc, ppc_linux_init_extra_frame_info, + ppc_linux_frameless_function_invocation, + ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain, + ppc_sysv_abi_push_arguments, ppc_linux_memory_remove_breakpoint): + Removed declarations. + (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Disabled. + + * dink32-rom.c (dink32_regnames): Make array size implicit. + + * ppc-bdm.h (ppc-tdep.h): Include. + + * rs6000-tdep.c, ppc-linux-tdep.c, ppc-bdm.h, ppc-tdep.h + (GP0_REGNUM, TOC_REGNUM, PS_REGNUM, CR_REGNUM, LR_REGNUM, + CTR_REGNUM, XER_REGNUM, MQ_REGNUM): Add PPC_ prefix. + + From Nick Duffek: + * ppc-tdep.h (ppc_linux_frame_saved_pc, rs6000_frame_saved_pc): + Change return type to CORE_ADDR. + * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Likewise. + +2000-07-31 Elena Zannoni + + * sh-tdep.c (sh_push_arguments): Make header match prototype. + + * remote-e7000.c (e7000_start_remote): Use void *, not char * as + parameter to avoid compiler warning. + (fetch_regs_from_dump): Call get_hex() with the correct number of + parameters. + +2000-07-31 Eli Zaretskii + + * config/djgpp/fnchange.lst: Add file mappings as per last weekly + snapshot. + +2000-07-29 Kevin Buettner + + * a29k-tdep.c, a68v-nat.c, abug-rom.c, alpha-nat.c, + alpha-tdep.c, annotate.c, arc-tdep.c, arch-utils.c, ax-gdb.c, + ax-general.c, blockframe.c, breakpoint.c, buildsym.c, + c-lang.c, c-typeprint.c, c-valprint.c, ch-exp.c, ch-lang.c, + ch-typeprint.c, ch-valprint.c, cli-out.c, coff-solib.c, + coffread.c, command.c, complaints.c, copying.c, core-aout.c, + core-regset.c, core-sol2.c, corefile.c, corelow.c, + cp-valprint.c, cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, + d30v-tdep.c, dbug-rom.c, dbxread.c, dcache.c, delta68-nat.c, + demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c, dstread.c, + dve3900-rom.c, dwarf2read.c, dwarfread.c, elfread.c, + environ.c, eval.c, event-top.c, exec.c, expprint.c, f-lang.c, + f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, + fr30-tdep.c, gdbarch.c, gdbserver/gdbreplay.c, + gdbserver/low-hppabsd.c, gdbserver/low-linux.c, + gdbserver/low-lynx.c, gdbserver/low-nbsd.c, + gdbserver/low-sim.c, gdbserver/low-sparc.c, + gdbserver/low-sun3.c, gdbserver/remote-utils.c, + gdbserver/utils.c, gdbtypes.c, gnu-nat.c, h8300-tdep.c, + h8500-tdep.c, hp-psymtab-read.c, hp-symtab-read.c, + hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c, + hppam3-nat.c, hpread.c, hpux-thread.c, i386-linux-nat.c, + i386-stub.c, i386-tdep.c, i386aix-nat.c, i386b-nat.c, + i386ly-tdep.c, i386m3-nat.c, i386mach-nat.c, i386nbsd-nat.c, + i386v-nat.c, i386v4-nat.c, i387-tdep.c, i960-tdep.c, + ia64-linux-nat.c, ia64-tdep.c, infcmd.c, inflow.c, + infptrace.c, infrun.c, inftarg.c, infttrace.c, irix4-nat.c, + irix5-nat.c, jv-lang.c, jv-typeprint.c, jv-valprint.c, + kdb-start.c, kod-cisco.c, kod.c, language.c, lin-thread.c, + linux-thread.c, lynx-nat.c, m2-lang.c, m2-typeprint.c, + m2-valprint.c, m3-nat.c, m32r-rom.c, m32r-stub.c, m32r-tdep.c, + m68hc11-tdep.c, m68k-stub.c, m68k-tdep.c, m68klinux-nat.c, + m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c, + mac-xdep.c, maint.c, mcore-rom.c, mcore-tdep.c, mdebugread.c, + mem-break.c, mi/mi-cmds.c, mi/mi-main.c, mi/mi-out.c, + mi/mi-parse.c, minsyms.c, mips-nat.c, mips-tdep.c, + mipsm3-nat.c, mipsread.c, mipsv4-nat.c, mn10200-tdep.c, + mn10300-tdep.c, mon960-rom.c, monitor.c, news-xdep.c, + nindy-tdep.c, nlm/gdbserve.c, nlm/i386.c, nlm/ppc.c, + nlmread.c, ns32k-tdep.c, ns32km3-nat.c, ns32knbsd-nat.c, + objfiles.c, ocd.c, op50-rom.c, os9kread.c, osfsolib.c, + p-lang.c, p-typeprint.c, p-valprint.c, pa64solib.c, parse.c, + ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c, + ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c, + proc-flags.c, proc-why.c, procfs.c, ptx4-nat.c, + remote-adapt.c, remote-array.c, remote-bug.c, remote-e7000.c, + remote-eb.c, remote-es.c, remote-est.c, remote-hms.c, + remote-mips.c, remote-mm.c, remote-nindy.c, remote-nrom.c, + remote-os9k.c, remote-rdi.c, remote-rdp.c, remote-sds.c, + remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, + remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, + remote-vxmips.c, remote-vxsparc.c, remote.c, rom68k-rom.c, + rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-valprint.c, + ser-e7kpc.c, ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, + sh-stub.c, sh-tdep.c, sh3-rom.c, sol-thread.c, solib.c, + somread.c, somsolib.c, source.c, sparc-nat.c, sparc-stub.c, + sparc-tdep.c, sparcl-stub.c, sparcl-tdep.c, sparclet-rom.c, + sparclet-stub.c, stabsread.c, stack.c, standalone.c, + stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c, symfile.c, + symm-nat.c, symm-tdep.c, symmisc.c, symtab.c, target.c, + thread.c, tic80-tdep.c, top.c, tracepoint.c, tui/tui-file.c, + tui/tui.c, tui/tuiLayout.c, tui/tuiRegs.c, tui/tuiStack.c, + tui/tuiWin.c, typeprint.c, ui-file.c, ui-out.c, ultra3-nat.c, + ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c, + valarith.c, valops.c, valprint.c, values.c, varobj.c, + vax-tdep.c, w65-tdep.c, w89k-rom.c, win32-nat.c, wince.c, + wrapper.c, xcoffread.c, xcoffsolib.c, xmodem.c, z8k-tdep.c: + Convert old-style, pre-ISO function definitions to prototyped + form. + +2000-07-28 Elena Zannoni + + * sh-tdep.c (sh_gdbarch_init): For sh4 initialize + register_convert_to_raw, register_convert_to_virtual, + register_convertible. + (sh_sh4_register_convertible): New function. + (sh_sh4_register_convert_to_virtual): New function. + (sh_sh4_register_convert_to_raw): New function. + Include floatformat.h. + +Thu Jul 27 14:06:27 2000 Andrew Cagney + + From 2000-06-25 Stephane Carrez : + * configure.tgt: Recognize the 68hc11. + * m68hc11-tdep.c: New file for 68hc11 target. + * config/m68hc11/m68hc11.mt: New file for 68hc11 port. + + * configure.tgt: When 68hc11, set gdb_multi_arch. + +Wed Jul 26 17:22:53 2000 Andrew Cagney + + * configure.in (GDB_MULTI_ARCH): Define from configure.tgt + or makefile fragment. + * acconfig.h (GDB_MULTI_ARCH): Add. + * config.in, configure: Regenerate. + + * gdbarch.sh (GDB_MULTI_ARCH): Delete definition, moved to + configure.in and defs.h. Use GDB_MULTI_ARCH_TM, + GDB_MULTI_ARCH_PARTIAL and GDB_MULTI_ARCH_PURE in tests. + * gdbarch.h, gdbarch.c: Regenerate. + + * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM, , + GDB_MULTI_ARCH_PURE): Define. Only include "tm.h" when the target + is less than pure multi-arch. + +2000-07-26 Jimmy Guo + + * config/convex/tm-convex.h: Remove stray control characters. + * config/m68k/tm-altos.h: Ditto. + * config/tahoe/tm-tahoe.h: Ditto. + +2000-07-26 Elena Zannoni + + * sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte, + sh_sh4_register_raw_size, sh_sh4_register_virtual_type, + sh_fetch_pseudo_register, sh_store_pseudo_register, + sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs, + they should be numbered as drx fvy where x and y are multiples of + 2 and 4 respectively. + + * config/sh/tm-sh.h: Fix names of pseudo regs. + +2000-07-24 Elena Zannoni + + * config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific + pseudo registers. + (DO_REGISTERS_INFO): Define. + + * sh-tdep.c (sh_sh4_register_name): New function. + (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, + sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update + signature. + (sh_show_regs_command): New function. Actual function called by + the 'regs' command. + (sh_register_byte): Rename to... + (sh_default_register_byte): ...New function. + (sh_sh4_register_byte): New function. + (sh_register_raw_size): Rename to... + (sh_default_register_raw_size): ...New function. + (sh_sh4_register_raw_size): New function. + (sh_sh4_register_virtual_type): New function. + (sh_sh4_build_float_register_type): New function. + (sh_fetch_pseudo_register, sh_store_pseudo_register): New + functions. + (fv_reg_base_num, dr_reg_base_num): New functions. + (do_fv_register_info, do_dr_register_info, sh_do_pseudo_register, + sh_do_fp_register, sh_do_register, sh_print_register, + sh_do_registers_info): New functions. + (sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update + architecture specific parts. + (_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command. + +2000-07-24 Jim Blandy + + * dwarf2read.c (read_structure_scope): Correct overzealous + addition of cu_header argument. + +Mon Jul 24 07:47:46 2000 Anthony Green + + * TODO: Update. Two of my java patches are in. + +2000-07-24 Elena Zannoni + + * gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER + to the gdbarch structure. + * gdbarch.c: Regenerate. + * gdbarch.h: Regenerate. + * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER): + Delete macros. + * regcache.c (write_register, read_register, write_register_bytes, + write_register_gen, read_register_bytes, read_register_gen): + Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and + ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER. + +2000-07-24 Elena Zannoni + + * gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure. + * gdbarch.c: Regenerate. + * gdbarch.h: Regenerate. + * inferior.h (NUM_PSEUDO_REGS): Delete macro. + +Sun Jul 23 21:40:55 2000 Anthony Green + + * language.c: Include jv-lang.h. + (lang_bool_type): Add case for java booleans. + +Mon Jul 24 11:23:14 2000 Andrew Cagney + + * dwarf2read.c (address_size): Delete file wide global. + (struct comp_unit_head): Add signed_addr_p; + (read_comp_unit_head): New function. + (psymtab_to_symtab_1, dwarf2_build_psymtabs_hard): Use + read_comp_unit_head to parse the debug_info header. + (read_address): Add parameters cu_header and bytes_read. When + specified, sign extend the address. + + * dwarf2read.c (add_partial_symbol, decode_locdesc, + die_containing_type, die_type, dwarf_decode_lines, + dwarf2_add_field, dwarf2_add_member_fn, + dwarf2_build_psymtabs_hard, dwarf2_const_value, new_symbol, + process_die, psymtab_to_symtab_1, read_array_type, + read_enumeration, read_attribute, read_common_block, + read_comp_unit, read_file_scope, read_full_die, read_func_scope, + read_lexical_block_scope, read_partial_die, scan_partial_symbols, + read_structure_scope, read_subroutine_type, read_tag_const_type, + read_tag_pointer_type, read_tag_ptr_to_member_type, + read_tag_reference_type, read_type_die, read_typedef, + tag_type_to_type): Pass cu_header parameter. + +2000-07-21 Elena Zannoni + + * regcache.c (read_register, read_register_bytes): Fix typos. + +2000-07-21 Michael Snyder + + * thread.c (thread_apply_all_command): Update thread list first. + * printcmd.c (printf_command): Guard against 0-length string. + * config/i386/tm-i386.h: treat PC and FP as unsigned. + (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer. + (FRAME_SAVED_PC): Ditto. + (FRAME_CHAIN): Ditto. + +2000-07-20 Michael Snyder + + * valarith.c (value_sub): Call check_typedef. + +2000-07-19 Nicholas Duffek + + * thread.c (free_thread): New function. + (init_thread_list): Always zero highest_thread_num. Call + free_thread() instead of free(). + (delete_thread): Move thread cleanup code to free_thread(). + +2000-07-19 Elena Zannoni + + Multiarch the sh target. + * sh-tdep.c: + (sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names, + sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table): + Remove. + (XMALLOC): Define. + (struct frame_extra_info): Define. + (sh_register_raw_size, sh_register_virtual_size, + sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc, + sh_frame_saved_pc, sh_skip_prologue, + sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs, + sh_extract_struct_value_address, sh_use_struct_convention, + sh_store_struct_return, sh_push_arguments, sh_push_return_address, + sh_saved_pc_after_call, sh_generic_register_name, + sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name, + sh_sh_dsp_register_name, sh_sh3_dsp_register_name, + sh_frame_args_address, sh_frame_locals_address, + sh_coerce_float_to_double, sh_default_store_return_value, + sh3e_sh4_store_return_value, sh_generic_show_regs, + sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, + sh_dsp_show_regs, sh_register_byte, sh_register_raw_size, + sh_register_virtual_size, sh_sh3e_register_virtual_type, + sh_default_register_virtual_type, sh_gdbarch_init): New functions. + (sh_target_architecture_hook, sh_frame_find_saved_regs, + sh_show_regs): Delete functions. + (sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info, + sh_pop_frame, sh_extract_return_value): Update + + * config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1. + (struct gdbarch_tdep): Define. + Remove all unnecessary defines. + + * remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1, + for h8300 case. + (want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature + consistent. + (e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use + runtime check instead. + (e7000_wait): Ditto. + + * sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR + and SPC register numbers. + (sh3_regnames, sh3e_regnames): Don't specify a size. + + * config/h8300/tm-h8300.h: Add comment. + +Wed Jul 19 12:50:16 2000 Andrew Cagney + + * solib.c (elf_locate_base, info_sharedlibrary_command): Rename + bfd_elf_get_arch_size to bfd_get_arch_size. + +Tue Jul 18 17:13:01 2000 Andrew Cagney + + From Richard Henderson : + * dwarf2read.c (dwarf2_empty_hash_tables): Renamed from + dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well. + Update all callers. + +2000-07-17 Daniel Berlin + + * valops.c (value_struct_elt): Change error message + +2000-07-17 matthew green + + * config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define. + +Mon Jul 17 13:08:10 2000 Andrew Cagney + + * values.c (value_as_pointer): When VAL is an integer, explictly + cast to a pointer before converting to a CORE_ADDR. + * gdbtypes.c (build_gdbtypes): For builtin_type_ptr, construct a + real void pointer instead of an integer. + 2000-07-15 Daniel Berlin * valops.c (typecmp): Seperate loop into two, add support for @@ -315,6 +1155,7 @@ Fri Jun 23 16:20:21 2000 Andrew Cagney on in an integer register. 2000-06-21 Pierre Muller + * symfile.c (init_filename_language_table): add ".pas", ".p" and ".pp" as pascal source file extensions.