X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2FChangeLog;h=005380b924bfd24134a4263c6517d91dce3ab5e3;hb=1ecb4ee0309ec7962314a8f98d45ac91be48aebf;hp=bd4eb0d64af2bd765616b9e557160dd98b634715;hpb=e127f0db710ac5e8320a1a10a580746e61c96d71;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bd4eb0d64a..005380b924 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,401 @@ +2005-07-15 Nick Roberts + Daniel Jacobowitz + + * mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values): New + declarations. + * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Use string + constants instead of literals for MI command options. + * mi/mi-cmd-var.c (mi_no_values, mi_simple_values, mi_all_values): + New variables. + (mi_parse_values_option, mi_print_value_p): New functions. + (mi_cmd_var_list_children): Use mi_parse_values_option and + mi_print_value_p. + (mi_cmd_var_update): Support a PRINT_VALUES option. Update calls + to varobj_update_one. + (varobj_update_one): Take a print_values argument. Call + mi_print_value_p. + * varobj.c (varobj_get_gdb_type): New function. + * varobj.h (varobj_get_gdb_type): New prototype. + +2005-07-13 Daniel Jacobowitz + + * ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets. + +2005-07-12 Mark Kettenis + + * dwarf2expr.h: Tweak comment. + (struct dwarf_expr_context): Use `gdb_byte *' in read_mem and + get_frame_base function pointers. + (read_uleb128, read_sleb128): Change return type and types of + first two arguments to `gdb_byte *'. + (dwarf2_read_address): Change types of first two arguments to + `gdb_byte *'. + * dwarf2expr.c: Tweak comment. + (dwarf_expr_eval): Change type of second argument to `gdb_byte *'. + (read_uleb128, read_sleb128): Change return type and types of + first two arguments to `gdb_byte *'. + (dwarf2_read_address): Change types of first two arguments to + `gdb_byte *'. + (execute_stack_op): Change types of last two arguments to + `gdb_byte *'. Use `gdb_byte *' for byte buffers. + * dwarf2loc.h: Tweak comment. + (struct dwarf2_locexpr_baton, struct dwarf2_loclist_baton): Use + `gdb_byte *' for byte buffers. + * dwarf2loc.c (find_location_expression): Change return type to + `gdb_byte *'. Use `gdb_byte *' for byte buffers. Change length + to `unsigned int'. + (dwarf_expr_read_reg): Use `gdb_byte *' for byte buffer. Remove + bogus cast. + (dwarf_expr_read_mem): Change type of second argument to + `gdb_byte *'. + (dwarf_expr_frame_base): Change type of second argument to + `gdb_byte **'. + (dwarf2_evaluate_loc_desc): Change type of third argument to + `gdb_byte *'. + (needs_frame_read_mem): Change type of second argument to + `gdb_byte *'. + (needs_frame_frame_base): Change type of second argument + `gdb_byte **'. Use gdb_byte for lit0. + (dwarf2_tracepoint_var_ref): Change type of fourth argument to + `gdb_byte *'. Use `gdb_byte *' for byte buffer. + (loclist_read_variable, loclist_tracepoint_var_ref): Use `gdb_byte + *' for byte buffer. + * dwarf2-frame.c (struct dwarf2_cie, struct dwarf2_fde) + (struct dwarf2_frame_state): Use gdb_byte instead of `unsigned + char'. + (read_reg): Use `gdb_byte *' for byte buffers. Remove redundant + cast. + (read_mem): Change second argument to `gdb_byte *'. + (no_get_frame_base): Change second argument to `gdb_byte **'. + (execute_stack_op): Change first argument to `gdb_byte *'. + (execute_cfa_program): Change first two arguments to `gdb_byte *'. + Use gdb_byte instead of `unsigned int'. Use temprorary variable + to store result of read_uleb128. + (struct comp_unit): Use `gdb_byte *' for byte buffers. + (read_1_byte, read_4_bytes, read_8_bytes): Change last argument to + `gdb_byte *'. + (read_unsigned_leb128, read_signed_leb128): Change second argument + to `gdb_byte *'. Use gdb_byte instead of `unsigned char'. + (read_initial_length): Change second argument to `gdb_byte *'. + Remove redundant casts. + (read_encoded_value): Use gdb_byte instead of `unsigned char'. + Remove bogus casts. + (decode_frame_entry_1): Change return type and second argument to + `gdb_byte *'. Use `gdb_byte *' for byte buffers. Use gdb_byte + instead of `unsigned char'. + (decode_frame_entry): Change return type and second argument to + `gdb_byte *'. Use `gdb_byte *' for byte buffers. + (dwarf2_build_frame_info): Use `gdb_byte *' for byte buffers. + +2005-07-12 Mark Kettenis + + * objc-lang.c (print_object_command): Use gdb_byte for c. + * arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for + registers. + +2005-07-11 Mark Kettenis + + * bsd-kvm.c: Include . + (bsd_kvm_corefile): New variable. + (core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make + static. + (bsd_kvm_open): Set bsd_kvm_corefile. + (bsd_kvm_files_info): New function. + (bsd_kvm_add_target): Set to_files_info. + +2005-07-07 Andreas Schwab + + * observer.sh: Use different temporary file name depending on mode + of operation to avoid clash during parallel build. + +2005-07-06 Bob Rossi + + * fork-child.c (fork-inferior): Use accessor function for + inferior_io_terminal. + * infcmd.c (inferior_io_terminal): Make static. + (set_inferior_io_terminal): New function. + (get_inferior_io_terminal): Ditto. + (tty_command): Use accessor function. + (_initialize_infcmd): Add inferior_tty setshow variable. + (_initialize_infcmd): Remove tty command. + (_initialize_infcmd): Add a tty command that is an alias. + * inferior.h (set_inferior_io_terminal): New prototype. + (get_inferior_io_terminal): Ditto. + (new_tty_prefork): Add const qualifier to parameter. + * inflow.c (inferior_thisrun_terminal): Add const qualifier. + (new_tty_prefork): Add const qualifier to parameter. + * nto-procfs (procfs_create_inferior): Use accessor function. + (procfs_create_inferior): Add const qualifier to locals. + * win32-nat.c (child_create_inferior): Ditto. + * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function. + (mi_cmd_inferior_tty_set): Ditto. + * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show + * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype. + (mi_cmd_inferior_tty_show): Ditto. + +2005-07-06 Wu Zhou + + * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid + scroll command. + +2005-07-06 Wu Zhou + + * f-exp.y (yyparse): Add code to support exponentiation expression. + (yylex): Add code to scan exponentiation operator. + * eval.c (evaluate_subexp_standard): Add support for BINOP_EXP. + * valarith.c (value_binop): Reset errno to 0 before calling pow + to do exponentiation operation. + +2005-07-04 Mark Kettenis + + * i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in + read_memory call. + * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer. + + * bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call. + * coffread.c (patch_type, process_coff_symbol): Likewise. + * corelow.c (core_open): Likewise. + * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): + * language.c (set_lang_str, set_type_str, set_range_str) + (set_case_str): Likewise. + * source.c (add_path, openp): Likewise. + * stabsread.c: Likewise. + * top.c (init_history): Likewise. + * utils.c (xfullpath): Likewise. + * value.c (lookup_internalvar): Likewise. + * cli/cli-cmds.c (cd_command): Likewise. + * cli/cli-dump.c (add_dump_command): Likewise. + + * i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change + type of first argument to `const gdb_byte *'. + (i387_print_float_info, i387_register_to_value) + (i387_value_to_register, i387_supply_fsave, i387_collect_fsave) + (i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte + buffers. + +2005-07-04 Ben Elliston + + * Makefile.in (RUNTEST): Set to runtest. + +2005-07-03 Richard Henderson + + * amd64-tdep.c (amd64_sse_type): New. + (amd64_register_info): Use it for xmm registers. Constify. + (amd64_register_type): Initialize amd64_sse_type as needed. + +2005-07-03 Steve Ellcey + + * configure.ac: Add arguments to AC_DEFINE calls. + * acconfig.h: Remove file. + * acinclude.m4 (AC_GNU_SOURCE): Remove definition. + * configure: Regenerate. + * config.in: Regenerate. + +2005-07-01 Mark Kettenis + + * mips-tdep.c (mips_insn16_frame_prev_register) + (mips_insn32_frame_prev_register, mips_stub_frame_prev_register): + Change type of last argument to `gdb_byte *'. + +2005-07-01 Steve Ellcey + + * MAINTAINERS (Write After Approval): Add myself. + +2005-07-01 Mark Kettenis + + * solib-svr4.c: Include "solib.h". + * Makefile.in (solib-svr4.o): Update dependencies. + +2005-06-28 Mark Kettenis + + * eval.c (evaluate_struct_tuple): Use strcmp instead of + DEPRECATED_STREQ. + +2005-06-27 Michael Snyder + + * config/mn10300/linux.mt: New file. + * configure.tgt: Add rule for am33 / mn10300-linux. + * mn10300-tdep.c, mn10300-tdep.h: Bump copyright year. + +2005-06-27 Wu Zhou + + * gdbtypes.c (get_discrete_bounds): Fix a comment typo. + +2005-06-25 Mark Kettenis + + * sol-thread.c (sol_thread_xfer_memory): Change type of second + argument to `gdb_byte *'. + (sol_thread_xfer_partial): Change type of readbuf and writebuf + arguments to `gdb_byte *'. + + * mips-tdep.c (mips_xfer_register, mips_o32_return_value) + (mips_integer_to_address): Use gdb_byte instead of bfd_byte. + +2005-06-24 Mark Kettenis + + * ppcobsd-nat.c: Include "gdbcore.h", , + , and "bsd-kvm.h". + (ppcobsd_supply_pcb): New function. + (_initialize_ppcobsd_nat): Enable libkvm interface. + * Makefile.in (ppcobsd-nat.o): Update dependencies. + * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o. + (LOADLIBES): New variable. + +2005-06-24 Corinna Vinschen + + * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST. + +2005-06-23 Andreas Schwab + + * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported + by Chad Harrington . + +2005-06-22 Mark Kettenis + + * remote.c (extended_remote_restart): Pass buffer in call to + xsnprintf instead of a pointer to the buffer. + +2005-06-21 Andrew Cagney + + * MAINTAINERS: List GDB's Steering Committee as responsible for + GDB's maintenance. + +2005-06-21 Mark Kettenis + + * inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf + and writebuf arguments to `gdb_byte *'. + +2005-06-21 Wu Zhou + + * MAINTAINERS (Write After Approval): Add myself. + +2005-06-20 Mark Kettenis + + * hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h", + "value.h" and "elf/common.h". + (hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer. + (hppabsd_find_global_pointer): New function. + (hppabsd_init_abi): Set TDEP->find_global_pointer to + hppabsd_find_global_pointer. + * Makefile.in (hppabsd-tdep.o): Update dependencies. + +2005-06-12 Mark Kettenis + + * hppa-tdep.c (hppa_pointer_to_address_hack): Remove function. + (unwind_command): Use %lx to print pointer. + +2005-06-19 Mark Kettenis + + * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype. + Change type of second argument to`gdb_byte *'. + +2005-06-19 Nick Roberts + + * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function. + + * mi/mi-cmds.c (mi_cmds): Replace entry for -stack-info-frame. + Make it use mi_cmd_stack_info_frame + + * mi/mi-cmds.h (mi_cmd_stack_info_frame): New declaration. + +2005-06-18 Mark Kettenis + + * hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we + can't find the bounds of the current function. Wrap some long + lines in the process. + + * regcache.c (regcache_raw_supply, regcache_raw_collect): Change + type of last argument back to `void *'. + * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise. + +2005-06-18 Nick Roberts + + * mi/mi-cmds.c (mi_cmds): Remove entry for -stack-info-frame. + + * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames) + (mi_cmd_stack_info_depth): Don't test for stack. + (mi_cmd_stack_select_frame): Make the argument mandatory. + Don't test for stack. + +2005-06-17 Wu Zhou + + * remote.c (set_thread, remote_thread_alive): Replace sprintf + call with xsnprintf. + (remote_threads_extra_info, extended_remote_restart) + (remote_check_symbols, store_register_using_P) + (compare_sections_command): Ditto. + +2005-06-16 David Ung + + * MAINTAINERS (Write After Approval): Add self. + +2005-06-15 Mark Kettenis + + * hppa-hpux-nat.c (hppa_hpux_fetch_register) + (hppa_hpux_store_register): Add casts in extract_unsigned_integer + and store_usigned_integer calls. + +2005-06-14 Nick Roberts + + * mi/mi-main.c (mi_cmd_data_list_register_values): Remove test for + registers now that mi_execute_command rewinds after an error. + +2005-06-13 Mark Kettenis + + * configure.ac: Use AC_CHECK_TYPES to check for uintptr_t. + * configure, config.in: Regenerate. + + * ser-tcp.c: Tweak comment. + [!HAVE_SOCKLEN_T]: Typedef socklen_t. + * configure.ac: Add check for socklen_t. + * configure, config.in: Regenerate. + +2005-06-13 H.J. Lu + + * config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o. + +2005-06-13 Richard Sandiford + + * MAINTAINERS: Update my email address. + +2005-06-13 Mark Mitchell + + * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr. + * exec.c (exec_file_attach): Likewise. + * solib-frv.c (enable_break2): Likewise. + * solib-svr4.c (enable_break): Likewise. + * solib.c (solib_map_sections): Likewise. + * symfile.c (symfile_bfd_open): Likewise. + +2005-06-13 Daniel Jacobowitz + + * Makefile.in (symfile.o): Add $(exec_h). + * exec.h (exec_set_section_address): Add prototype. + * exec.c (exec_set_section_address): New function. + * symfile.c: Include "exec.h". + (struct place_section_arg, place_section): New. + (default_symfile_offsets): Call place_section for each + section of a relocatable file. + +2005-06-13 Joel Brobecker + + * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all + bits of top byte in address. + +2005-06-13 Wu Zhou + + * eval.c (evaluate_subexp_standard): Add code to check the target + type of a TYPE_CODE_PTR value when we encounter a f77 undetermined + arglist. If it is array, string or function, work on the target + value instead. + +2005-06-12 Daniel Jacobowitz + Nick Roberts + + * mi/mi-main.c (register_changed_p, get_register): Use + get_selected_frame. + (mi_execute_command): Call mi_out_rewind after an error. + 2005-06-12 Mark Kettenis * hppa-tdep.c (hppa_frame_prev_register)