2004-09-01 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bd49ec0c39dd8e5db97090fb078ed8f82a125c7f..77ebfa01230cca88dda63918cfba1e5bdf96cbb0 100644 (file)
@@ -1,5 +1,214 @@
+2004-09-01  Andrew Cagney  <cagney@gnu.org>
+
+       * objfiles.h (struct entry_info): Delete fields main_func_lowpc
+       and main_func_highpc.
+       (INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
+       * objfiles.c (init_entry_point_info, objfile_relocate): Update
+       * nlmread.c (nlm_symfile_read): Update.
+
+2004-09-01  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (linked_proc_desc_table): Delete, not used.
+       (mips_insn32_frame_cache): Inline call to find_proc_desc.
+       (find_proc_desc): Remove dead code.
+
+2004-09-01  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
+
+2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * observer.sh: Add struct so_list declaration.
+       * Makefile.in: Add dependencies on observer.h for solib.c and
+       breakpoint.c.
+       * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New
+       function.
+       (_initialize_breakpoint): Register 
+       disable_breakpoints_in_unloaded_shlib as an observer of the 
+        "solib unloaded" observation event.
+       (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints,
+       call decode_line_1 so unfound breakpoint errors are silent.
+       * solib.c (update_solib_list): When a solib is discovered to have
+       been unloaded by the program, notify all observers of the
+       "solib unloaded" observation event.
+
+2004-09-01  Andrew Cagney  <cagney@gnu.org>
+
+       * frame.c: Include "objfiles.h".
+       (inside_main_func): New function.
+       (get_prev_frame): Use new inside_main_func.
+       * Makefile.in (frame.o): Update dependencies.
+       * defs.h (inside_main_func): Delete declaration.
+       * blockframe.c (inside_main_func): Delete function.
+
+2004-08-31  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (is_vtable_name): New function, based on logic from
+       read_structure_type, but passing the correct length to strncmp,
+       and using 'sizeof' instead of 'strlen'.
+       (read_structure_type): Call it.
+
+2004-08-31  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/powerpc/aix.mh: Add comment.
+
+2004-08-31  Paul GIlliam  <pgilliam@us.ibm.com>
+
+       * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-30  Manoj Iyer  <manjo@austin.ibm.com>
+
+       * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-30  Andrew Cagney  <cagney@gnu.org>
+
+       Fix PR breakpoints/1757.
+       * infrun.c (struct execution_control_state): Replace
+       remove_breakpoints_on_following_step with
+       step_after_step_resume_breakpoint.
+       (init_execution_control_state): Update.
+       (handle_inferior_event): For signals, when stepping off a
+       breakpoint, set step_after_step_resume_breakpoint.  When
+       BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
+       (keep_going): Delete code handling
+       remove_breakpoints_on_following_step.
+
+2004-08-29  David Lecomber  <david@streamline-computing.com>
+       
+       Fix PR gdb/648
+       * language.h (enum array_ordering): New enum.
+       * language.h (struct language_defn): New la_array_ordering 
+       attribute.
+       * language.c (unknown_language_defn, auto_language_defn)
+       (local_language_defn): Ditto.
+       * ada-lang.c (ada_language_defn): Ditto.
+       * c-lang.c (c_language_defn, cplus_language_defn)
+       (asm_language_defn, minimal_language_defn): Ditto.
+       * f-lang.c (f_language_defn): Ditto.
+       * jv-lang.c (java_language_defn): Ditto.
+       * m2-lang.c (f_language_defn): Ditto.
+       * objc-lang.c (objc_language_defn): Ditto.
+       * p-lang.c (pascal_language_defn): Ditto.
+       * scm-lang.c (scm_language_defn): Ditto.
+       * eval.c (evaluate_subexp_standard): Assume Fortran arrays are
+       oriented large to small in type structure.
+       * dwarf2read.c (read_array_order): New function.
+       (read_array_type): Use read_array_order to check row/column
+       major ordering.
+
+2004-08-27  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * target.c (target_resize_to_sections): Check
+       current_target.to_sections for an old value when updating.
+
+2004-08-27  Joel Brobecker  <brobecker@gnat.com>
+
+       * procfs.c (dbx_link_bpt_addr): New static global variable.
+       (dbx_link_shadow_contents): New static global variable.
+       (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
+       (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
+       if we just hit it.
+       (procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
+       Reset dbx_link_bpt_addr as the address of __dbx_link() may change
+       from run to run.
+       (procfs_create_inferior): Remove syssgi syscall-exit notifications
+       after the inferior has been forked.
+       (remove_dbx_link_breakpoint): New function.
+       (dbx_link_addr): New function.
+       (insert_dbx_link_bpt_in_file): New function.
+       (insert_dbx_link_bpt_in_region): New function.
+       (insert_dbx_link_breakpoint): New function.
+       (proc_trace_syscalls_1): New function, extracted from
+       proc_trace_syscalls.
+       (proc_trace_syscalls): Replace extract code by call to
+       proc_trace_syscalls_1.
+       * solib-irix.c (disable_break): Remove stop_pc assertion, as it
+       is no longer valid.
+
+2004-08-25  Jim Blandy  <jimb@redhat.com>
+
+       * gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
+
+2004-08-25  Andrew Cagney  <cagney@gnu.org>
+
+       * infrun.c (struct execution_control_state): Delete field
+       "stepping_through_sigtramp".
+       (init_execution_control_state): Do not set same.
+       (context_switch): Do not pass same to save_infrun_state and
+       load_infrun_state.
+       * gdbthread.h (struct thread_info): Delete field
+       stepping_through_sigtramp.
+       (save_infrun_state, load_infrun_state): Delete parameter
+       stepping_through_sigtramp.
+       * thread.c (load_infrun_state, save_infrun_state): Update.
+
+       * infrun.c: Re-indent.  Move expression operators to the beginning
+       of the line.  Remove long disabled #if 0 code.
+
+2004-08-24  Andrew Cagney  <cagney@gnu.org>
+
+       * doublest.h (floatformat_ieee_quad): Rename
+       floatformat_ia64_quad.
+       * doublest.c (floatformat_ieee_quad): Rename
+       floatformat_ia64_quad.
+       (_initialize_doublest): Update.
+
+2004-08-24  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2expr.h (struct dwarf_expr_context): New members
+       'num_pieces' and 'pieces', for returning the result of an
+       expression that uses DW_OP_piece.
+       (struct dwarf_expr_piece): New struct type.
+       * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
+       pieces.
+       (free_dwarf_expr_context): Free pieces, if any.
+       (add_piece): New function.
+       (execute_stack_op): Implement DW_OP_piece.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
+       expression is a list of pieces, print an error message.
+        (dwarf2_loc_desc_needs_frame): If the expression yields
+        pieces, and any piece is in a register, then we need a frame.
+
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
+       the stack until we've decided what sort of result the evaluation
+       has produced.  Use separate variables, with more specific names.
+
+2004-08-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       * armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
+       (arm_nbsd_thumb_[lb]e_breakpoint): Define.
+       (arm_netbsd_init_abi_common): Register them.
+
 2004-08-22  Mark Kettenis  <kettenis@gnu.org>
 
+       * config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
+
+       * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
+       safe_frame_unwind_memory instead of target_read_memory.
+
+       * infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
+       Reorder includes.
+       (fetch_register, store_register): Remove prototypes.
+       (child_resume): Reorganize code and comments such that it is
+       grouped a bit more logically.
+       (attach): Explicitly compare errno against 0.
+       (detach): Likewise.  Use perror_with_name instead of
+       print_sys_errmsg.
+       * Makefile.in (infptrace.o): Update dependencies.
+
+       * ia64-linux-nat.c: Update copyright year.
+       (fetch_debug_register, store_debug_register)
+       (ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
+       PTRACE_TYPE_ARG3.
+       * config/ia64/nm-linux.h: Update copyright year.
+        (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
+
+       * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
+       from CORE_ADDR to struct frame_info *.  Use
+       safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
+       (amd64_linux_sigtramp_p): Adjust for changed signature of
+       and64_linux_sigtramp_start
+
        * gdb_ptrace.h: GNU/Linux.
 
        * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
This page took 0.027596 seconds and 4 git commands to generate.