X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=c39d7f8ce2dc7fab714683e62322951fef7cb70c;hb=578c1c03b68ec45894ae77dc23d4d55237ba8e2a;hp=a2237d988ddc719f703dbd2fb0d4a9d710c8d127;hpb=9733cfe12b11338c05f1aa638bd1d94bfa1ba745;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a2237d988d..c39d7f8ce2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,507 @@ +2004-09-19 Mark Kettenis + + * fbsd-nat.c: New files with cleaned up contents of fbsd-proc.c. + * fbsd-nat.h: New file. + * Makefile.in (ALLDEPFILES): Add fbsd-nat.c. + (fbsd_nat_h): New variable. + (fbsd-nat.o): New dependency. + + * config/sparc/nbsd64.mt, config/sparc/obsd.mt, + config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Set to solib.h. + + * inf-child.c (inf_child_post_wait): Remove stray whitespace in + comment. + +2004-09-18 Paul N. Hilfinger + + * ada-exp.y (type_int): New function to add layer of abstraction + around references to expression types. + (type_long): Ditto. + (type_long_long): Ditto. + (type_float): Ditto. + (type_double): Ditto. + (type_long_double): Ditto. + (type_char): Ditto. + (type_system_address): Ditto. + (simple_exp): Use type_* functions in place of builtin_* + variables. + (exp): Ditto. + (write_var_from_name): Ditto. + (write_object_renaming): Ditto. + * ada-lang.c (ada_create_fundamental_type): Remove redundant + declaration. + (build_ada_types): Remove, replacing with... + (ada_language_arch_info): New function to initialize primitive + type vector in language_arch_info. + (ada_array_length): Remove use of builtin_type_ada_int. + (value_pos_atr): Ditto. + (ada_evaluate_subexp): Ditto. + (builtin_type_ada_int, builtin_type_ada_short, builtin_type_ada_long, + builtin_type_ada_long_long, builtin_type_ada_char, + builtin_type_ada_float, builtin_type_ada_double, + builtin_type_ada_long_double, builtin_type_ada_natural, + builtin_type_ada_positive, builtin_type_ada_system_address): Remove. + (ada_builtin_types): Remove. + (ada_language_defn): Remove entries for la_builtin_type_vector and + string_char_type and use ada_language_arch_info. + (_initialize_ada_language): Do type-vector initialization along + the lines of c-lang.c. + (ada_create_fundamental_type): Break up line. + (ada_dump_symtab): Remove unused function. + (enum ada_primitive_types): Define. + * ada-lang.h (builtin_type_ada_int, builtin_type_ada_short, + builtin_type_ada_long,builtin_type_ada_long_long,builtin_type_ada_char, + builtin_type_ada_float, builtin_type_ada_double, + builtin_type_ada_long_double, builtin_type_ada_natural, + builtin_type_ada_positive, builtin_type_ada_system_address): Remove. + * ada-lex.l: Use type_* functions in place of builtin_* variables. + (processInt): Ditto. + (processReal): Ditto. + (name_lookup): Ditto. + * ada-typeprint.c (print_range): Use builtin_type_int, not + builtin_type_ada_int. + +2004-09-18 Mark Kettenis + + * i386-tdep.c (i386_register_name): Rename regno to regnum. + + * config/pa/hpux1020.mh (MH_CFLAGS): Remove -D__HP_CURSES. + * config/pa/hpux11.mh (MH_CFLAGS): Likewise. + * config/pa/hpux11w.mh (MH_CFLAGS): Likewise. + * configure.in: Improve checks for curses library by checking for + mvwaddstr instead of initscr. Drop HP curses in favour of + standard curses on HP-UX. + * configure: Regenerated. + +2004-09-18 Paul N. Hilfinger + + * ada-lang.c: (ada_main_name, ada_value_slice_ptr, ada_value_slice, + ada_breakpoint_rewrite, ada_template_to_fixed_record_type_1): + Minor formatting changes. + (empty_array): Slight rewrite for formatting. + (emit_char,parse,ada_language_defn,build_ada_types, + ada_is_exception_sym, _initialize_ada_language): Move + definitions around. + (ada_dump_symtab): Remove unused definition. + (ada_maybe_exception_partial_symbol): Remove unused definition. + +2004-09-16 Andrew Cagney + + * inf-child.c: Include "gdb_string.h". + (inf_child_core_file_to_sym_file): Delete. + (inf_child_target): Set to_fetch_registers and to_store_registers. + * inf-ptrace.c: Include "gdb_string.h". + * Makefile.in: Update all dependencies. + + * Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror + problem. + +2004-09-14 Joel Brobecker + + * mips-tdep.c (mips_insn32_frame_cache): Pass frame cache in + call to heuristic_proc_desc. Remove code that became redundant + as a consequence. + (read_next_frame_reg): Remove special case for SP_REGNUM. + (set_reg_offset): Fix small typo. + (reset_saved_regs): New procedure. + (mips32_heuristic_proc_desc): No longer compute a fake + procedure descriptor. Compute the full frame cache instead. + Some minor comment reformatting. + +2004-09-14 Andrew Cagney + + * MAINTAINERS: Add Michael Chastain as the backup gdb.threads + maintainer. + + * thread-db.c (thread_db_new_objfile): Assume that there is a + child process. + +2004-09-13 Jim Blandy + + * valops.c (value_assign): Move 'buffer' to the enclosing block, + so that its storage isn't referenced after its lifetime ends. + + * valops.c (value_assign): 'use_buffer' is initialized to zero, + and never assigned to. Delete it, and the 'if (use_buffer)' + clauses. Delete 'raw_buffer', since it is now unused. + +2004-09-13 Andrew Cagney + + * configure.in (frags): Replace TM_FILE with DEPRECATED_TM_FILE. + * configure: Re-generate. + * nlm/Makefile.in (TAGS): Update. + * Makefile.in (TAGS): Update. + * config/vax/nbsd.mt (TM_FILE): Update. + * config/sparc/vxworks.mt (TM_FILE): Update. + * config/sparc/sol2.mt (TM_FILE): Update. + * config/sparc/sol2-64.mt (TM_FILE): Update. + * config/sparc/obsd64.mt (TM_FILE): Update. + * config/sparc/obsd.mt (TM_FILE): Update. + * config/sparc/nbsd64.mt (TM_FILE): Update. + * config/sparc/nbsd.mt (TM_FILE): Update. + * config/sparc/linux64.mt (TM_FILE): Update. + * config/sparc/linux.mt (TM_FILE): Update. + * config/sparc/fbsd.mt (TM_FILE): Update. + * config/sh/wince.mt (TM_FILE): Update. + * config/sh/nbsd.mt (TM_FILE): Update. + * config/sh/linux.mt (TM_FILE): Update. + * config/sh/embed.mt (TM_FILE): Update. + * config/s390/s390.mt (TM_FILE): Update. + * config/rs6000/rs6000lynx.mt (TM_FILE): Update. + * config/rs6000/rs6000.mt (TM_FILE): Update. + * config/rs6000/aix4.mt (TM_FILE): Update. + * config/powerpc/vxworks.mt (TM_FILE): Update. + * config/powerpc/ppc-sim.mt (TM_FILE): Update. + * config/powerpc/ppc-eabi.mt (TM_FILE): Update. + * config/powerpc/obsd.mt (TM_FILE): Update. + * config/powerpc/nbsd.mt (TM_FILE): Update. + * config/powerpc/linux.mt (TM_FILE): Update. + * config/powerpc/aix.mt (TM_FILE): Update. + * config/pa/obsd.mt (TM_FILE): Update. + * config/pa/linux.mt (TM_FILE): Update. + * config/pa/hppahpux.mt (TM_FILE): Update. + * config/pa/hppa64.mt (TM_FILE): Update. + * config/pa/hppa.mt (TM_FILE): Update. + * config/ns32k/nbsdaout.mt (TM_FILE): Update. + * config/mips/wince.mt (TM_FILE): Update. + * config/mips/vxmips.mt (TM_FILE): Update. + * config/mips/nbsd.mt (TM_FILE): Update. + * config/mips/linux.mt (TM_FILE): Update. + * config/mips/irix6.mt (TM_FILE): Update. + * config/mips/irix5.mt (TM_FILE): Update. + * config/mips/embed.mt (TM_FILE): Update. + * config/m68k/vxworks68.mt (TM_FILE): Update. + * config/m68k/st2000.mt (TM_FILE): Update. + * config/m68k/os68k.mt (TM_FILE): Update. + * config/m68k/obsd.mt (TM_FILE): Update. + * config/m68k/nbsd.mt (TM_FILE): Update. + * config/m68k/monitor.mt (TM_FILE): Update. + * config/m68k/linux.mt (TM_FILE): Update. + * config/m68k/cisco.mt (TM_FILE): Update. + * config/ia64/linux.mt (TM_FILE): Update. + * config/ia64/aix.mt (TM_FILE): Update. + * config/ia64/ia64.mt (TM_FILE): Update. + * config/i386/vxworks.mt (TM_FILE): Update. + * config/i386/obsd64.mt (TM_FILE): Update. + * config/i386/obsd.mt (TM_FILE): Update. + * config/i386/nto.mt (TM_FILE): Update. + * config/i386/nbsd64.mt (TM_FILE): Update. + * config/i386/nbsd.mt (TM_FILE): Update. + * config/i386/linux64.mt (TM_FILE): Update. + * config/i386/linux.mt (TM_FILE): Update. + * config/i386/i386sol2.mt (TM_FILE): Update. + * config/i386/i386lynx.mt (TM_FILE): Update. + * config/i386/fbsd64.mt (TM_FILE): Update. + * config/i386/fbsd.mt (TM_FILE): Update. + * config/i386/cygwin.mt (TM_FILE): Update. + * config/h8300/h8300.mt (TM_FILE): Update. + * config/frv/frv.mt (TM_FILE): Update. + * config/cris/cris.mt (TM_FILE): Update. + * config/arm/wince.mt (TM_FILE): Update. + * config/arm/nbsd.mt (TM_FILE): Update. + * config/arm/linux.mt (TM_FILE): Update. + * config/arm/embed.mt (TM_FILE): Update. + * config/alpha/nbsd.mt (TM_FILE): Update. + * config/alpha/fbsd.mt (TM_FILE): Update. + * config/alpha/alpha.mt (TM_FILE): Update. + * config/alpha/alpha-osf1.mt (TM_FILE): Update. + * config/alpha/alpha-linux.mt (TM_FILE): Update. + + Eliminate event_loop_p, always has the value 1. + * defs.h (event_loop_p): Delete macro. + * breakpoint.c (until_break_command): Simplify. + * utils.c (prompt_for_continue): Simplify. + * tracepoint.c (read_actions): Simplify. + * top.c (throw_exception, execute_command, gdb_readline_wrapper) + (gdb_rl_operate_and_get_next, command_line_input, get_prompt) + (set_prompt, init_main): Simplify. + (init_signals, disconnect): Delete, unused. + * remote.c (remote_async_resume) + (extended_remote_async_create_inferior): Simplify. + * mi/mi-interp.c (mi_input): Delete, unused. + (mi_interpreter_resume, mi_command_loop): Simplify. + * interps.c (current_interp_command_loop): Simplify. + * infrun.c (proceed): Simplify. + * infcmd.c (run_command, continue_command, step_1, jump_command) + (until_command, advance_command, finish_command) + (interrupt_target_command): Simplify. + * event-top.c (gdb_setup_readline, gdb_disable_readline): Simplify. + + * config/i386/nm-i386.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. + * config/s390/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. + * config/pa/nm-hppah.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. + * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. + * config/frv/tm-frv.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. + * mips-tdep.c (mips_dump_tdep): Do not print same. + +2004-09-12 Andrew Cagney + + * valprint.c (print_longest): Use fputs_filtered. Make "val" + const. + * Makefile.in (valprint.o): Delete explict rule. + + * config/m68k/nbsdelf.mh: Add missing trailing newline. Problem + reported by Dave Anderson. + + * target.c (target_info): Delete #ifdef call to FILES_INFO_HOOK. + + * inferior.h (STORE_STRUCT_RETURN): Delete macro. + +2004-09-12 Salvador E. Tropea + Andrew Cagney + + * mi/mi-main.c (mi_cmd_data_list_changed_registers) + (mi_cmd_data_list_register_values) + (mi_cmd_data_write_register_values): Include the PSEUDO_REGS in + the register number computation. + +2004-09-12 Andrew Cagney + + * ppcnbsd-nat.c: Include "inf-ptrace.h". + (ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers. + (ppcnbsd_store_inferior_registers): Rename store_inferior_registers. + (_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace + target. + * config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with + inf-ptrace.o and inf-child.o. + * inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files. + * Makefile.in: Update dependencies. + +2004-09-11 Andrew Cagney + + * language.c (hex_string, hex_string_custom): Move from here ... + * utils.c (hex_string, hex_string_custom): ... to here, rewrite. + (CELLSIZE): Increase to 50. + * language.h (hex_string, hex_string_custom): Move from here ... + * defs.h: ... to here. + * Makefile.in: Update all dependencies. + +2004-09-11 Paul N. Hilfinger + + * language.c (local_hex_format_custom): Remove. + (local_hex_string): Rename to hex_string, use C format, and move to + utils.c + (local_hex_string_custom): Rename to hex_string_custom and change + interface. Now uses C format. Move to utils.c + (local_octal_format_custom): Remove. + (local_decimal_format_custom): Remove. + (unknown_language_defn): Remove language-specific number + formatting entries. + (auto_language_defn): Ditto. + (local_language_defn): Ditto. + * language.h (struct language_format_info): Delete declaration. + (struct language_defn): Remove language_format_info fields + la_binary_format, la_octal_format, la_decimal_format, la_hex_format. + (local_binary_format): Remove macro. + (local_binary_format_prefix): Remove macro. + (local_binary_format_specifier): Remove macro. + (local_binary_format_suffix): Remove macro. + (local_octal_format): Remove macro. + (local_octal_format_prefix): Remove macro. + (local_octal_format_specifier): Remove macro. + (local_octal_format_suffix): Remove macro. + (local_decimal_format): Remove macro. + (local_decimal_format_prefix): Remove macro. + (local_decimal_format_specifier): Remove macro. + (local_decimal_format_suffix): Remove macro. + (local_hex_format): Remove macro. + (local_hex_format_prefix): Remove macro. + (local_hex_format_specifier): Remove macro. + (local_hex_format_suffix): Remove macro. + (local_decimal_format_custom): Remove. + (local_octal_format_custom): Remove. + (local_hex_format_custom): Remove. + (local_hex_string): Rename to hex_string and move to defs.h. + (local_hex_string_custom): Rename to hex_string_custom, change + interface, and move to defs.h. + * utils.c: (int_string): New function. + (hex_string): New function (from language.c). + (hex_string_custom): New function (from language.c). + (octal2str): New function. + (decimal2str): Add width parameter. + (paddr_u): Use new decimal2str interface. + (paddr_d): Ditto. + * defs.h (hex_string): Declare. + (hex_string_custom): Declare. + (int_string): Declare. + * printcmd.c (print_scalar_formatted): Remove localized binary + formatting. + * valprint.c (print_longest): Use int_string. + (print_floating): Use C hex format. + (print_hex_chars): Ditto. + (print_binary_chars): Remove language-specific formatting. + (print_octal_chars): Use C octal format. + (print_decimal_chars): Delocalize format. + (print_decimal): Remove. + * ada-lang.c (ada_language_defn): Remove language-specific number + formatting entries. + * p-lang.c (pascal_language_defn): Ditto. + * c-lang.c (c_language_defn): Ditto. + (cplus_language_defn): Ditto. + (asm_language_defn): Ditto. + (minimal_language_defn): Ditto. + * f-lang.c (f_language_defn): Ditto. + * jv-lang.c (java_language_defn): Ditto. + * m2-lang.c (m2_language_defn): Ditto. + * scm-lang.c (scm_language_defn): Ditto. + * objc-lang.c (objc_language_defn): Ditto. + * memattr.c (mem_info_command): Use renamed hex_string_custom with + new interface. + * pa64solib.c (pa64_sharedlibrary_info_command): Ditto. + * ui-out.c (ui_out_field_core_addr): Ditto. + * breakpoint.c (breakpoint_adjustment_warning): Ditto. + * exec.c (print_section_info): Ditto. + * i387-tdep.c (print_i387_status_word): Ditto. + (print_i387_control_word): Ditto. + (i387_print_float_info): Ditto. + * maint.c (maint_print_section_info): Ditto. + * solib.c (info_sharedlibrary_command): Ditto. + * somsolib.c (som_sharedlibrary_info_command): Ditto. + * symtab.c (print_msymbol_info): Ditto. + * tracepoint.c (tracepoints_info): Ditto. + * solib-frv.c (lm_base): Ditto. + (frv_current_sos): Ditto. + (enable_break2): Ditto. + (enable_break): Ditto. + * dbxread.c (read_dbx_symtab): Use renamed hex_string. + (process_one_symbol): Ditto. + * infcmd.c (program_info): Ditto. + * mdebugread.c (parse_partial_symbols): Ditto. + * symfile.c (add_symbol_file_command): Ditto. + * cli/cli-cmds.c (edit_command): Ditto. + (list_command): Ditto. + * infcall.c (call_function_by_hand): Ditto. + * remote-vx.c (vx_run_files_info): Ditto. + (vx_wait): Ditto. + (vx_attach): Ditto. + (vx_detach): Ditto. + (vx_kill): Ditto. + * aix-thread.c (pdc_symbol_addrs): Ditto. + (pdc_read_regs): Ditto. + (pdc_write_regs): Ditto. + (pdc_read_data): Ditto. + (pdc_write_data): Ditto. + * d10v-tdep.c (display_trace): Ditto. + * rs6000-nat.c (find_toc_address): Ditto. + * aix-thread.c: Don't include language.h. + * buildsym.c: Ditto. + * dbxread.c: Ditto. + * mdebugread.c: Ditto. + * rs6000-nat.c: Ditto. + * buildsym.c (make_blockvector): Use renamed hex_string. + +2004-09-10 Jason Molenda (jmolenda@apple.com) + + * cli/cli-script.c (read_next_line): Accept zero or more whitespace + chars after 'if' or 'while' commands in user-defined commands. + +2004-09-08 Jim Blandy + + Fix bug reported and analyzed by Olivier Crete: + * symfile.c (copy_section_addr_info): New function. + (symbol_file_add_with_addrs_or_offsets): Use it to save the + original set of address arguments, instead of handwritten code + that uses one length to allocate and a different length to + initialize. Use make_cleanup_free_section_addr_info. + * symfile.h (copy_section_addr_info): New declaration. + * utils.c: #include "symfile.h". + (do_free_section_addr_info, make_cleanup_free_section_addr_info): + New functions. + * defs.h (make_cleanup_free_section_addr_info): New declaration. + * Makefile.in (utils.o): Update dependencies. + +2004-09-08 Andrew Cagney + + * thread-db.c (keep_thread_db): Delete. + (thread_db_new_objfile, thread_db_create_inferior) + (thread_db_mourn_inferior): Simplify assuming !keep_thread_db. + +2004-09-08 Mark Kettenis + + * i386-tdep.h (FPC_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM) + (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM) + (FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Remove macros. + (i386_frameless_signal_p): Remove prototype. + * i386-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro. + (GETFPXREGS_SUPPLIES): Define using I386_ST0_REGNUM and + I386_SSE_NUM_REGS. + * i386-nto-tdep.c (i386nto_supply_gregset): Use I386_NUM_GREGS + instead of FP0_REGNUM. + (i386nto_regset_id): Use I386_NUM_GREGS and I386_NUM_FREGS instead + of FP0_REGNUM and FPC_REGNUM. + + * solib-sunos.c (sunos_relocate_main_executable): Remove function. + (sunos_solib_create_inferior_hook): Don't call + sunos_relocate_main_executable. + + * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set + solib_svr4_fetch_link_map_offsets to + svr4_ilp32_fetch_link_map_offsets. + * sparcobsd-tdep.c: Don't include "nbsd-tdep.h". + (sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to + svr4_ilp32_fetch_link_map_offsets. + * Makefile.in (sparcobsd-tdep.o): Update dependencies. + +2004-09-07 Jim Blandy + + * frame.h (frame_register): Doc fix. + +2004-09-07 Andrew Cagney + + * vx-share/wait.h: Delete #ifdef USG. + * utils.c (request_quit): Ditto. + * tui/tui.c (tui_reset): Ditto. + * remote.c: Ditto. + * remote-sds.c: Ditto. + * remote-rdi.c: Ditto. + * mdebugread.c: Ditto. + * m68klinux-nat.c: Ditto. + * infttrace.c: Ditto. + * infptrace.c: Ditto. + * i386v-nat.c: Ditto. + * exec.c: Ditto. + * dbxread.c: Ditto. + * core-aout.c: Ditto. + +2004-09-05 Joel Brobecker + + * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to + heuristic_proc_desc. + (mips_insn32_frame_cache): Likewise. + +2004-09-04 Joel Brobecker + + * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was + left behind by error. + +2004-09-04 Joel Brobecker + + * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define. + * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise. + +2004-09-04 Joel Brobecker + + * config/rs6000/xm-aix4.h: Remove this file. + * config/rs6000/aix4.mh (XM_FILE): Delete. + +2004-09-04 Joel Brobecker + + * config/rs6000/xm-rs6000.h: Remove this file. + * config/rs6000/rs6000.mh (XM_FILE): Remove. + 2004-09-03 Andrew Cagney + * mips-tdep.c (PROC_DESC_IS_DUMMY, SET_PROC_DESC_IS_DUMMY) + (_PROC_MAGIC_, after_prologue, mips_dump_tdep): Delete macros and + only use. + + * mips-tdep.c (temp_saved_regs): Delete. + (set_reg_offset): Replace saved_regs parameter with this_cache. + (heuristic_proc_desc, mips16_heuristic_proc_desc) + (mips32_heuristic_proc_desc): Add this_cache parameter. + (mips_insn32_frame_cache, mips_insn16_frame_cache) + (after_prologue): Pass a NULL this_cache. + * mips-tdep.c (mips_mdebug_frame_cache): Delete code handling non-kernel trap prologues.