2008-01-30 Luis Machado <luisgpm@br.ibm.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f711c0069e76ddd66ea99fea5083535d9183ec12..bdfef7fe52ae382461230e9401021e02483454c4 100644 (file)
@@ -1,3 +1,244 @@
+2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
+           Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * infcmd.c (default_print_registers_info): Also print hex
+       raw contents for TYPE_CODE_DECFLOAT registers.
+       * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
+       * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
+       (rs6000_register_name): Add support for DFP pseudo-registers.
+       (rs6000_pseudo_register_type): Likewise.
+       rs6000_pseudo_register_reggroup_p): Likewise.
+       (ppc_pseudo_register_read): New function.
+       (ppc_pseudo_register_write): Likewise.
+       (rs6000_pseudo_register_read): Likewise.
+       (rs6000_pseudo_register_write): Likewise.
+       (e500_pseudo_register_read): Move checks to
+       rs6000_pseudo_register_read.
+       (e500_pseudo_register_write): Move checks to
+       rs6000_pseudo_register_write.
+       (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
+       rs6000_pseudo_register_read and rs6000_pseudo_register_write
+       in gdbarch if SPE or DFP is available.  Adjust gdbarch's
+       num_pseudo_regs to account for DFP pseudo regs.
+
+2008-01-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
+       * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
+       (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
+       rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
+       e500_pseudo_register_read, e500_pseudo_register_write): Use
+       IS_SPE_PSEUDOREG macro.
+       (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
+       (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
+       Remove initialization of tdep->ppc_ev31_regnum.
+
+2008-01-08  Paul Hilfinger  <hilfinger@adacore.com>
+
+       * printcmd.c (print_formatted): Handle references as for unformatted
+       prints.
+
+2008-01-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * eval.c (evaluate_subexp_standard): Add handling of user
+       registers when in EVAL_AVOID_SIDE_EFFECTS mode.
+
+2008-01-30  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * eval.c (evaluate_subexp_standard): Support
+       BINOP_INTDIV opcode.
+
+2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
+
+       * valarith.c (value_binop): Add floating-point BINOP_MIN and
+       BINOP_MAX cases.
+       For BINOP_EXP, use length and signedness of left operand only for
+       result, as for shifts.
+       For integral operands to BINOP_EXP, use new integer_pow and
+       uinteger_pow functions so as to get full range of results.
+       (integer_pow): New function.
+       (uinteger_pow): New function.
+
+2008-01-30  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Use vector for varobj_list_children interface.
+        * gdb/varobj.c (varobj_list_children): Return vector
+        of varobjs.
+        * gdb/varobj.h (varobj_list_children): Adjust
+        prototype.
+        (varobj_p): Declare.  Declare vector thereof.
+        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
+        for varobj_list_children change.
+       * Makefile.in (varobj_h): Update dependencies.
+
+2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
+       TYPE_CODE_DECFLOAT arguments.
+       (ppc64_sysv_abi_push_dummy_call) Likewise.
+       (get_decimal_float_return_value): New function.
+       (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
+       values by calling get_decimal_float_return_value.
+       (ppc64_sysv_abi_return_value): Likewise.
+
+2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
+       for preprocessor macro information.  Formatting changes.
+
+2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (struct remote_state): Add cached_wait_status.
+       (remote_exec_file): New variable.
+       (PACKET_vAttach, PACKET_vRun): New constants.
+       (extended_remote_restart): Do not query for status.
+       (struct start_remote_args): New.
+       (remote_start_remote): Take it as a second argument.  Check
+       whether the target is running.  Issue an error for non-running
+       non-extended targets.  Cache the wait status.  Set inferior_ptid
+       here.
+       (remote_open_1): Prompt to disconnect non-running targets.  Make
+       sure the target is marked running.  Do not set inferior_ptid here.
+       Update call to remote_start_remote.  Do not call remote_check_symbols
+       if the target is not running.
+       (remote_detach_1): Rename from remote_detach.  Take an EXTENDED
+       argument.  Handle a non-running target.
+       (remote_detach): Use it.
+       (extended_remote_detach): New.
+       (remote_disconnect): Fix typo.  Use remoute_mourn_1.
+       (extended_remote_attach_1, extended_remote_attach)
+       (extended_async_remote_attach): New.
+       (remote_vcont_resume): Remove unused variable.
+       (remote_wait, remote_async_wait): Use any cached wait status.
+       (putpkt_binary, getpkt): Clear any cached wait status.
+       (extended_remoute_mourn_1): New.
+       (extended_remote_mourn): Use it.
+       (extended_async_remote_mourn, extended_remote_run): New.
+       (extended_remote_create_inferior_1): New.
+       (extended_remote_create_inferior): Use it.
+       (extended_remote_async_create_inferior): Likewise.
+       (remote_xfer_partial): Skip for non-executing targets.
+       (init_extended_remote_ops): Set to_detach and to_attach.
+       (init_extended_async_remote_ops): Likewise.  Use
+       extended_async_remote_mourn.
+       (_initialize_remote): Register vAttach, vRun, and
+       set remote exec-file.
+       * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
+
+2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (symfile.o): Update.
+       * NEWS: Mention exec tracing support.
+       * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
+       exec events.
+       * infcmd.c (kill_if_already_running, detach_command)
+       (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
+       * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
+       (follow_exec): Do not check may_follow_exec.  Do not mourn and push
+       targets.  Apply the sysroot path to the loaded executable.  Use
+       no_shared_libraries.
+       * linux-nat.c (linux_child_follow_fork): Print fork following
+       messages if verbose.
+       (kill_wait_callback): Kill again before waiting a second time.
+       * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
+       no_shared_libraries.
+
+2008-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
+
+2008-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * nto-tdep.h: Remove #include "defs.h".
+       * nto-tdep.c: Add #include "defs.h".
+       * Makefile.in (nto_tdep_h): Update dependencies.
+       (nto-tdep.o): Likewise.
+
+2008-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
+       and use it.
+       (proceed, start_remote): Update call to wait_for_inferior.
+       * inferior.h (wait_for_inferior): Update declaration.
+       * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
+       solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
+       * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
+       TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
+
+2008-01-29  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * varobj (adjust_value_for_child_access): Added checking for 
+       returned value from gdb_value_ind.
+       (c_describe_child): Likewise.
+       (cplus_describe_child): Fixed a typo.
+
+2008-01-29  Jim Blandy  <jimb@red-bean.com>
+
+       * MAINTAINERS: Update my info.
+
+2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Use multiple locations for hardware watchpoints.
+       This eliminates the need to traverse value chain, doing
+       various checks, in three different places.
+
+        * breakpoint.h (struct bp_location): New fields
+        lengths and watchpoint_type.
+        (struct breakpoint): Remove the val_chain field.
+        * breakpoint.c (is_hardware_watchpoint): New.
+        (free_valchain): Remove.
+        (update_watchpoint): New.
+        (insert_bp_location): For hardware watchpoint, just
+        directly insert it.
+        (insert_breakpoints): Call update_watchpoint_locations
+        on all watchpoints.  If we have failed to insert
+        any location of a hardware watchpoint, remove all inserted
+        locations.
+        (remove_breakpoint): For hardware watchpoints, directly
+        remove location.
+        (watchpoints_triggered): Iterate over locations.
+        (bpstat_stop_status): Use only first location of
+        a resource watchpoint.
+        (delete_breakpoint): Don't call free_valchain.
+        (print_one_breakpoint): Don't print all
+        locations for watchpoints.
+        (breakpoint_re_set_one): Use update_watchpoint for
+        watchpoints.
+
+2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Don't reset watchpoint block on solib load.
+
+        * breakpoint.c (insert_bp_location): For watchpoints,
+        recompute condition.
+        (breakpoint_re_set_one): Instead of recomputing value
+        and condition for watchpoints, just reset value and
+        let insert_breakpoints/insert_bp_location recompute it.
+        Don't do anything about disabled watchpoint.
+
+2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * valarith.c (value_binop): Handle unsigned integer
+       division by zero.
+
+2008-01-28  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
+       instruction pattern that appears frequently in position
+       independent code.  Fix bug in code which looks for "fmov" and
+       backtracks if no "fmov" is found.
+
+2008-01-28  Doug Evans  <dje@google.com>
+
+       * dbxread.c (read_dbx_symtab): Fix indentation.
+       Reformat comments to 80 columns.
+       Move local var def closer to only use.
+
+2008-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * fork-child.c (SHELL_FILE): Remove #ifndef.
+       (fork_inferior): Remove SHELL_COMMAND_CONCAT.
+
 2008-01-25  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * i386-tdep.c (i386_skip_noop): New function.
This page took 0.027625 seconds and 4 git commands to generate.