2005-07-15 Nick Roberts <nickrob@snap.net.nz>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4a8158bc303c6e2f0ab1aa752b0e60a611a9cc7f..005380b924bfd24134a4263c6517d91dce3ab5e3 100644 (file)
@@ -1,3 +1,236 @@
+2005-07-15  Nick Roberts  <nickrob@snap.net.nz>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * 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  <dan@codesourcery.com>
+
+       * ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.
+
+2005-07-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * 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  <kettenis@gnu.org>
+
+       * 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  <kettenis@gnu.org>
+
+       * bsd-kvm.c: Include <paths.h>.
+       (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  <schwab@suse.de>
+
+       * observer.sh: Use different temporary file name depending on mode
+       of operation to avoid clash during parallel build.
+
+2005-07-06  Bob Rossi  <bob@brasko.net>
+
+       * 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  <woodzltc@cn.ibm.com>
+
+       * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
+       scroll command.
+
+2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * 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  <kettenis@gnu.org>
+
+       * 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  <bje@gnu.org>
+
+       * Makefile.in (RUNTEST): Set to runtest.
+
+2005-07-03  Richard Henderson  <rth@redhat.com>
+
+       * 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  <sje@cup.hp.com>
+
+       * 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  <kettenis@gnu.org>
+
+       * 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  <sje@cup.hp.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2005-07-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib-svr4.c: Include "solib.h".
+       * Makefile.in (solib-svr4.o): Update dependencies.
+
+2005-06-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * eval.c (evaluate_struct_tuple): Use strcmp instead of
+       DEPRECATED_STREQ.
+
+2005-06-27  Michael Snyder  <msnyder@redhat.com>
+
+       * 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  <woodzltc@cn.ibm.com>
+
+       * gdbtypes.c (get_discrete_bounds): Fix a comment typo.
+
+2005-06-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * 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  <kettenis@gnu.org>
 
        * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
@@ -5,6 +238,8 @@
        (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  <vinschen@redhat.com>
 
This page took 0.031159 seconds and 4 git commands to generate.