OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [ChangeLog] - Diff between revs 834 and 842

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 834 Rev 842
2010-03-18  Joel Brobecker  
2010-03-18  Joel Brobecker  
        * NEWS: Change "Changes since GDB 7.0" into "Changes in GDB 7.1".
        * NEWS: Change "Changes since GDB 7.0" into "Changes in GDB 7.1".
2010-03-18  Joel Brobecker  
2010-03-18  Joel Brobecker  
        * README: Update GDB version number to 7.1.
        * README: Update GDB version number to 7.1.
        * version.in: Likewise.
        * version.in: Likewise.
2010-03-18  Ulrich Weigand  
2010-03-18  Ulrich Weigand  
        * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch
        * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch
        instead of selected frame architecture.
        instead of selected frame architecture.
2010-03-17  Tom Tromey  
2010-03-17  Tom Tromey  
        * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
        * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
2010-03-16  Daniel Jacobowitz  
2010-03-16  Daniel Jacobowitz  
        * symfile.c (generic_load): Reset breakpoints after loading.
        * symfile.c (generic_load): Reset breakpoints after loading.
2010-03-16  Holger Hans Peter Freyther  
2010-03-16  Holger Hans Peter Freyther  
        * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
        * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
2010-03-15  Ralf Corsepius    (tiny change)
2010-03-15  Ralf Corsepius    (tiny change)
        * configure.ac: Exit if ${gdb_target_obs}" is not set.
        * configure.ac: Exit if ${gdb_target_obs}" is not set.
        * configure: Regenerate.
        * configure: Regenerate.
2010-03-14  Jan Kratochvil  
2010-03-14  Jan Kratochvil  
        * solib-svr4.c (svr4_exec_displacement): Return now success, new
        * solib-svr4.c (svr4_exec_displacement): Return now success, new
        parameter displacementp.  Update comment.
        parameter displacementp.  Update comment.
        (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS
        (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS
        element exists.  Return if svr4_exec_displacement was not successful.
        element exists.  Return if svr4_exec_displacement was not successful.
        Update comment.
        Update comment.
2010-03-14  Jan Kratochvil  
2010-03-14  Jan Kratochvil  
            Daniel Jacobowitz  
            Daniel Jacobowitz  
        * solib-svr4.c (read_program_header): Support type == -1 to read
        * solib-svr4.c (read_program_header): Support type == -1 to read
        all program headers.
        all program headers.
        (read_program_headers_from_bfd): New function.
        (read_program_headers_from_bfd): New function.
        (svr4_static_exec_displacement): Remove and move the comment ...
        (svr4_static_exec_displacement): Remove and move the comment ...
        (svr4_exec_displacement): ... here.  Remove variable found.  New
        (svr4_exec_displacement): ... here.  Remove variable found.  New
        variable displacement.  Check also DYNAMIC.  Verify DISPLACEMENT
        variable displacement.  Check also DYNAMIC.  Verify DISPLACEMENT
        alignment for ELF targets.  Compare target vs. exec_bfd PHDRs for ELF
        alignment for ELF targets.  Compare target vs. exec_bfd PHDRs for ELF
        targets using read_program_headers_from_bfd.  Remove the call of
        targets using read_program_headers_from_bfd.  Remove the call of
        svr4_static_exec_displacement.
        svr4_static_exec_displacement.
2010-03-12  Pedro Alves  
2010-03-12  Pedro Alves  
        * target.c (memory_xfer_partial): Don't use the stack cache if
        * target.c (memory_xfer_partial): Don't use the stack cache if
        inspecting trace frames.
        inspecting trace frames.
        * tracepoint.c (finish_tfind_command): Invalidate the target
        * tracepoint.c (finish_tfind_command): Invalidate the target
        dcache.
        dcache.
2010-03-10  Pierre Muller  
2010-03-10  Pierre Muller  
        * p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL.
        * p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL.
2010-03-07  Joel Brobecker  
2010-03-07  Joel Brobecker  
        * remote.c (remote_get_ada_task_ptid): New function.
        * remote.c (remote_get_ada_task_ptid): New function.
        (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
        (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
2010-03-05  Ulrich Weigand  
2010-03-05  Ulrich Weigand  
        * symfile.c (build_section_addr_info_from_objfile): Do not mask
        * symfile.c (build_section_addr_info_from_objfile): Do not mask
        off high address bits.
        off high address bits.
2010-03-05  Ulrich Weigand  
2010-03-05  Ulrich Weigand  
        * python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
        * python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
        address as UnsignedLongLong, not LongLong.
        address as UnsignedLongLong, not LongLong.
2010-03-04  Tom Tromey  
2010-03-04  Tom Tromey  
        * dwarf2read.c (skip_one_die) : Use offset size
        * dwarf2read.c (skip_one_die) : Use offset size
        in DWARF 3 and later.
        in DWARF 3 and later.
        (read_attribute_value) : Likewise.
        (read_attribute_value) : Likewise.
2010-03-04  Tom Tromey  
2010-03-04  Tom Tromey  
        * printcmd.c (printf_command): Pass dummy argument to
        * printcmd.c (printf_command): Pass dummy argument to
        printf_filtered.
        printf_filtered.
2010-03-03  Tom Tromey  
2010-03-03  Tom Tromey  
        PR mi/11098:
        PR mi/11098:
        * varobj.c (install_new_value): Handle case where new print_value
        * varobj.c (install_new_value): Handle case where new print_value
        is NULL.
        is NULL.
2010-03-03  Dainis Jonitis  
2010-03-03  Dainis Jonitis  
        PR gdb/11345:
        PR gdb/11345:
        * printcmd.c (printf_command): Print end of format string using
        * printcmd.c (printf_command): Print end of format string using
        printf_filtered.
        printf_filtered.
2010-03-02  Doug Evans  
2010-03-02  Doug Evans  
        * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
        * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
        lowpc,highpc args to addrmap_set_empty.
        lowpc,highpc args to addrmap_set_empty.
2010-03-02  Daniel Jacobowitz  
2010-03-02  Daniel Jacobowitz  
        * progspace.c (update_address_spaces): Update inferior address spaces
        * progspace.c (update_address_spaces): Update inferior address spaces
        also.
        also.
2010-02-26  David Daney  
2010-02-26  David Daney  
        * mips-linux-tdep.c: Update struct sigframe comments.
        * mips-linux-tdep.c: Update struct sigframe comments.
        (SIGFRAME_CODE_OFFSET): Delete macro.
        (SIGFRAME_CODE_OFFSET): Delete macro.
        (mips_linux_o32_sigframe_init): Calculate sigcontext_base using
        (mips_linux_o32_sigframe_init): Calculate sigcontext_base using
        this_frame's sp.
        this_frame's sp.
        (mips_linux_n32n64_sigframe_init): Same.
        (mips_linux_n32n64_sigframe_init): Same.
2010-02-26  Daniel Jacobowitz  
2010-02-26  Daniel Jacobowitz  
        * arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
        * arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
2010-02-24  Pedro Alves  
2010-02-24  Pedro Alves  
            Stan Shebs  
            Stan Shebs  
        * tracepoint.h (set_traceframe_number)
        * tracepoint.h (set_traceframe_number)
        (cleanup_restore_current_traceframe): Declare.
        (cleanup_restore_current_traceframe): Declare.
        * tracepoint.c (set_traceframe_number): New.
        * tracepoint.c (set_traceframe_number): New.
        (struct current_traceframe_cleanup): New.
        (struct current_traceframe_cleanup): New.
        (do_restore_current_traceframe_cleanup)
        (do_restore_current_traceframe_cleanup)
        (restore_current_traceframe_cleanup_dtor)
        (restore_current_traceframe_cleanup_dtor)
        (make_cleanup_restore_current_traceframe): New.
        (make_cleanup_restore_current_traceframe): New.
        * infrun.c: Include tracepoint.h.
        * infrun.c: Include tracepoint.h.
        (fetch_inferior_event): Switch out and in of tfind mode.
        (fetch_inferior_event): Switch out and in of tfind mode.
2010-02-23  Harald Koenig  
2010-02-23  Harald Koenig  
        * varobj.c (varobj_update): Avoid non-constants in initializers.
        * varobj.c (varobj_update): Avoid non-constants in initializers.
2010-02-23  Tom Tromey  
2010-02-23  Tom Tromey  
        * dwarf2loc.c (read_pieced_value) : Correctly
        * dwarf2loc.c (read_pieced_value) : Correctly
        handle big-endian values.
        handle big-endian values.
        (dwarf2_evaluate_loc_desc) : Likewise.
        (dwarf2_evaluate_loc_desc) : Likewise.
2010-02-19  Jan Kratochvil  
2010-02-19  Jan Kratochvil  
        * symfile.c (addr_info_make_relative): Extend comment.  Move SECT to
        * symfile.c (addr_info_make_relative): Extend comment.  Move SECT to
        a more inner block.  Initialize ADDR by LOWER_OFFSET only if it was
        a more inner block.  Initialize ADDR by LOWER_OFFSET only if it was
        found by bfd_get_section_by_name.
        found by bfd_get_section_by_name.
        * symfile.h (struct section_addr_info) : New comment.
        * symfile.h (struct section_addr_info) : New comment.
2010-02-19  Joel Brobecker  
2010-02-19  Joel Brobecker  
        * version.in: Set version to 7.0.90.20100219-cvs.
        * version.in: Set version to 7.0.90.20100219-cvs.
2010-02-19  Joel Brobecker  
2010-02-19  Joel Brobecker  
        GDB 7.0.90 released.
        GDB 7.0.90 released.
2010-02-19  Joel Brobecker  
2010-02-19  Joel Brobecker  
        * README: Update GDB version number to 7.0.90.
        * README: Update GDB version number to 7.0.90.
        * version.in: Likewise.
        * version.in: Likewise.
2010-02-19  Joel Brobecker  
2010-02-19  Joel Brobecker  
        Workaround for PR/10966:
        Workaround for PR/10966:
        * linespec.c (add_matching_methods): Only match methods that are
        * linespec.c (add_matching_methods): Only match methods that are
        in the VAR_DOMAIN and whose class is LOC_BLOCK.
        in the VAR_DOMAIN and whose class is LOC_BLOCK.
2010-02-19  Joel Brobecker  
2010-02-19  Joel Brobecker  
        * configure.ac: Disable -Werror by default.
        * configure.ac: Disable -Werror by default.
        * configure: Regenerate.
        * configure: Regenerate.
2010-02-19  Joel Brobecker  
2010-02-19  Joel Brobecker  
        GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)
        GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)
        * version.in: Bump version to 7.0.90.20100218-cvs.
        * version.in: Bump version to 7.0.90.20100218-cvs.
2010-02-18  Harald Koenig  
2010-02-18  Harald Koenig  
        * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
        * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
        * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
        * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
2010-02-17  Tom Tromey  
2010-02-17  Tom Tromey  
        * NEWS: Add Python API Improvements section.
        * NEWS: Add Python API Improvements section.
2010-02-18  Daniel Jacobowitz  
2010-02-18  Daniel Jacobowitz  
        * NEWS: Correct typo.
        * NEWS: Correct typo.
2010-02-17  Tom Tromey  
2010-02-17  Tom Tromey  
        * objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
        * objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
2010-02-17  Jan Kratochvil  
2010-02-17  Jan Kratochvil  
        * symfile.c (build_section_addr_info_from_objfile): Include sections
        * symfile.c (build_section_addr_info_from_objfile): Include sections
        only if they are SEC_ALLOC or SEC_LOAD.
        only if they are SEC_ALLOC or SEC_LOAD.
2010-02-17  H.J. Lu  
2010-02-17  H.J. Lu  
        PR shlibs/11293
        PR shlibs/11293
        * solib-svr4.c (enable_break): Check size of CORE_ADDR instead
        * solib-svr4.c (enable_break): Check size of CORE_ADDR instead
        of ULONGEST for address size.
        of ULONGEST for address size.
2010-02-17  Tom Tromey  
2010-02-17  Tom Tromey  
        * NEWS: Add C++ improvements section.
        * NEWS: Add C++ improvements section.
2010-02-17  Ulrich Weigand  
2010-02-17  Ulrich Weigand  
        * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
        * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
        PyThreadState_Swap): Avoid "statement with no effect" warning.
        PyThreadState_Swap): Avoid "statement with no effect" warning.
2010-02-17  Jan Kratochvil  
2010-02-17  Jan Kratochvil  
        * solib-svr4.c (enable_break ): New variable
        * solib-svr4.c (enable_break ): New variable
        addr_bit.  Adjust LOAD_ADDR sign for cross-arch inferiors.
        addr_bit.  Adjust LOAD_ADDR sign for cross-arch inferiors.
2010-02-17  Tristan Gingold  
2010-02-17  Tristan Gingold  
            Petr Hluzín 
            Petr Hluzín 
        * avr-tdep.c (avr_scan_prologue): Convert an if statement to a
        * avr-tdep.c (avr_scan_prologue): Convert an if statement to a
        gdb_assert.  Fix info->size for SIG prologue.
        gdb_assert.  Fix info->size for SIG prologue.
2010-02-16  Daniel Jacobowitz  
2010-02-16  Daniel Jacobowitz  
        * infcmd.c (show_inferior_tty_command): Check for NULL.
        * infcmd.c (show_inferior_tty_command): Check for NULL.
        Correct output message.
        Correct output message.
2010-02-16  Daniel Jacobowitz  
2010-02-16  Daniel Jacobowitz  
        * linespec.c (decode_line_1): Handle FILE:FUNCTION even if
        * linespec.c (decode_line_1): Handle FILE:FUNCTION even if
        FUNCTION contains parentheses.  Improve removal of a trailing
        FUNCTION contains parentheses.  Improve removal of a trailing
        single quote.
        single quote.
2010-02-16  Daniel Jacobowitz  
2010-02-16  Daniel Jacobowitz  
        * gcore.c (do_bfd_delete_cleanup): New function.
        * gcore.c (do_bfd_delete_cleanup): New function.
        (gcore_command): Use it.  Discard the cleanup after success.
        (gcore_command): Use it.  Discard the cleanup after success.
        (gcore_copy_callback): Delete dead code.
        (gcore_copy_callback): Delete dead code.
2010-02-16  Daniel Jacobowitz  
2010-02-16  Daniel Jacobowitz  
        * symfile.c (addr_info_make_relative): Always use
        * symfile.c (addr_info_make_relative): Always use
        find_lowest_section.
        find_lowest_section.
2010-02-16  Sami Wagiaalla 
2010-02-16  Sami Wagiaalla 
        * NEWS: Added entry for namespace fixes.
        * NEWS: Added entry for namespace fixes.
2010-02-15  Tom Tromey  
2010-02-15  Tom Tromey  
        * dwarf2read.c (guess_structure_name): Allocate name on the
        * dwarf2read.c (guess_structure_name): Allocate name on the
        objfile obstack.
        objfile obstack.
2010-02-15  Tom Tromey  
2010-02-15  Tom Tromey  
        * c-typeprint.c (c_type_print_base): Reverse order of test.
        * c-typeprint.c (c_type_print_base): Reverse order of test.
2010-02-15  Jan Kratochvil  
2010-02-15  Jan Kratochvil  
        * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize.  Optionally
        * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize.  Optionally
        initialize it from ELF BFD.  Extend the prelink condition by it.
        initialize it from ELF BFD.  Extend the prelink condition by it.
2010-02-15  Jan Kratochvil  
2010-02-15  Jan Kratochvil  
        * defs.h (parse_pid_to_attach): New.
        * defs.h (parse_pid_to_attach): New.
        * utils.c (parse_pid_to_attach): New.
        * utils.c (parse_pid_to_attach): New.
        * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
        * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
        * gnu-nat.c (gnu_attach): Likewise.
        * gnu-nat.c (gnu_attach): Likewise.
        * nto-procfs.c (procfs_attach): Likewise.
        * nto-procfs.c (procfs_attach): Likewise.
        * procfs.c (procfs_attach): Likewise.
        * procfs.c (procfs_attach): Likewise.
        * windows-nat.c (windows_attach): Likewise.
        * windows-nat.c (windows_attach): Likewise.
        * inf-ptrace.c (inf_ptrace_attach): Likewise.  Remove variable dummy.
        * inf-ptrace.c (inf_ptrace_attach): Likewise.  Remove variable dummy.
        * inf-ttrace.c (inf_ttrace_attach): Likewise.
        * inf-ttrace.c (inf_ttrace_attach): Likewise.
        * remote.c (extended_remote_attach_1): Likewise.  New comment on getpid
        * remote.c (extended_remote_attach_1): Likewise.  New comment on getpid
        check.
        check.
2010-02-14  Masaki Muranaka  
2010-02-14  Masaki Muranaka  
        * MAINTAINERS: Add myself for write after approval privileges.
        * MAINTAINERS: Add myself for write after approval privileges.
2010-02-13  Jan Kratochvil  
2010-02-13  Jan Kratochvil  
        * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
        * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
        block.
        block.
2010-02-13  Jan Kratochvil  
2010-02-13  Jan Kratochvil  
        * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
        * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
        only if INFO_VERBOSE.
        only if INFO_VERBOSE.
2010-02-12  Tomas Holmberg 
2010-02-12  Tomas Holmberg 
        * mi/mi-main.c: Added the --reverse flag to the following MI
        * mi/mi-main.c: Added the --reverse flag to the following MI
        commands: exec-continue, exec-finish, exec-next, exec-step,
        commands: exec-continue, exec-finish, exec-next, exec-step,
        exec-next-instruction, exec-step-instruction. This is to
        exec-next-instruction, exec-step-instruction. This is to
        support reverse execution over the MI interface to gdb.
        support reverse execution over the MI interface to gdb.
2010-02-12  Pedro Alves  
2010-02-12  Pedro Alves  
        * tracepoint.c (_initialize_tracepoint): Specify that the address
        * tracepoint.c (_initialize_tracepoint): Specify that the address
        range of `tfind outsize' is exclusive, and that the address range
        range of `tfind outsize' is exclusive, and that the address range
        of `tfind range' is inclusive, in the commands' help strings.
        of `tfind range' is inclusive, in the commands' help strings.
2010-02-12  Joel Brobecker  
2010-02-12  Joel Brobecker  
        Spurious "dll not found" error messages on x64-windows.
        Spurious "dll not found" error messages on x64-windows.
        * windows-nat.c: Add include of complaints.h.
        * windows-nat.c: Add include of complaints.h.
        (handle_unload_dll): Change dll-not-found error into a complaint.
        (handle_unload_dll): Change dll-not-found error into a complaint.
2010-02-12  Pedro Alves  
2010-02-12  Pedro Alves  
        * breakpoint.c (allocate_bp_location): Use bp_loc_other for
        * breakpoint.c (allocate_bp_location): Use bp_loc_other for
        bp_tracepoint and bp_fast_tracepoint, not
        bp_tracepoint and bp_fast_tracepoint, not
        bp_loc_software_breakpoint.
        bp_loc_software_breakpoint.
        (update_global_location_list): Tracepoints are never duplicates of
        (update_global_location_list): Tracepoints are never duplicates of
        anything.
        anything.
2010-02-12  Pedro Alves  
2010-02-12  Pedro Alves  
        * breakpoint.c (break_command_really): Change return type to int.
        * breakpoint.c (break_command_really): Change return type to int.
        Return false if no breakpoint was created, true otherwise.
        Return false if no breakpoint was created, true otherwise.
        (trace_command): Don't set the tracepoint count if no tracepoint
        (trace_command): Don't set the tracepoint count if no tracepoint
        was created.
        was created.
        (ftrace_command): Ditto.
        (ftrace_command): Ditto.
        (create_tracepoint_from_upload): Bail out if the tracepoint wasn't
        (create_tracepoint_from_upload): Bail out if the tracepoint wasn't
        created in the breakpoints table.
        created in the breakpoints table.
2010-02-11  Jan Kratochvil  
2010-02-11  Jan Kratochvil  
            Ulrich Weigand  
            Ulrich Weigand  
        * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
        * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
2010-02-11  Pedro Alves  
2010-02-11  Pedro Alves  
        * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
        * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
        the offset value isn't of integral type.
        the offset value isn't of integral type.
2010-02-11  Jan Kratochvil  
2010-02-11  Jan Kratochvil  
        * breakpoint.c (delete_breakpoint) related_breakpoint != NULL>:
        * breakpoint.c (delete_breakpoint) related_breakpoint != NULL>:
        New.
        New.
2010-02-11  Pedro Alves  
2010-02-11  Pedro Alves  
        * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
        * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
        non-subscriptable types.
        non-subscriptable types.
        * valarith.c (binop_types_user_defined_p): New, abstracted out
        * valarith.c (binop_types_user_defined_p): New, abstracted out
        from ...
        from ...
        (binop_user_defined_p): ... this.
        (binop_user_defined_p): ... this.
        * value.h (binop_types_user_defined_p): Declare.
        * value.h (binop_types_user_defined_p): Declare.
2010-02-11  Pedro Alves  
2010-02-11  Pedro Alves  
        * tracepoint.c (tfile_open): Remove spurious discard_cleanups.
        * tracepoint.c (tfile_open): Remove spurious discard_cleanups.
        Merge uploaded TSVs before merging uploaded tracepoints.
        Merge uploaded TSVs before merging uploaded tracepoints.
2010-02-11  Pedro Alves  
2010-02-11  Pedro Alves  
        * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.
        * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.
2010-02-11  Vladimir Prus  
2010-02-11  Vladimir Prus  
        * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra
        * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra
        whitespace character after a dot in comment.
        whitespace character after a dot in comment.
        (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
        (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
        Likewise.
        Likewise.
        (list_args_or_locals): For the 'all' (that is
        (list_args_or_locals): For the 'all' (that is
        -stack-list-variables) case, always output list of tuples.
        -stack-list-variables) case, always output list of tuples.
        Output 'arg' field if variable is argument.
        Output 'arg' field if variable is argument.
2010-02-10  Tom Tromey  
2010-02-10  Tom Tromey  
        * parser-defs.h (parser_debug): Declare.
        * parser-defs.h (parser_debug): Declare.
        * parse.c (_initialize_parse): Install "debug parser" set/show
        * parse.c (_initialize_parse): Install "debug parser" set/show
        command.
        command.
        (parser_debug): New global.
        (parser_debug): New global.
        (show_parserdebug): New function.
        (show_parserdebug): New function.
        * c-exp.y (c_parse): Set yydebug.
        * c-exp.y (c_parse): Set yydebug.
2010-02-10  H.J. Lu  
2010-02-10  H.J. Lu  
        * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
        * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
        TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
        TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
        (tdesc_predefined_types): Add i387_ext, i386_eflags and
        (tdesc_predefined_types): Add i387_ext, i386_eflags and
        i386_mxcsr.
        i386_mxcsr.
        (tdesc_find_type): New.
        (tdesc_find_type): New.
        (tdesc_gdb_type): Use tdesc_find_type.  Handle TDESC_TYPE_I387_EXT,
        (tdesc_gdb_type): Use tdesc_find_type.  Handle TDESC_TYPE_I387_EXT,
        TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
        TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
        * target-descriptions.h (tdesc_find_type): New.
        * target-descriptions.h (tdesc_find_type): New.
2010-02-10  Michael Snyder  
2010-02-10  Michael Snyder  
        * gdb-gdb.py: Comment fix.
        * gdb-gdb.py: Comment fix.
2010-02-09  Tristan Gingold  
2010-02-09  Tristan Gingold  
        * machoread.c (macho_symfile_relocate): New function.
        * machoread.c (macho_symfile_relocate): New function.
        (macho_sym_fns): Use macho_symfile_relocate instead of
        (macho_sym_fns): Use macho_symfile_relocate instead of
        default_symfile_relocate.
        default_symfile_relocate.
        (macho_oso_data): New type.
        (macho_oso_data): New type.
        (current_oso): New variable.
        (current_oso): New variable.
        (macho_add_oso_symfile): Do not compute section_addr_info, but
        (macho_add_oso_symfile): Do not compute section_addr_info, but
        instead set vma of sections.
        instead set vma of sections.
        Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
        Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
        Set and clear current_oso.
        Set and clear current_oso.
2010-02-09  Joel Brobecker  
2010-02-09  Joel Brobecker  
        Wrong type description for tagged type parameter.
        Wrong type description for tagged type parameter.
        * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is
        * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is
        EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a
        EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a
        reference to a tagged type.
        reference to a tagged type.
2010-02-09  Tristan Gingold  
2010-02-09  Tristan Gingold  
        * objfiles.c (objfile_separate_debug_iterate): Do not iterate on
        * objfiles.c (objfile_separate_debug_iterate): Do not iterate on
        brothers of the parent.
        brothers of the parent.
2010-02-08  Tom Tromey  
2010-02-08  Tom Tromey  
        PR c++/8017:
        PR c++/8017:
        * value.h: Update.
        * value.h: Update.
        * valops.c (search_struct_field): Make 'name' const.
        * valops.c (search_struct_field): Make 'name' const.
        (search_struct_method): Likewise.
        (search_struct_method): Likewise.
        (find_method_list): Make 'method' const.
        (find_method_list): Make 'method' const.
        (value_struct_elt): Make 'name' and 'err' const.
        (value_struct_elt): Make 'name' and 'err' const.
        (value_find_oload_method_list): Make 'method' const.
        (value_find_oload_method_list): Make 'method' const.
        (find_overload_match): Make 'name' const.
        (find_overload_match): Make 'name' const.
        * eval.c (evaluate_subexp_standard): New locals function,
        * eval.c (evaluate_subexp_standard): New locals function,
        function_name.
        function_name.
        : Handle OP_SCOPE specially.
        : Handle OP_SCOPE specially.
2010-02-08  Ulrich Weigand  
2010-02-08  Ulrich Weigand  
        * infrun.c (handle_inferior_event): Do not look up regcache
        * infrun.c (handle_inferior_event): Do not look up regcache
        for exited processes.
        for exited processes.
Mon Feb  8 13:17:10 2010  Chris Moller  
Mon Feb  8 13:17:10 2010  Chris Moller  
        PR gdb/10728
        PR gdb/10728
        * valarith.c (value_ptrdiff): Added a test for a zero type length,
        * valarith.c (value_ptrdiff): Added a test for a zero type length,
        warn if found, and assume length = 1.
        warn if found, and assume length = 1.
2010-02-08  Chris Moller  
2010-02-08  Chris Moller  
        PR gdb/9067
        PR gdb/9067
        * cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
        * cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
        cp_print_static_field)  Fix use of obstacks.
        cp_print_static_field)  Fix use of obstacks.
2010-02-08  Pedro Alves  
2010-02-08  Pedro Alves  
        * linux-nat.c (linux_nat_resume): In non-stop, also only tag
        * linux-nat.c (linux_nat_resume): In non-stop, also only tag
        resumed LWPs as resumed.
        resumed LWPs as resumed.
        (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs
        (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs
        we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead
        we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead
        of throwing an internal error.  If an LWP of a process we're not
        of throwing an internal error.  If an LWP of a process we're not
        waiting for reports a signal, don't force collecting a SIGSTOP,
        waiting for reports a signal, don't force collecting a SIGSTOP,
        and if it was breakpoint hit in non-stop mode, cancel it.  Don't
        and if it was breakpoint hit in non-stop mode, cancel it.  Don't
        go through all LWPs cancelling breakpoints in non-stop mode.
        go through all LWPs cancelling breakpoints in non-stop mode.
        (resume_stopped_resumed_lwps): New.
        (resume_stopped_resumed_lwps): New.
        (linux_nat_wait): Use it.
        (linux_nat_wait): Use it.
2010-02-07  H.J. Lu  
2010-02-07  H.J. Lu  
        * features/Makefile (WHICH): Add i386/i386, i386/i386-linux,
        * features/Makefile (WHICH): Add i386/i386, i386/i386-linux,
        i386/amd64 and i386/amd64-linux.
        i386/amd64 and i386/amd64-linux.
        (i386/i386-expedite): New.
        (i386/i386-expedite): New.
        (i386/i386-linux-expedite): Likewise.
        (i386/i386-linux-expedite): Likewise.
        (i386/amd64-expedite):Likewise.
        (i386/amd64-expedite):Likewise.
        (i386/amd64-linux-expedite): Likewise.
        (i386/amd64-linux-expedite): Likewise.
        ($(outdir)/i386/i386-linux.dat): Likewise.
        ($(outdir)/i386/i386-linux.dat): Likewise.
        ($(outdir)/i386/amd64.dat): Likewise.
        ($(outdir)/i386/amd64.dat): Likewise.
        ($(outdir)/i386/amd64-linux.dat): Likewise.
        ($(outdir)/i386/amd64-linux.dat): Likewise.
        * features/i386/32bit-core.xml: New.
        * features/i386/32bit-core.xml: New.
        * features/i386/32bit-linux.xml: Likewise.
        * features/i386/32bit-linux.xml: Likewise.
        * features/i386/32bit-sse.xml: Likewise.
        * features/i386/32bit-sse.xml: Likewise.
        * features/i386/64bit-core.xml: Likewise.
        * features/i386/64bit-core.xml: Likewise.
        * features/i386/64bit-linux.xml: Likewise.
        * features/i386/64bit-linux.xml: Likewise.
        * features/i386/64bit-sse.xml: Likewise.
        * features/i386/64bit-sse.xml: Likewise.
        * features/i386/i386-linux.xml: Likewise.
        * features/i386/i386-linux.xml: Likewise.
        * features/i386/i386.xml: Likewise.
        * features/i386/i386.xml: Likewise.
        * features/i386/amd64-linux.xml: Likewise.
        * features/i386/amd64-linux.xml: Likewise.
        * features/i386/amd64.xml: Likewise.
        * features/i386/amd64.xml: Likewise.
        * features/i386/i386-linux.c: Likewise.
        * features/i386/i386-linux.c: Likewise.
        * features/i386/i386.c: Likewise.
        * features/i386/i386.c: Likewise.
        * features/i386/amd64-linux.c: Likewise.
        * features/i386/amd64-linux.c: Likewise.
        * features/i386/amd64.c: Likewise.
        * features/i386/amd64.c: Likewise.
2010-02-05  Sami Wagiaalla  
2010-02-05  Sami Wagiaalla  
        PR c++/7935:
        PR c++/7935:
        * cp-support.h: Added char* alias element to using_direct data
        * cp-support.h: Added char* alias element to using_direct data
        struct.
        struct.
        (cp_add_using): Added char* alias argument.
        (cp_add_using): Added char* alias argument.
        (cp_add_using_directive): Ditto.
        (cp_add_using_directive): Ditto.
        * cp-namespace.c: Updated with the above changes.
        * cp-namespace.c: Updated with the above changes.
        (cp_lookup_symbol_imports): Check for aliases.
        (cp_lookup_symbol_imports): Check for aliases.
        * dwarf2read.c (read_import_statement): Figure out local alias
        * dwarf2read.c (read_import_statement): Figure out local alias
        for the import and pass it on to cp_add_using.
        for the import and pass it on to cp_add_using.
        (read_namespace): Pass alias argument to cp_add_using.
        (read_namespace): Pass alias argument to cp_add_using.
2010-02-05  Hui Zhu  
2010-02-05  Hui Zhu  
        * defs.h (gdb_bfd_errmsg): New extern.
        * defs.h (gdb_bfd_errmsg): New extern.
        * exec.c (exec_file_attach): Change bfd_errmsg to
        * exec.c (exec_file_attach): Change bfd_errmsg to
        gdb_bfd_errmsg.
        gdb_bfd_errmsg.
        * utils.c (AMBIGUOUS_MESS1): New macro.
        * utils.c (AMBIGUOUS_MESS1): New macro.
        (AMBIGUOUS_MESS2): New macro.
        (AMBIGUOUS_MESS2): New macro.
        (gdb_bfd_errmsg): New function.
        (gdb_bfd_errmsg): New function.
2010-02-04  Doug Evans  
2010-02-04  Doug Evans  
        * solib-svr4.c (enable_break): Add comment.
        * solib-svr4.c (enable_break): Add comment.
2010-02-04  Anthony Green  
2010-02-04  Anthony Green  
        * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis
        * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis
        gracefully.
        gracefully.
2010-02-04  Tom Tromey  
2010-02-04  Tom Tromey  
        * valops.c (search_struct_field): Account for
        * valops.c (search_struct_field): Account for
        value_embedded_offset.  Fix check for virtual base past the end of
        value_embedded_offset.  Fix check for virtual base past the end of
        the object.  Use value_copy when making a slice of the value.
        the object.  Use value_copy when making a slice of the value.
2010-02-04  H.J. Lu  
2010-02-04  H.J. Lu  
        PR tui/9622
        PR tui/9622
        * tui/tui-interp.c (tui_init): Call tui_initialize_readline
        * tui/tui-interp.c (tui_init): Call tui_initialize_readline
        only if gdb_stdout is a tty.
        only if gdb_stdout is a tty.
2010-02-04  H.J. Lu  
2010-02-04  H.J. Lu  
        * target-descriptions.c: Include "osabi.h".
        * target-descriptions.c: Include "osabi.h".
        (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid
        (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid
        OSABI.
        OSABI.
2010-02-04  Tristan Gingold  
2010-02-04  Tristan Gingold  
        * machoread.c (macho_add_oso): Renamed to macho_register_oso.
        * machoread.c (macho_add_oso): Renamed to macho_register_oso.
        (macho_symtab_read): Adjust calls to macho_add_oso.
        (macho_symtab_read): Adjust calls to macho_add_oso.
        (macho_oso_symfile): Renamed to macho_symfile_read_all_oso.
        (macho_oso_symfile): Renamed to macho_symfile_read_all_oso.
        (macho_symfile_read): Adjust call to macho_oso_symfile.
        (macho_symfile_read): Adjust call to macho_oso_symfile.
        (macho_new_init): Move this function after declarations.
        (macho_new_init): Move this function after declarations.
        (macho_symfile_init): Ditto.
        (macho_symfile_init): Ditto.
        * darwin-nat-info.c (darwin_lib_gdb_ports): Remove.
        * darwin-nat-info.c (darwin_lib_gdb_ports): Remove.
        * darwin-nat.c (darwin_lookup_task): Remove unused prototype.
        * darwin-nat.c (darwin_lookup_task): Remove unused prototype.
2010-02-04  Vladimir Prus  
2010-02-04  Vladimir Prus  
        Include MI command in remotelog.
        Include MI command in remotelog.
        * mi/mi-main.c (mi_execute_command): Call target_log_command.
        * mi/mi-main.c (mi_execute_command): Call target_log_command.
2010-02-03  H.J. Lu  
2010-02-03  H.J. Lu  
        * remote.c (remote_state): Remove gdbarch.
        * remote.c (remote_state): Remove gdbarch.
        (init_remote_state): Don't set gdbarch.
        (init_remote_state): Don't set gdbarch.
        (remote_query_supported): Pass target_gdbarch instead of
        (remote_query_supported): Pass target_gdbarch instead of
        rs->gdbarch to gdbarch_qsupported.
        rs->gdbarch to gdbarch_qsupported.
2010-02-03  H.J. Lu  
2010-02-03  H.J. Lu  
        * gdbarch.sh: Add qsupported.
        * gdbarch.sh: Add qsupported.
        * gdbarch.c: Regenerated.
        * gdbarch.c: Regenerated.
        * gdbarch.h: Likewise.
        * gdbarch.h: Likewise.
        * remote.c (remote_state): Add gdbarch.
        * remote.c (remote_state): Add gdbarch.
        (init_remote_state): Set gdbarch.
        (init_remote_state): Set gdbarch.
        (remote_query_supported): Support gdbarch_qsupported.
        (remote_query_supported): Support gdbarch_qsupported.
2010-02-03  Daniel Jacobowitz  
2010-02-03  Daniel Jacobowitz  
        * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for
        * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for
        __FreeBSD_kernel_version.
        __FreeBSD_kernel_version.
2010-02-03  Tristan Gingold  
2010-02-03  Tristan Gingold  
        * symfile.h (struct sym_fns): Add sym_relocate field.
        * symfile.h (struct sym_fns): Add sym_relocate field.
        (default_symfile_relocate): New prototype.
        (default_symfile_relocate): New prototype.
        (symfile_relocate_debug_section): First argument is now an objfile.
        (symfile_relocate_debug_section): First argument is now an objfile.
        * symfile.c (default_symfile_relocate): Rename from
        * symfile.c (default_symfile_relocate): Rename from
        symfile_relocate_debug_section, first argument is now an objfile.
        symfile_relocate_debug_section, first argument is now an objfile.
        (symfile_relocate_debug_section): New function.
        (symfile_relocate_debug_section): New function.
        * coffread.c (coff_sym_fns): Set sym_relocate field.
        * coffread.c (coff_sym_fns): Set sym_relocate field.
        * somread.c (som_sym_fns): Ditto.
        * somread.c (som_sym_fns): Ditto.
        * mipsread.c (ecoff_sym_fns): Ditto.
        * mipsread.c (ecoff_sym_fns): Ditto.
        * machoread.c (macho_sym_fns): Ditto.
        * machoread.c (macho_sym_fns): Ditto.
        * elfread.c (elf_sym_fns): Ditto.
        * elfread.c (elf_sym_fns): Ditto.
        * dwarf2read.c (dwarf2_read_section): Ditto.
        * dwarf2read.c (dwarf2_read_section): Ditto.
        * xcoffread.c (xcoff_sym_fns): Ditto.
        * xcoffread.c (xcoff_sym_fns): Ditto.
        * dbxread.c (aout_sym_fns): Ditto.
        * dbxread.c (aout_sym_fns): Ditto.
        (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section.
        (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section.
        (elfstab_build_psymtabs): Ditto.
        (elfstab_build_psymtabs): Ditto.
2010-02-03  H.J. Lu  
2010-02-03  H.J. Lu  
        * defs.h (MAX_REGISTER_SIZE): Increase to 32.
        * defs.h (MAX_REGISTER_SIZE): Increase to 32.
2010-02-02  Tom Tromey  
2010-02-02  Tom Tromey  
        * valops.c (value_cast_structs): Try downcasting using the RTTI
        * valops.c (value_cast_structs): Try downcasting using the RTTI
        type.
        type.
2010-02-02  Tom Tromey  
2010-02-02  Tom Tromey  
        * gnu-v2-abi.c: Don't include gnu-v2-abi.h.
        * gnu-v2-abi.c: Don't include gnu-v2-abi.h.
        (gnuv2_baseclass_offset): Now static.
        (gnuv2_baseclass_offset): Now static.
        * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h.
        * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h.
        * gnu-v2-abi.h: Remove.
        * gnu-v2-abi.h: Remove.
2010-02-02  Tom Tromey  
2010-02-02  Tom Tromey  
        * m2-typeprint.c (m2_record_fields): Don't use
        * m2-typeprint.c (m2_record_fields): Don't use
        TYPE_DECLARED_TYPE.
        TYPE_DECLARED_TYPE.
        * gdbtypes.h (TYPE_DECLARED_CLASS): New macro.
        * gdbtypes.h (TYPE_DECLARED_CLASS): New macro.
        (struct main_type) : New field.
        (struct main_type) : New field.
        (struct cplus_struct_type) : Remove.
        (struct cplus_struct_type) : Remove.
        : Move earlier.
        : Move earlier.
        (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT)
        (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT)
        (DECLARED_TYPE_TEMPLATE): Remove.
        (DECLARED_TYPE_TEMPLATE): Remove.
        (TYPE_DECLARED_TYPE): Remove.
        (TYPE_DECLARED_TYPE): Remove.
        * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE.
        * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE.
        * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS.
        * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS.
        * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not
        * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not
        TYPE_DECLARED_TYPE.
        TYPE_DECLARED_TYPE.
2010-02-02  Tom Tromey  
2010-02-02  Tom Tromey  
        PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
        PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
        * valops.c (search_struct_field): Compute nbases after calling
        * valops.c (search_struct_field): Compute nbases after calling
        CHECK_TYPEDEF.
        CHECK_TYPEDEF.
        (check_field): Call CHECK_TYPEDEF.
        (check_field): Call CHECK_TYPEDEF.
        * cp-valprint.c (cp_print_value): Pass correct address to
        * cp-valprint.c (cp_print_value): Pass correct address to
        baseclass_offset.  Fix check for virtual base past the end of the
        baseclass_offset.  Fix check for virtual base past the end of the
        object.  Don't offset address passed to cp_print_value_fields or
        object.  Don't offset address passed to cp_print_value_fields or
        apply_val_pretty_printer.
        apply_val_pretty_printer.
        (cp_print_value_fields): Fix call to val_print.
        (cp_print_value_fields): Fix call to val_print.
        (cp_print_value_fields_rtti): New function.
        (cp_print_value_fields_rtti): New function.
        * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti.
        * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti.
        * p-valprint.c (pascal_object_print_value_fields): Fix call to
        * p-valprint.c (pascal_object_print_value_fields): Fix call to
        val_print.
        val_print.
        * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded
        * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded
        offset to address.
        offset to address.
        * language.h (struct language_defn) : Document.
        * language.h (struct language_defn) : Document.
        * c-lang.h (cp_print_value_fields_rtti): Declare.
        * c-lang.h (cp_print_value_fields_rtti): Declare.
2010-02-01  Jan Kratochvil  
2010-02-01  Jan Kratochvil  
        PR libc/11214:
        PR libc/11214:
        * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New.
        * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New.
        (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU].
        (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU].
        (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New.
        (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New.
2010-02-01  Michael Matz  
2010-02-01  Michael Matz  
            Daniel Jacobowitz  
            Daniel Jacobowitz  
        * i386-tdep.c (i386_frame_cache): Assume valid anonymous
        * i386-tdep.c (i386_frame_cache): Assume valid anonymous
        functions use a frame pointer.
        functions use a frame pointer.
2010-02-01  Jan Kratochvil  
2010-02-01  Jan Kratochvil  
        * solib-svr4.c (scan_dyntag): New variable dyn_addr.  Replace gdb_assert
        * solib-svr4.c (scan_dyntag): New variable dyn_addr.  Replace gdb_assert
        by a conditional setting DYN_ADDR.  Use DYN_ADDR.
        by a conditional setting DYN_ADDR.  Use DYN_ADDR.
        * config/djgpp/fnchange.lst: Add translations for
        * config/djgpp/fnchange.lst: Add translations for
        symbol-without-target_section.exp and symbol-without-target_section.c.
        symbol-without-target_section.exp and symbol-without-target_section.c.
2010-02-01  Daniel Jacobowitz  
2010-02-01  Daniel Jacobowitz  
        * gdbarch.sh: Set LANG and LC_ALL to C, not c.
        * gdbarch.sh: Set LANG and LC_ALL to C, not c.
        (remote_breakpoint_for_pc): Correct invalid_p check.
        (remote_breakpoint_for_pc): Correct invalid_p check.
        * gdbarch.c: Regenerated.
        * gdbarch.c: Regenerated.
2010-02-01  Daniel Jacobowitz  
2010-02-01  Daniel Jacobowitz  
        * arm-tdep.c (arm_find_mapping_symbol): New function, from
        * arm-tdep.c (arm_find_mapping_symbol): New function, from
        arm_pc_is_thumb.
        arm_pc_is_thumb.
        (arm_pc_is_thumb): Use arm_find_mapping_symbol.
        (arm_pc_is_thumb): Use arm_find_mapping_symbol.
        (extend_buffer_earlier): New function.
        (extend_buffer_earlier): New function.
        (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants.
        (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants.
        (arm_adjust_breakpoint_address): New function.
        (arm_adjust_breakpoint_address): New function.
        (arm_gdbarch_init): Register arm_adjust_breakpoint_address.
        (arm_gdbarch_init): Register arm_adjust_breakpoint_address.
2010-02-01  Daniel Jacobowitz  
2010-02-01  Daniel Jacobowitz  
        * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
        * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
        (arm_linux_thumb2_le_breakpoint): New constants.
        (arm_linux_thumb2_le_breakpoint): New constants.
        (arm_linux_init_abi): Set thumb2_breakpoint and
        (arm_linux_init_abi): Set thumb2_breakpoint and
        thumb2_breakpoint_size.
        thumb2_breakpoint_size.
        * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions.
        * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions.
        (thumb_get_next_pc): Add a comment.  Rename IT to ITSTATE.
        (thumb_get_next_pc): Add a comment.  Rename IT to ITSTATE.
        Implement support for single stepping through IT blocks if
        Implement support for single stepping through IT blocks if
        a 32-bit Thumb breakpoint instruction is available.
        a 32-bit Thumb breakpoint instruction is available.
        (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction
        (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction
        is available, use it when needed.
        is available, use it when needed.
        (arm_remote_breakpoint_from_pc): New function.
        (arm_remote_breakpoint_from_pc): New function.
        (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc.
        (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc.
        * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint
        * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint
        comment.  Add thumb2_breakpoint and thumb2_breakpoint_size.
        comment.  Add thumb2_breakpoint and thumb2_breakpoint_size.
2010-02-01  Daniel Jacobowitz  
2010-02-01  Daniel Jacobowitz  
        * arch-utils.c (default_remote_breakpoint_from_pc): New function.
        * arch-utils.c (default_remote_breakpoint_from_pc): New function.
        * arch-utils.h (default_remote_breakpoint_from_pc): Declare.
        * arch-utils.h (default_remote_breakpoint_from_pc): Declare.
        * gdbarch.c, gdbarch.h: Regenerated.
        * gdbarch.c, gdbarch.h: Regenerated.
        * gdbarch.sh (remote_breakpoint_from_pc): New architecture method.
        * gdbarch.sh (remote_breakpoint_from_pc): New architecture method.
        * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use
        * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use
        gdbarch_remote_breakpoint_from_pc.
        gdbarch_remote_breakpoint_from_pc.
2010-01-29  Daniel Jacobowitz  
2010-01-29  Daniel Jacobowitz  
        * infrun.c (prepare_to_proceed): Handle other signals which might
        * infrun.c (prepare_to_proceed): Handle other signals which might
        match a breakpoint.
        match a breakpoint.
        (handle_inferior_event): Move the check for unusual breakpoint
        (handle_inferior_event): Move the check for unusual breakpoint
        signals earlier.
        signals earlier.
2010-01-29  Paul Hilfinger  
2010-01-29  Paul Hilfinger  
        amd64 - function returning record with field straddling 2 registers.
        amd64 - function returning record with field straddling 2 registers.
        * amd64-tdep.c (amd_classify_aggregate): Handle the case of
        * amd64-tdep.c (amd_classify_aggregate): Handle the case of
        a record of length <= 16 in which a field straddles the two
        a record of length <= 16 in which a field straddles the two
        eightbytes.
        eightbytes.
2010-01-29  Joel Brobecker  
2010-01-29  Joel Brobecker  
        Implement return values on amd64-windows.
        Implement return values on amd64-windows.
        * amd64-windows-tdep.c: #include gdbcore.h and regcache.h.
        * amd64-windows-tdep.c: #include gdbcore.h and regcache.h.
        (amd64_windows_return_value): New function.
        (amd64_windows_return_value): New function.
        (amd64_windows_init_abi): Call set_gdbarch_return_value with
        (amd64_windows_init_abi): Call set_gdbarch_return_value with
        amd64_windows_return_value.
        amd64_windows_return_value.
2010-01-29  Joel Brobecker  
2010-01-29  Joel Brobecker  
        amd64-windows: 32 bytes allocated on stack by caller for integer
        amd64-windows: 32 bytes allocated on stack by caller for integer
        parameter registers.
        parameter registers.
        * i386-tdep.h (struct gdbarch_tdep): Add new field
        * i386-tdep.h (struct gdbarch_tdep): Add new field
        integer_param_regs_saved_in_caller_frame.
        integer_param_regs_saved_in_caller_frame.
        * amd64-windows-tdep.c (amd64_windows_init_abi): Set
        * amd64-windows-tdep.c (amd64_windows_init_abi): Set
        tdep->integer_param_regs_saved_in_caller_frame to 1.
        tdep->integer_param_regs_saved_in_caller_frame to 1.
        * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
        * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
        stack if tdep->integer_param_regs_saved_in_caller_frame is set.
        stack if tdep->integer_param_regs_saved_in_caller_frame is set.
2010-01-29  Joel Brobecker  
2010-01-29  Joel Brobecker  
        amd64-windows: memory args passed by pointer during function calls.
        amd64-windows: memory args passed by pointer during function calls.
        * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
        * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
        * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
        * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
        where tdep->memory_args_by_pointer is non-zero.
        where tdep->memory_args_by_pointer is non-zero.
        * amd64-windows-tdep.c (amd64_windows_init_abi): Set
        * amd64-windows-tdep.c (amd64_windows_init_abi): Set
        tdep->memory_args_by_pointer to 1.
        tdep->memory_args_by_pointer to 1.
2010-01-29  Joel Brobecker  
2010-01-29  Joel Brobecker  
        amd64-windows: Integer parameters in function calls.
        amd64-windows: Integer parameters in function calls.
        * i386-tdep.h (enum amd64_reg_class): New, moved here from
        * i386-tdep.h (enum amd64_reg_class): New, moved here from
        amd64-tdep.c.
        amd64-tdep.c.
        (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
        (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
        call_dummy_integer_regs, and classify.
        call_dummy_integer_regs, and classify.
        * amd64-tdep.h (amd64_classify): Add declaration.
        * amd64-tdep.h (amd64_classify): Add declaration.
        * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
        * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
        (amd64_reg_class): Delete, moved to i386-tdep.h.
        (amd64_reg_class): Delete, moved to i386-tdep.h.
        (amd64_classify): Make non-static.  Move declaration to amd64-tdep.h.
        (amd64_classify): Make non-static.  Move declaration to amd64-tdep.h.
        Replace call to amd64_classify by call to tdep->classify.
        Replace call to amd64_classify by call to tdep->classify.
        (amd64_push_arguments): Get the list of registers to use for
        (amd64_push_arguments): Get the list of registers to use for
        passing integer parameters from the gdbarch tdep structure,
        passing integer parameters from the gdbarch tdep structure,
        rather than using a hardcoded one.  Replace calls to amd64_classify
        rather than using a hardcoded one.  Replace calls to amd64_classify
        by calls to tdep->classify.
        by calls to tdep->classify.
        (amd64_push_dummy_call): Get the register number used for
        (amd64_push_dummy_call): Get the register number used for
        the "hidden" argument from tdep->call_dummy_integer_regs.
        the "hidden" argument from tdep->call_dummy_integer_regs.
        (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
        (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
        and tdep->call_dummy_integer_regs.  Set tdep->classify.
        and tdep->call_dummy_integer_regs.  Set tdep->classify.
        * amd64-windows-tdep.c: Add include of gdbtypes.h.
        * amd64-windows-tdep.c: Add include of gdbtypes.h.
        (amd64_windows_dummy_call_integer_regs): New static global.
        (amd64_windows_dummy_call_integer_regs): New static global.
        (amd64_windows_classify): New function.
        (amd64_windows_classify): New function.
        (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs
        (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs
        tdep->call_dummy_integer_regs and tdep->classify.
        tdep->call_dummy_integer_regs and tdep->classify.
2010-01-28  Daniel Jacobowitz  
2010-01-28  Daniel Jacobowitz  
        * regcache.c (regcache_xmalloc): Add aspace argument.  Use it
        * regcache.c (regcache_xmalloc): Add aspace argument.  Use it
        for the new regcache.  All callers updated.
        for the new regcache.  All callers updated.
        (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here.
        (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here.
        (get_thread_arch_regcache): Do not set aspace here.
        (get_thread_arch_regcache): Do not set aspace here.
        * regcache.h (regcache_xmalloc): Update declaration.
        * regcache.h (regcache_xmalloc): Update declaration.
        * frame.c, infcall.c, ppc-linux-tdep.c: Calls to
        * frame.c, infcall.c, ppc-linux-tdep.c: Calls to
        regcache_xmalloc updated.
        regcache_xmalloc updated.
2010-01-28  Joel Brobecker  
2010-01-28  Joel Brobecker  
        Another -Wunused-function error in procfs.c (sparc-solaris)
        Another -Wunused-function error in procfs.c (sparc-solaris)
        * procfs.c (insert_dbx_link_breakpoint): Delete declaration.  Move up.
        * procfs.c (insert_dbx_link_breakpoint): Delete declaration.  Move up.
        Only define if SYS_syssgi is defined.
        Only define if SYS_syssgi is defined.
        (remove_dbx_link_breakpoint): Delete declaration.  Move up.
        (remove_dbx_link_breakpoint): Delete declaration.  Move up.
        (dbx_link_addr, insert_dbx_link_bpt_in_file)
        (dbx_link_addr, insert_dbx_link_bpt_in_file)
        (insert_dbx_link_bpt_in_region): Move up.  Only define if SYS_syssgi
        (insert_dbx_link_bpt_in_region): Move up.  Only define if SYS_syssgi
        is itself defined.
        is itself defined.
2010-01-27  Christopher Faylor  
2010-01-27  Christopher Faylor  
        * windows-nat.c (windows_initialization_done): New variable.
        * windows-nat.c (windows_initialization_done): New variable.
        (get_windows_debug_event): Issue error when process dies before
        (get_windows_debug_event): Issue error when process dies before
        completely initializing.
        completely initializing.
        (do_initial_windows_stuff): Set flag to indicate when we are done with
        (do_initial_windows_stuff): Set flag to indicate when we are done with
        the initial steps of attaching to the child.
        the initial steps of attaching to the child.
2010-01-27  Jan Kratochvil  
2010-01-27  Jan Kratochvil  
        * symtab.h (struct symbol ): New comment on NULL values.
        * symtab.h (struct symbol ): New comment on NULL values.
2010-01-27  Doug Evans  
2010-01-27  Doug Evans  
        * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.
        * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.
        * breakpoint.c (bpstat_stop_status): Delete useless code.
        * breakpoint.c (bpstat_stop_status): Delete useless code.
2010-01-27  Jan Kratochvil  
2010-01-27  Jan Kratochvil  
        * printcmd.c (display_uses_solib_p): Remove variable section.  Access
        * printcmd.c (display_uses_solib_p): Remove variable section.  Access
        objfile via SYMBOL_SYMTAB.
        objfile via SYMBOL_SYMTAB.
2010-01-26  Tom Tromey  
2010-01-26  Tom Tromey  
        PR exp/7643:
        PR exp/7643:
        * eval.c (evaluate_subexp_for_address) : Call
        * eval.c (evaluate_subexp_for_address) : Call
        coerce_array on result.
        coerce_array on result.
2010-01-26  Sami Wagiaalla  
2010-01-26  Sami Wagiaalla  
        * cp-namespace.c (cp_lookup_symbol_namespace): Added
        * cp-namespace.c (cp_lookup_symbol_namespace): Added
        search_parent argument.
        search_parent argument.
        (cp_add_using): Initialize 'searched' field.
        (cp_add_using): Initialize 'searched' field.
        (reset_directive_searched): New function.
        (reset_directive_searched): New function.
        * cp-support.h: Add 'searched' field to using_direct struct.
        * cp-support.h: Add 'searched' field to using_direct struct.
        (cp_lookup_symbol_imports): Ditto.
        (cp_lookup_symbol_imports): Ditto.
        * cp-namespace.c (cp_lookup_symbol_imports): Ditto.
        * cp-namespace.c (cp_lookup_symbol_imports): Ditto.
        Perform recursive search.
        Perform recursive search.
        Implement non parent search.
        Implement non parent search.
        * valops.c (value_maybe_namespace_elt): Updated.
        * valops.c (value_maybe_namespace_elt): Updated.
2010-01-26  Sami Wagiaalla  
2010-01-26  Sami Wagiaalla  
        PR gdb/10929:
        PR gdb/10929:
        * dwarf2read.c (read_lexical_block_scope): Create blocks for
        * dwarf2read.c (read_lexical_block_scope): Create blocks for
        scopes which contain using directives even if they contain no
        scopes which contain using directives even if they contain no
        declarations.
        declarations.
        * symtab.c (lookup_symbol_aux): Pass lowest level block to
        * symtab.c (lookup_symbol_aux): Pass lowest level block to
        la_lookup_symbol_nonlocal.
        la_lookup_symbol_nonlocal.
        * cp-namespace.c (cp_lookup_symbol_nonlocal): call
        * cp-namespace.c (cp_lookup_symbol_nonlocal): call
        cp_lookup_symbol_namespace.
        cp_lookup_symbol_namespace.
        (cp_lookup_symbol_namespace): Perform an import lookup at every
        (cp_lookup_symbol_namespace): Perform an import lookup at every
        block level.
        block level.
        (cp_lookup_symbol_imports): New function.
        (cp_lookup_symbol_imports): New function.
        (cp_lookup_symbol_in_namespace): New function.
        (cp_lookup_symbol_in_namespace): New function.
2010-01-25  Tom Tromey  
2010-01-25  Tom Tromey  
        PR gdb/11049:
        PR gdb/11049:
        * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer
        * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer
        result.
        result.
2010-01-25  Rainer Orth  
2010-01-25  Rainer Orth  
        * configure.ac: Only use host_os part when disabling TUI on osf.
        * configure.ac: Only use host_os part when disabling TUI on osf.
        Use test to check variables, prefix strings with x.
        Use test to check variables, prefix strings with x.
        * configure: Regenerate.
        * configure: Regenerate.
        * solib-osf.c (osf_current_sos): Initialize tail.
        * solib-osf.c (osf_current_sos): Initialize tail.
2010-01-25  gingold  
2010-01-25  gingold  
        * windows-nat.c (windows_continue): Use %x to print thread id.
        * windows-nat.c (windows_continue): Use %x to print thread id.
        (get_windows_debug_event): Ditto.
        (get_windows_debug_event): Ditto.
2010-01-22  Tom Tromey  
2010-01-22  Tom Tromey  
        PR symtab/11199:
        PR symtab/11199:
        * dwarf2read.c (quirk_gcc_member_function_pointer): Change return
        * dwarf2read.c (quirk_gcc_member_function_pointer): Change return
        type and arguments.  Use smash_to_methodptr_type.
        type and arguments.  Use smash_to_methodptr_type.
        (read_structure_type): Call quirk_gcc_member_function_pointer
        (read_structure_type): Call quirk_gcc_member_function_pointer
        later.
        later.
        * gdbtypes.h (smash_to_methodptr_type): Declare.
        * gdbtypes.h (smash_to_methodptr_type): Declare.
        * gdbtypes.c (smash_to_methodptr_type): New function.
        * gdbtypes.c (smash_to_methodptr_type): New function.
        (lookup_methodptr_type): Use it.
        (lookup_methodptr_type): Use it.
2010-01-21  Tom Tromey  
2010-01-21  Tom Tromey  
        PR symtab/11198:
        PR symtab/11198:
        * symtab.h (lookup_minimal_symbol_and_objfile): Declare.
        * symtab.h (lookup_minimal_symbol_and_objfile): Declare.
        * minsyms.c (lookup_minimal_symbol_and_objfile): New function.
        * minsyms.c (lookup_minimal_symbol_and_objfile): New function.
        * glibc-tdep.c (find_minsym_and_objfile): Remove.
        * glibc-tdep.c (find_minsym_and_objfile): Remove.
        (glibc_skip_solib_resolver): Use
        (glibc_skip_solib_resolver): Use
        lookup_minimal_symbol_and_objfile.
        lookup_minimal_symbol_and_objfile.
2010-01-21  Kai Tietz  
2010-01-21  Kai Tietz  
        * inflow.c (check_syscall): Guard by #if clause for GO32 and
        * inflow.c (check_syscall): Guard by #if clause for GO32 and
        WIN32 targets.
        WIN32 targets.
2010-01-20  Tom Tromey  
2010-01-20  Tom Tromey  
        PR backtrace/10770:
        PR backtrace/10770:
        * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and
        * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and
        BINOP_GEQ.  Handle BINOP_NOTEQUAL in the signed case.
        BINOP_GEQ.  Handle BINOP_NOTEQUAL in the signed case.
        * dwarf2expr.c (new_dwarf_expr_context): Allocate
        * dwarf2expr.c (new_dwarf_expr_context): Allocate
        dwarf_stack_values, not CORE_ADDRs.
        dwarf_stack_values, not CORE_ADDRs.
        (execute_stack_op): Change DW_OP_div and comparison operators to
        (execute_stack_op): Change DW_OP_div and comparison operators to
        use signed operands.
        use signed operands.
2010-01-20  Vladimir Prus  
2010-01-20  Vladimir Prus  
        Per-inferior args and tty and environment.
        Per-inferior args and tty and environment.
        * infcmd.c (inferior_args): Rename to ...
        * infcmd.c (inferior_args): Rename to ...
        (inferior_args_scratch): ... this.
        (inferior_args_scratch): ... this.
        (inferior_io_terminal): Rename to ...
        (inferior_io_terminal): Rename to ...
        (inferior_io_terminal_scratch): ... this.
        (inferior_io_terminal_scratch): ... this.
        (inferior_argc, inferior_argv): Remove.
        (inferior_argc, inferior_argv): Remove.
        (set_inferior_io_terminal, get_inferior_io_terminal): Store
        (set_inferior_io_terminal, get_inferior_io_terminal): Store
        inside current_inferior().
        inside current_inferior().
        (set_inferior_tty_command, show_inferior_tty_command): New.
        (set_inferior_tty_command, show_inferior_tty_command): New.
        (get_inferior_args, set_inferior_args): Store inside
        (get_inferior_args, set_inferior_args): Store inside
        current_inferior().
        current_inferior().
        (notice_args_set): Likewise and rename to...
        (notice_args_set): Likewise and rename to...
        (set_args_command): ... this.
        (set_args_command): ... this.
        (set_inferior_args_vector): Likewise.
        (set_inferior_args_vector): Likewise.
        (notice_args_read): Rename to...
        (notice_args_read): Rename to...
        (show_args_command): ...new.
        (show_args_command): ...new.
        (tty_command): Remove.
        (tty_command): Remove.
        (run_command_1): Don't free old args, as they are freed by
        (run_command_1): Don't free old args, as they are freed by
        set_inferior_arg now.
        set_inferior_arg now.
        (run_no_args_command): Likewise.
        (run_no_args_command): Likewise.
        (inferior_environ): Remove.
        (inferior_environ): Remove.
        (run_command_1): Use environment of the current inferior.
        (run_command_1): Use environment of the current inferior.
        (environment_info, set_environment_command)
        (environment_info, set_environment_command)
        (unset_environment_command, path_info, path_command): Likewise.
        (unset_environment_command, path_info, path_command): Likewise.
        (_initialize_infcmd): Adjust for function and variable renames.
        (_initialize_infcmd): Adjust for function and variable renames.
        Do not init inferior_environ.
        Do not init inferior_environ.
        * inferior.h (set_inferior_arg): Adjust prototype.
        * inferior.h (set_inferior_arg): Adjust prototype.
        (struct inferior): New fields args, argc, argv, terminal, environment.
        (struct inferior): New fields args, argc, argv, terminal, environment.
        (inferior_environ): Remove declaration.
        (inferior_environ): Remove declaration.
        * inferior.c (free_inferior): Free new fields.
        * inferior.c (free_inferior): Free new fields.
        (add_inferior_silent): Initialize 'environment' field.
        (add_inferior_silent): Initialize 'environment' field.
        * main.c (captured_main): Set arguments only after the initial
        * main.c (captured_main): Set arguments only after the initial
        inferior has been created.  Set set_inferior_io_terminal,
        inferior has been created.  Set set_inferior_io_terminal,
        not tty_command.
        not tty_command.
        * mi/mi-main.c (mi_cmd_env_path): Use environment of the current
        * mi/mi-main.c (mi_cmd_env_path): Use environment of the current
        inferior.
        inferior.
        (_initialize_mi_cmd_env): Adjust for disappearance of global
        (_initialize_mi_cmd_env): Adjust for disappearance of global
        inferior_environ.
        inferior_environ.
        * solib.c (solib_find): Use environment of the current inferior.
        * solib.c (solib_find): Use environment of the current inferior.
2010-01-20  Jan Kratochvil  
2010-01-20  Jan Kratochvil  
        * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if
        * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if
        HAVE_PYTHON.
        HAVE_PYTHON.
        (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function.
        (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function.
2010-01-20  Joel Brobecker  
2010-01-20  Joel Brobecker  
        Get rid of ada-lang.c:function_name_from_pc.
        Get rid of ada-lang.c:function_name_from_pc.
        * ada-lang.c: Add "stack.h" #include.
        * ada-lang.c: Add "stack.h" #include.
        (function_name_from_pc): Delete.
        (function_name_from_pc): Delete.
        (is_known_support_routine): Replace call to function_name_from_pc
        (is_known_support_routine): Replace call to function_name_from_pc
        by call to find_frame_funname.
        by call to find_frame_funname.
        (ada_unhandled_exception_name_addr_from_raise): Likewise.
        (ada_unhandled_exception_name_addr_from_raise): Likewise.
2010-01-19  Tom Tromey  
2010-01-19  Tom Tromey  
        PR c++/11026:
        PR c++/11026:
        * dwarf2read.c (read_partial_die): Allocate partial DIE's name on
        * dwarf2read.c (read_partial_die): Allocate partial DIE's name on
        objfile obstack.
        objfile obstack.
2010-01-19  Tom Tromey  
2010-01-19  Tom Tromey  
        * top.c (stop_sig, float_handler, do_nothing): Remove.
        * top.c (stop_sig, float_handler, do_nothing): Remove.
2010-01-19  Jan Kratochvil  
2010-01-19  Jan Kratochvil  
        * breakpoint.c (watchpoint_check): Check the call
        * breakpoint.c (watchpoint_check): Check the call
        gdbarch_in_function_epilogue_p before calling frame_find_by_id.
        gdbarch_in_function_epilogue_p before calling frame_find_by_id.
        Extend the comment.
        Extend the comment.
        * config/djgpp/fnchange.lst: Add translations for
        * config/djgpp/fnchange.lst: Add translations for
        watchpoint-cond-gone.exp, watchpoint-cond-gone.c and
        watchpoint-cond-gone.exp, watchpoint-cond-gone.c and
        watchpoint-cond-gone-stripped.c.
        watchpoint-cond-gone-stripped.c.
2010-01-19  Tom Tromey  
2010-01-19  Tom Tromey  
        PR c++/8000:
        PR c++/8000:
        * dwarf2read.c (partial_die_parent_scope): Put enumeration type
        * dwarf2read.c (partial_die_parent_scope): Put enumeration type
        into parent scope, and enumerator into grandparent scope.
        into parent scope, and enumerator into grandparent scope.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands.
        * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of
        * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of
        i[34567]86-*-solaris2.1[0-9]*.
        i[34567]86-*-solaris2.1[0-9]*.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        * NEWS: Document the source command enhancement allowing it
        * NEWS: Document the source command enhancement allowing it
        to load Python scripts. Document the "set/show script-extension"
        to load Python scripts. Document the "set/show script-extension"
        commands.
        commands.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        Add -Wunused-function to compile flags.
        Add -Wunused-function to compile flags.
        * configure.ac: Add -Wunused-function to build_warnings.
        * configure.ac: Add -Wunused-function to build_warnings.
        * configure: Regenerate.
        * configure: Regenerate.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        "delete" ada-lex.c:input function, not used.
        "delete" ada-lex.c:input function, not used.
        * ada-lex.l: #define YY_NO_INPUT.
        * ada-lex.l: #define YY_NO_INPUT.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        Delete free_named_symtabs and associated cleanup.
        Delete free_named_symtabs and associated cleanup.
        * symfile.h (free_named_symtabs): Delete declaration.
        * symfile.h (free_named_symtabs): Delete declaration.
        * symfile.c: Remove some commented out code (clear_symtab_users_once).
        * symfile.c: Remove some commented out code (clear_symtab_users_once).
        (cashier_psymtab): Comment function out.
        (cashier_psymtab): Comment function out.
        Delete declaration.
        Delete declaration.
        (free_named_symtabs): Delete.
        (free_named_symtabs): Delete.
        * coffread.c (coff_end_symtab): Remove call to free_named_symtabs.
        * coffread.c (coff_end_symtab): Remove call to free_named_symtabs.
        * dbxread.c (end_psymtab): Likewise.
        * dbxread.c (end_psymtab): Likewise.
        * dwarf2read.c (process_psymtab_comp_unit): Ditto.
        * dwarf2read.c (process_psymtab_comp_unit): Ditto.
        * exec.c (exec_close_1): Ditto.
        * exec.c (exec_close_1): Ditto.
        * xcoffread.c (xcoff_end_psymtab): Likewise.
        * xcoffread.c (xcoff_end_psymtab): Likewise.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        * stack.c (print_block_frame_labels): Comment function out.
        * stack.c (print_block_frame_labels): Comment function out.
2010-01-19  Joel Brobecker  
2010-01-19  Joel Brobecker  
        Delete unused or undefined functions.
        Delete unused or undefined functions.
        * breakpoint.c (ep_parse_optional_filename): Delete.
        * breakpoint.c (ep_parse_optional_filename): Delete.
        * dcache.c (dcache_write_line): Remove declaration.
        * dcache.c (dcache_write_line): Remove declaration.
        * infrun.c (build_infrun): Remove declaration.
        * infrun.c (build_infrun): Remove declaration.
        * tracepoint.c (tracepoint_save_command): Remove declaration.
        * tracepoint.c (tracepoint_save_command): Remove declaration.
        * linux-nat.c (init_lwp_list): Delete. No longer used.
        * linux-nat.c (init_lwp_list): Delete. No longer used.
        * event-loop.c (check_async_signal_handlers): Delete declaration.
        * event-loop.c (check_async_signal_handlers): Delete declaration.
        * infrun.c (init_execution_control_state): Delete.
        * infrun.c (init_execution_control_state): Delete.
        (proceed): Update comment to avoid mentioning
        (proceed): Update comment to avoid mentioning
        init_execution_control_state.
        init_execution_control_state.
        * target.c (kill_or_be_killed, nosupport_runtime): Delete.
        * target.c (kill_or_be_killed, nosupport_runtime): Delete.
        * ada-lang.c (ada_to_static_fixed_value): Delete.
        * ada-lang.c (ada_to_static_fixed_value): Delete.
        * scm-lang.c (evaluate_subexp_scm): Delete declaration.
        * scm-lang.c (evaluate_subexp_scm): Delete declaration.
        * cp-namespace.c (cp_copy_usings): Delete.
        * cp-namespace.c (cp_copy_usings): Delete.
        * xml-syscall.c (xml_number_of_syscalls): Delete.
        * xml-syscall.c (xml_number_of_syscalls): Delete.
        * progspace.c (find_program_space_by_num): Delete.
        * progspace.c (find_program_space_by_num): Delete.
        * inflow.c (handle_sigio): Delete declaration.
        * inflow.c (handle_sigio): Delete declaration.
        * hppa-tdep.c (hppa_alignof): Delete.
        * hppa-tdep.c (hppa_alignof): Delete.
        * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset)
        * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset)
        (mipsnbsd_core_osabi_sniffer): Delete.
        (mipsnbsd_core_osabi_sniffer): Delete.
2010-01-18  Tom Tromey  
2010-01-18  Tom Tromey  
        PR c++/9680:
        PR c++/9680:
        * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST)
        * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST)
        (CONST_CAST): New tokens.
        (CONST_CAST): New tokens.
        (exp): Add new productions.
        (exp): Add new productions.
        (ident_tokens): Add const_cast, dynamic_cast, static_cast, and
        (ident_tokens): Add const_cast, dynamic_cast, static_cast, and
        reinterpret_cast.
        reinterpret_cast.
        (is_cast_operator): New function.
        (is_cast_operator): New function.
        (yylex): Handle cast operators specially.
        (yylex): Handle cast operators specially.
        * eval.c (evaluate_subexp_standard) 
        * eval.c (evaluate_subexp_standard) 
        UNOP_REINTERPRET_CAST>: New cases.
        UNOP_REINTERPRET_CAST>: New cases.
        * expprint.c (print_subexp_standard): Likewise.
        * expprint.c (print_subexp_standard): Likewise.
        (op_name_standard): Likewise.
        (op_name_standard): Likewise.
        (dump_subexp_body_standard): Likewise.
        (dump_subexp_body_standard): Likewise.
        * parse.c (operator_length_standard): Likewise.
        * parse.c (operator_length_standard): Likewise.
        * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST,
        * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST,
        UNOP_REINTERPRET_CAST.
        UNOP_REINTERPRET_CAST.
        * gdbtypes.c (class_types_same_p): New function.
        * gdbtypes.c (class_types_same_p): New function.
        (is_ancestor): Use it.
        (is_ancestor): Use it.
        (is_public_ancestor): New function.
        (is_public_ancestor): New function.
        (is_unique_ancestor_worker): Likewise.
        (is_unique_ancestor_worker): Likewise.
        (is_unique_ancestor): Likewise.
        (is_unique_ancestor): Likewise.
        * gdbtypes.h (class_types_same_p, is_public_ancestor)
        * gdbtypes.h (class_types_same_p, is_public_ancestor)
        (is_unique_ancestor): Declare.
        (is_unique_ancestor): Declare.
        * valops.c (value_reinterpret_cast): New function.
        * valops.c (value_reinterpret_cast): New function.
        (dynamic_cast_check_1): Likewise.
        (dynamic_cast_check_1): Likewise.
        (dynamic_cast_check_2): Likewise.
        (dynamic_cast_check_2): Likewise.
        (value_dynamic_cast): Likewise.
        (value_dynamic_cast): Likewise.
        * value.h (value_reinterpret_cast, value_dynamic_cast): Declare.
        * value.h (value_reinterpret_cast, value_dynamic_cast): Declare.
2010-01-18  Joel Brobecker  
2010-01-18  Joel Brobecker  
        Fix build failure when building without Python support.
        Fix build failure when building without Python support.
        * python/python.c: Always include exceptions.h, even when HAVE_PYTHON
        * python/python.c: Always include exceptions.h, even when HAVE_PYTHON
        is not defined.
        is not defined.
2010-01-18  Joel Brobecker  
2010-01-18  Joel Brobecker  
        Use XVS field type instead of doing a parallel lookup.
        Use XVS field type instead of doing a parallel lookup.
        * ada-lang.c (ada_get_base_type): Follow the XVS field type
        * ada-lang.c (ada_get_base_type): Follow the XVS field type
        if it is a reference type instead of doing a type lookup using
        if it is a reference type instead of doing a type lookup using
        the XVS field name.
        the XVS field name.
2010-01-18  Joel Brobecker  
2010-01-18  Joel Brobecker  
        Trust PAD types instead of using PAD___XVS.
        Trust PAD types instead of using PAD___XVS.
        * ada-lang.c (trust_pad_over_xvs): New static variable.
        * ada-lang.c (trust_pad_over_xvs): New static variable.
        (ada_is_aligner_type): If !trust_pad_over_xvs and there is a
        (ada_is_aligner_type): If !trust_pad_over_xvs and there is a
        parallel XVS type, follow the XVS type instead of the PAD type.
        parallel XVS type, follow the XVS type instead of the PAD type.
        (unwrap_value): Make sure that there is no parallel XVE type
        (unwrap_value): Make sure that there is no parallel XVE type
        before returning the value as is.
        before returning the value as is.
        (set_ada_list, show_ada_list): New static variables.
        (set_ada_list, show_ada_list): New static variables.
        (set_ada_command, show_ada_command): New functions.
        (set_ada_command, show_ada_command): New functions.
        (_initialize_ada_language): Add new "set/show ada" prefix commands.
        (_initialize_ada_language): Add new "set/show ada" prefix commands.
        Add new "set/show ada trust-PAD-over-XVS" setting.
        Add new "set/show ada trust-PAD-over-XVS" setting.
2010-01-18  Tom Tromey  
2010-01-18  Tom Tromey  
            Thiago Jung Bauermann  
            Thiago Jung Bauermann  
        Allow "source" to load python scripts.
        Allow "source" to load python scripts.
        * exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
        * exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
        * python/python.c (source_python_script): New function.
        * python/python.c (source_python_script): New function.
        * python/python.h (source_python_script): Add declaration.
        * python/python.h (source_python_script): Add declaration.
        * cli/cli-cmds.c: #include exceptions.h and python/python.h.
        * cli/cli-cmds.c: #include exceptions.h and python/python.h.
        (script_ext_off, script_ext_soft, script_ext_strict)
        (script_ext_off, script_ext_soft, script_ext_strict)
        (script_ext_enums, script_ext_mode): New static constants.
        (script_ext_enums, script_ext_mode): New static constants.
        (show_script_ext_mode, find_and_open_script): New functions.
        (show_script_ext_mode, find_and_open_script): New functions.
        (source_script): Enhance to handle Python scripts.
        (source_script): Enhance to handle Python scripts.
        (init_cli_cmds): Add set/show script-extension commands.
        (init_cli_cmds): Add set/show script-extension commands.
2010-01-16  Stan Shebs  
2010-01-16  Stan Shebs  
        * tracepoint.h (struct trace_status): Use unsigned long long
        * tracepoint.h (struct trace_status): Use unsigned long long
        instead of size_t.
        instead of size_t.
        * tracepoint.c (trace_status_command): Fix printf directive.
        * tracepoint.c (trace_status_command): Fix printf directive.
        (trace_save_command): Check fwrite returns, fix printf directive.
        (trace_save_command): Check fwrite returns, fix printf directive.
        (trace_filename): New global.
        (trace_filename): New global.
        (tfile_open): Set it, check read returns.
        (tfile_open): Set it, check read returns.
        (tfile_close): Free trace_filename.
        (tfile_close): Free trace_filename.
        (tfile_get_traceframe_address): Check read returns.
        (tfile_get_traceframe_address): Check read returns.
        (tfile_trace_find): Ditto.
        (tfile_trace_find): Ditto.
        (tfile_fetch_registers): Ditto.
        (tfile_fetch_registers): Ditto.
        (tfile_xfer_partial): Ditto.
        (tfile_xfer_partial): Ditto.
        (tfile_get_trace_state_variable_value): Ditto.
        (tfile_get_trace_state_variable_value): Ditto.
2010-01-15  Stan Shebs  
2010-01-15  Stan Shebs  
        Add trace file support.
        Add trace file support.
        * tracepoint.h (enum trace_stop_reason): New enum.
        * tracepoint.h (enum trace_stop_reason): New enum.
        (struct trace_status): New struct.
        (struct trace_status): New struct.
        (parse_trace_status): Declare.
        (parse_trace_status): Declare.
        (struct uploaded_tp): Move here from remote.c,
        (struct uploaded_tp): Move here from remote.c,
        add fields for actions.
        add fields for actions.
        (struct uploaded_tsv): New struct.
        (struct uploaded_tsv): New struct.
        * tracepoint.c (tfile_ops): New target vector.
        * tracepoint.c (tfile_ops): New target vector.
        (trace_fd): New global.
        (trace_fd): New global.
        (tfile_open): New function.
        (tfile_open): New function.
        (tfile_close): New function.
        (tfile_close): New function.
        (tfile_files_info): New function.
        (tfile_files_info): New function.
        (tfile_get_trace_status): New function.
        (tfile_get_trace_status): New function.
        (tfile_get_traceframe_address): New function.
        (tfile_get_traceframe_address): New function.
        (tfile_trace_find): New function.
        (tfile_trace_find): New function.
        (tfile_fetch_registers): New function.
        (tfile_fetch_registers): New function.
        (tfile_xfer_partial): New function.
        (tfile_xfer_partial): New function.
        (tfile_get_trace_state_variable_value): New function.
        (tfile_get_trace_state_variable_value): New function.
        (init_tfile_ops): New function.
        (init_tfile_ops): New function.
        (_initialize_tracepoint): Call it, add tfile target.
        (_initialize_tracepoint): Call it, add tfile target.
        (trace_status): New global.
        (trace_status): New global.
        (current_trace_status): New function.
        (current_trace_status): New function.
        (trace_running_p): Remove, change all users to get from
        (trace_running_p): Remove, change all users to get from
        current_trace_status()->running.
        current_trace_status()->running.
        (get_trace_status): Remove.
        (get_trace_status): Remove.
        (trace_status_command): Call target_get_trace_status directly,
        (trace_status_command): Call target_get_trace_status directly,
        report more detail including tracing stop reasons.
        report more detail including tracing stop reasons.
        (trace_find_command): Always allow tfind on a file.
        (trace_find_command): Always allow tfind on a file.
        (trace_find_pc_command): Ditto.
        (trace_find_pc_command): Ditto.
        (trace_find_tracepoint_command): Ditto.
        (trace_find_tracepoint_command): Ditto.
        (trace_find_line_command): Ditto.
        (trace_find_line_command): Ditto.
        (trace_find_range_command): Ditto.
        (trace_find_range_command): Ditto.
        (trace_find_outside_command): Ditto.
        (trace_find_outside_command): Ditto.
        (trace_frames_offset, cur_offset): Declare as off_t.
        (trace_frames_offset, cur_offset): Declare as off_t.
        (trace_regblock_size): Rename from reg_size, update users.
        (trace_regblock_size): Rename from reg_size, update users.
        (parse_trace_status): New function.
        (parse_trace_status): New function.
        (tfile_interp_line): New function.
        (tfile_interp_line): New function.
        (disconnect_or_stop_tracing): Ensure current trace
        (disconnect_or_stop_tracing): Ensure current trace
        status before asking what to do.
        status before asking what to do.
        (stop_reason_names): New global.
        (stop_reason_names): New global.
        (trace_save_command): New command.
        (trace_save_command): New command.
        (get_uploaded_tp): Move here from remote.c.
        (get_uploaded_tp): Move here from remote.c.
        (find_matching_tracepoint): Ditto.
        (find_matching_tracepoint): Ditto.
        (merge_uploaded_tracepoints): New function.
        (merge_uploaded_tracepoints): New function.
        (parse_trace_status): Use stop_reason_names.
        (parse_trace_status): Use stop_reason_names.
        (_initialize_tracepoint): Define tsave command.
        (_initialize_tracepoint): Define tsave command.
        * target.h (target_ops): New fields to_save_trace_data,
        * target.h (target_ops): New fields to_save_trace_data,
        to_upload_tracepoints, to_upload_trace_state_variables,
        to_upload_tracepoints, to_upload_trace_state_variables,
        to_get_raw_trace_data, change to_get_trace_status
        to_get_raw_trace_data, change to_get_trace_status
        to take a pointer to a status struct.
        to take a pointer to a status struct.
        (target_save_trace_data): New macro.
        (target_save_trace_data): New macro.
        (target_upload_tracepoints): New macro.
        (target_upload_tracepoints): New macro.
        (target_upload_trace_state_variables): New macro.
        (target_upload_trace_state_variables): New macro.
        (target_get_raw_trace_data): New macro.
        (target_get_raw_trace_data): New macro.
        * target.c (update_current_target): Add new methods, change
        * target.c (update_current_target): Add new methods, change
        signature of to_get_trace_status.
        signature of to_get_trace_status.
        * remote.c (hex2bin): Make globally visible.
        * remote.c (hex2bin): Make globally visible.
        (bin2hex): Ditto.
        (bin2hex): Ditto.
        (remote_download_trace_state_variable): Download name also.
        (remote_download_trace_state_variable): Download name also.
        (remote_get_trace_status): Update parameter, use
        (remote_get_trace_status): Update parameter, use
        parse_trace_status.
        parse_trace_status.
        (remote_save_trace_data): New function.
        (remote_save_trace_data): New function.
        (remote_upload_tracepoints): New function.
        (remote_upload_tracepoints): New function.
        (remote_upload_trace_state_variables): New function.
        (remote_upload_trace_state_variables): New function.
        (remote_get_raw_trace_data): New function.
        (remote_get_raw_trace_data): New function.
        (remote_start_remote): Use them.
        (remote_start_remote): Use them.
        (_initialize_remote_ops): Add operations.
        (_initialize_remote_ops): Add operations.
        * ax-gdb.c: Include breakpoint.h.
        * ax-gdb.c: Include breakpoint.h.
        * breakpoint.c (create_tracepoint_from_upload): Use
        * breakpoint.c (create_tracepoint_from_upload): Use
        break_command_really, return tracepoint, warn about unimplemented
        break_command_really, return tracepoint, warn about unimplemented
        parts.
        parts.
        * NEWS: Mention trace file addition.
        * NEWS: Mention trace file addition.
2010-01-15  Jan Kratochvil  
2010-01-15  Jan Kratochvil  
        Fix compilation warning on gcc-3.4.
        Fix compilation warning on gcc-3.4.
        * exec.c (print_section_info): Move the `displacement' variable
        * exec.c (print_section_info): Move the `displacement' variable
        initialization to its declaration.
        initialization to its declaration.
2010-01-15  Jan Kratochvil  
2010-01-15  Jan Kratochvil  
        * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
        * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
        comparison.
        comparison.
2010-01-15  Eric Botcazou  
2010-01-15  Eric Botcazou  
        "info tasks" broken by typedefs in ATCB type definitions.
        "info tasks" broken by typedefs in ATCB type definitions.
        * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to
        * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to
        ada_check_typedef before retrieving the length of the type for
        ada_check_typedef before retrieving the length of the type for
        regular fields.
        regular fields.
2010-01-15  Joel Brobecker  
2010-01-15  Joel Brobecker  
        Do not use name-based lookup for unconstrained packed arrays.
        Do not use name-based lookup for unconstrained packed arrays.
        * ada-lang.c (find_parallel_type_by_descriptive_type):
        * ada-lang.c (find_parallel_type_by_descriptive_type):
        Limit the fallback to name-based lookups to the case where
        Limit the fallback to name-based lookups to the case where
        the type is a constrained packed array.
        the type is a constrained packed array.
2010-01-15  Joel Brobecker  
2010-01-15  Joel Brobecker  
        Enhance gdb-gdb.py to handle main_type.type_specific.
        Enhance gdb-gdb.py to handle main_type.type_specific.
        * gdb-gdb.py: Print the type-specific part of struct main_type.
        * gdb-gdb.py: Print the type-specific part of struct main_type.
2010-01-15  Jan Kratochvil  
2010-01-15  Jan Kratochvil  
        * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
        * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
        * configure: Regenerate.
        * configure: Regenerate.
        * config.in: Regenerate.
        * config.in: Regenerate.
        * utils.c: Include sys/resource.h.
        * utils.c: Include sys/resource.h.
        (dump_core, can_dump_core): New.
        (dump_core, can_dump_core): New.
        (internal_vproblem): Update the comment.  Check can_dump_core while
        (internal_vproblem): Update the comment.  Check can_dump_core while
        setting dump_core_p.  Replace two abort calls by dump_core calls.
        setting dump_core_p.  Replace two abort calls by dump_core calls.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
            Eli Zaretskii  
            Eli Zaretskii  
        * NEWS: Document the PIE support.
        * NEWS: Document the PIE support.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
        * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h.
        * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h.
        (check_is_pie_binary, _initialize_linux_tdep): Remove.
        (check_is_pie_binary, _initialize_linux_tdep): Remove.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
        * solib-svr4.c (svr4_exec_displacement): New comment for entry_point.
        * solib-svr4.c (svr4_exec_displacement): New comment for entry_point.
        Replace exec_entry_point call by bfd_get_start_address.
        Replace exec_entry_point call by bfd_get_start_address.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
        Support Valgrind attachments broken by the PIE support.
        Support Valgrind attachments broken by the PIE support.
        * auxv.c: Include gdbcore.h.
        * auxv.c: Include gdbcore.h.
        (procfs_xfer_auxv): Make static.  Reduce its comment.  Drop its
        (procfs_xfer_auxv): Make static.  Reduce its comment.  Drop its
        parameters ops, object and annex.  Remove their assertions.
        parameters ops, object and annex.  Remove their assertions.
        (ld_so_xfer_auxv, memory_xfer_auxv): New function.
        (ld_so_xfer_auxv, memory_xfer_auxv): New function.
        * auxv.h (procfs_xfer_auxv): Remove comment.  Rename to ...
        * auxv.h (procfs_xfer_auxv): Remove comment.  Rename to ...
        (memory_xfer_auxv): ... here.
        (memory_xfer_auxv): ... here.
        * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
        * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
        memory_xfer_auxv.
        memory_xfer_auxv.
        * procfs.c (procfs_xfer_partial): Likewise.
        * procfs.c (procfs_xfer_partial): Likewise.
        * solib-svr4.c (svr4_relocate_main_executable): New prototype.
        * solib-svr4.c (svr4_relocate_main_executable): New prototype.
        (svr4_special_symbol_handling): Call svr4_relocate_main_executable.
        (svr4_special_symbol_handling): Call svr4_relocate_main_executable.
        (svr4_solib_create_inferior_hook): Conditionalize the
        (svr4_solib_create_inferior_hook): Conditionalize the
        svr4_relocate_main_executable call.
        svr4_relocate_main_executable call.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
        * solib-svr4.c (scan_dyntag): Remove variable dyn_addr.  New variable
        * solib-svr4.c (scan_dyntag): Remove variable dyn_addr.  New variable
        target_section.  Find SECT in current_target_sections, gdb_assert it.
        target_section.  Find SECT in current_target_sections, gdb_assert it.
        (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile.
        (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile.
        New variable abfd.
        New variable abfd.
        * symtab.c (lookup_objfile_from_block): Return the binary file instead
        * symtab.c (lookup_objfile_from_block): Return the binary file instead
        of separate debug info file.
        of separate debug info file.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
        Support PIEs with no symfile_objfile.
        Support PIEs with no symfile_objfile.
        * exec.c (print_section_info ): Relocate Entry point.
        * exec.c (print_section_info ): Relocate Entry point.
        * solib-svr4.c (svr4_relocate_main_executable ): New block.
        * solib-svr4.c (svr4_relocate_main_executable ): New block.
2010-01-14  Jan Kratochvil  
2010-01-14  Jan Kratochvil  
        * solib-svr4.c (svr4_relocate_main_executable): Move the static exec
        * solib-svr4.c (svr4_relocate_main_executable): Move the static exec
        code part to ...
        code part to ...
        (svr4_static_exec_displacement): ... a new function.
        (svr4_static_exec_displacement): ... a new function.
        (svr4_exec_displacement): New function.
        (svr4_exec_displacement): New function.
        (svr4_relocate_main_executable): Call svr4_exec_displacement.  Allocate
        (svr4_relocate_main_executable): Call svr4_exec_displacement.  Allocate
        new_offsets using alloca now.  Remove variable old_chain and changed.
        new_offsets using alloca now.  Remove variable old_chain and changed.
        Call objfile_relocate unconditionally now.
        Call objfile_relocate unconditionally now.
2010-01-14  Doug Evans  
2010-01-14  Doug Evans  
        * gdbtypes.c (arch_flags_type): Fix comment.
        * gdbtypes.c (arch_flags_type): Fix comment.
        * gdbtypes.h (arch_composite_type): Fix comment.
        * gdbtypes.h (arch_composite_type): Fix comment.
2009-01-14  Tristan Gingold  
2009-01-14  Tristan Gingold  
        * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
        * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
        Call xstrdup for abfd->filename.  Pass symfile_flags and objfile flags
        Call xstrdup for abfd->filename.  Pass symfile_flags and objfile flags
        to symbol_file_add_from_bfd.  Add OSO as separate objfile.
        to symbol_file_add_from_bfd.  Add OSO as separate objfile.
        (macho_oso_symfile): Add symfile_flags parameter.  Pass it to
        (macho_oso_symfile): Add symfile_flags parameter.  Pass it to
        macho_add_oso_symfile.
        macho_add_oso_symfile.
        (macho_symfile_read): Pass symfile_flags to macho_oso_symfile.
        (macho_symfile_read): Pass symfile_flags to macho_oso_symfile.
2010-01-14  Joel Brobecker  
2010-01-14  Joel Brobecker  
        Tru64: Dead threads are never deleted.
        Tru64: Dead threads are never deleted.
        * dec-thread.c (dec_thread_ptid_is_alive): New function.
        * dec-thread.c (dec_thread_ptid_is_alive): New function.
        (dec_thread_count_gdb_threads): Fix counter increment.
        (dec_thread_count_gdb_threads): Fix counter increment.
        (dec_thread_add_gdb_thread): Fix *listp increment.
        (dec_thread_add_gdb_thread): Fix *listp increment.
        (resync_thread_list): Fix bug in deletion of dead threads that
        (resync_thread_list): Fix bug in deletion of dead threads that
        caused all threads to be deleted, instead of just the dead ones.
        caused all threads to be deleted, instead of just the dead ones.
2010-01-13  Phil Muldoon  
2010-01-13  Phil Muldoon  
        PR python/10705
        PR python/10705
        * python/python-internal.h: Add lazy_string_object_type
        * python/python-internal.h: Add lazy_string_object_type
        definition.
        definition.
        (create_lazy_string_object, gdbpy_initialize_lazy_string)
        (create_lazy_string_object, gdbpy_initialize_lazy_string)
        (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define.
        (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define.
        * python/py-value.c (valpy_lazy_string): New function.
        * python/py-value.c (valpy_lazy_string): New function.
        (convert_value_from_python): Add lazy string conversion.
        (convert_value_from_python): Add lazy string conversion.
        * python/py-prettyprint.c (pretty_print_one_value): Check if
        * python/py-prettyprint.c (pretty_print_one_value): Check if
        return is also a lazy string.
        return is also a lazy string.
        (print_string_repr): Add lazy string printing branch.
        (print_string_repr): Add lazy string printing branch.
        (print_children): Likewise.
        (print_children): Likewise.
        * python/py-lazy-string.c: New file. Implement lazy strings.
        * python/py-lazy-string.c: New file. Implement lazy strings.
        * python/python.c (_initialize_python): Call
        * python/python.c (_initialize_python): Call
        gdbpy_initialize_lazy_string.
        gdbpy_initialize_lazy_string.
        * varobj.c (value_get_print_value): Add lazy string printing
        * varobj.c (value_get_print_value): Add lazy string printing
        branch.  Account for encoding.
        branch.  Account for encoding.
        * c-lang.c (c_printstr): Account for new encoding argument.  If
        * c-lang.c (c_printstr): Account for new encoding argument.  If
        encoding is NULL, find encoding suited for type, otherwise use
        encoding is NULL, find encoding suited for type, otherwise use
        user encoding.
        user encoding.
        * language.h (language_defn): Add encoding argument.
        * language.h (language_defn): Add encoding argument.
        (LA_PRINT_STRING): Likewise.
        (LA_PRINT_STRING): Likewise.
        * language.c (unk_lang_printstr): Update to reflect new encoding
        * language.c (unk_lang_printstr): Update to reflect new encoding
        argument to language_defn.
        argument to language_defn.
        * ada-lang.h (ada_printstr): Likewise.
        * ada-lang.h (ada_printstr): Likewise.
        * c-lang.h (c_printstr): Likewise.
        * c-lang.h (c_printstr): Likewise.
        * p-lang.h (pascal_printstr);
        * p-lang.h (pascal_printstr);
        * f-lang.c (f_printstr): Likewise.
        * f-lang.c (f_printstr): Likewise.
        * m2-lang.c (m2_printstr): Likewise.
        * m2-lang.c (m2_printstr): Likewise.
        * objc-lang.c (objc_printstr): Likewise.
        * objc-lang.c (objc_printstr): Likewise.
        * p-lang.c (pascal_printstr): Likewise.
        * p-lang.c (pascal_printstr): Likewise.
        * scm-lang.c (scm_printstr): Likewise.
        * scm-lang.c (scm_printstr): Likewise.
        * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for
        * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for
        encoding argument.
        encoding argument.
        * ada-valprint.c (ada_printstr): Likewise.
        * ada-valprint.c (ada_printstr): Likewise.
        * f-valprint.c (f_val_print): Likewise
        * f-valprint.c (f_val_print): Likewise
        * m2-valprint.c (m2_val_print): Likewise.
        * m2-valprint.c (m2_val_print): Likewise.
        * p-valprint.c (pascal_val_print): Likewise.
        * p-valprint.c (pascal_val_print): Likewise.
        * expprint.c (print_subexp_standard): Likewise.
        * expprint.c (print_subexp_standard): Likewise.
        * valprint.c (val_print_string): Likewise.
        * valprint.c (val_print_string): Likewise.
        * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string.
        * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string.
        (SUBDIR_PYTHON_SRCS): Likewise.
        (SUBDIR_PYTHON_SRCS): Likewise.
        (py-lazy-string.o): New rule.
        (py-lazy-string.o): New rule.
2010-01-13  Doug Evans  
2010-01-13  Doug Evans  
        * mi/mi-main.c (list_available_thread_groups): Avoid "may be used
        * mi/mi-main.c (list_available_thread_groups): Avoid "may be used
        uninitialized" warning from gcc on local `tree'.
        uninitialized" warning from gcc on local `tree'.
2010-01-13  Vladimir Prus  
2010-01-13  Vladimir Prus  
        Implement core awareness.
        Implement core awareness.
        * bcache.c (compare_ints): Remove
        * bcache.c (compare_ints): Remove
        (print_percentage): Use compare_positive_ints.
        (print_percentage): Use compare_positive_ints.
        * defs.h (compare_positive_ints): Declare.
        * defs.h (compare_positive_ints): Declare.
        * linux-nat.h (struct lin_lwp): New field core.
        * linux-nat.h (struct lin_lwp): New field core.
        (linux_nat_core_of_thread_1): Declare.
        (linux_nat_core_of_thread_1): Declare.
        * linux-nat.c (add_lwp): Init the 'core' field.
        * linux-nat.c (add_lwp): Init the 'core' field.
        (linux_nat_wait_1): Record the core.
        (linux_nat_wait_1): Record the core.
        (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New.
        (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New.
        (linux_nat_add_target): Register the above.
        (linux_nat_add_target): Register the above.
        * linux-thread-db.c (update_thread_core): New.
        * linux-thread-db.c (update_thread_core): New.
        (thread_db_find_new_threads): Update core information for
        (thread_db_find_new_threads): Update core information for
        every thread.
        every thread.
        * remote.c (struct private_thread_info): New.
        * remote.c (struct private_thread_info): New.
        (free_private_thread_info, demand_private_info): New.
        (free_private_thread_info, demand_private_info): New.
        (PACKET_qXfer_threads, use_osdata_threads): New.
        (PACKET_qXfer_threads, use_osdata_threads): New.
        (struct thread_item, threads_parsing_context
        (struct thread_item, threads_parsing_context
        (start_thread, end_thread, thread_attributes)
        (start_thread, end_thread, thread_attributes)
        (thread_children, threads_children, threads_elements): New.
        (thread_children, threads_children, threads_elements): New.
        (remote_threads_info): Try qXfer:threads before anything
        (remote_threads_info): Try qXfer:threads before anything
        else.
        else.
        (remote_protocol_packets): Register qXfer:threads.
        (remote_protocol_packets): Register qXfer:threads.
        (remote_open_1): Init use_osdata_threads.
        (remote_open_1): Init use_osdata_threads.
        (struct stop_reply): New field 'core'.
        (struct stop_reply): New field 'core'.
        (remote_parse_stop_reply): Parse core number.
        (remote_parse_stop_reply): Parse core number.
        (process_stop_reply): Record core number.
        (process_stop_reply): Record core number.
        (remote_xfer_partial): Handle qXfer:threads.
        (remote_xfer_partial): Handle qXfer:threads.
        (remote_core_of_thread): New.
        (remote_core_of_thread): New.
        (init_remote_ops): Register remote_core_of_thread.
        (init_remote_ops): Register remote_core_of_thread.
        (_initialize_remote): Register qXfer:read.
        (_initialize_remote): Register qXfer:read.
        * target.c (target_core_of_thread): New
        * target.c (target_core_of_thread): New
        * target.h (enum target_object): New value TARGET_OBJECT_THREADS.
        * target.h (enum target_object): New value TARGET_OBJECT_THREADS.
        (struct target_ops): New field to_core_of_threads.
        (struct target_ops): New field to_core_of_threads.
        (target_core_of_thread): Declare.
        (target_core_of_thread): Declare.
        * gdbthread.h (struct thread_info): New field private_dtor.
        * gdbthread.h (struct thread_info): New field private_dtor.
        * thread.c (print_thread_info): Report the core.
        * thread.c (print_thread_info): Report the core.
        * ui-out.c (MAX_UI_OUT_LEVELS): Increase.
        * ui-out.c (MAX_UI_OUT_LEVELS): Increase.
        * utils.c (compare_positive_ints): New.
        * utils.c (compare_positive_ints): New.
        * features/threads.dtd: New.
        * features/threads.dtd: New.
        * mi/mi-interp.c (mi_on_normal_stop): Report the core.
        * mi/mi-interp.c (mi_on_normal_stop): Report the core.
        * mi/mi-main.c (struct collect_cores_data, collect_cores)
        * mi/mi-main.c (struct collect_cores_data, collect_cores)
        (do_nothing, free_vector_of_osdata_items)
        (do_nothing, free_vector_of_osdata_items)
        (splay_tree_int_comparator, free_splay_tree): New.
        (splay_tree_int_comparator, free_splay_tree): New.
        (print_one_inferior_data): Implemented printing of selected
        (print_one_inferior_data): Implemented printing of selected
        inferiors.  Collect and print cores.
        inferiors.  Collect and print cores.
        (output_cores): New.
        (output_cores): New.
        (mi_cmd_list_thread_groups): Support --recurse.  Permit specifying
        (mi_cmd_list_thread_groups): Support --recurse.  Permit specifying
        thread groups together with --available.
        thread groups together with --available.
2010-01-12  Jan Kratochvil  
2010-01-12  Jan Kratochvil  
        * configure: Regenerate (for _STRUCTURED_PROC).
        * configure: Regenerate (for _STRUCTURED_PROC).
2010-01-12  Joel Brobecker  
2010-01-12  Joel Brobecker  
        Delete dead function.
        Delete dead function.
        * ada-lang.c (extract_string): Delete.  No longer used.
        * ada-lang.c (extract_string): Delete.  No longer used.
2010-01-12  Joel Brobecker  
2010-01-12  Joel Brobecker  
        Fix -Wunused warning in dec-thread.c.
        Fix -Wunused warning in dec-thread.c.
        * dec-thread.c (dec_thread_count_gdb_threads)
        * dec-thread.c (dec_thread_count_gdb_threads)
        (dec_thread_add_gdb_thread): Prevent -Wunused warning.
        (dec_thread_add_gdb_thread): Prevent -Wunused warning.
2010-01-12  Joel Brobecker  
2010-01-12  Joel Brobecker  
        * ada-valprint.c (ada_print_floating): Remove trailing space.
        * ada-valprint.c (ada_print_floating): Remove trailing space.
2010-01-12  Joel Brobecker  
2010-01-12  Joel Brobecker  
        Add support for DW_AT_GNAT_descriptive_type.
        Add support for DW_AT_GNAT_descriptive_type.
        * gdbtypes.h (enum type_specific_kind): New enum.
        * gdbtypes.h (enum type_specific_kind): New enum.
        (struct main_type) [type_specific_field]: New component.
        (struct main_type) [type_specific_field]: New component.
        [type_specific]: Add new component "gnat_stuff".
        [type_specific]: Add new component "gnat_stuff".
        (struct gnat_aux_type): New type.
        (struct gnat_aux_type): New type.
        (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
        (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
        (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
        (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
        (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
        (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
        (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
        (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
        (TYPE_SPECIFIC_FIELD): New macros.
        (TYPE_SPECIFIC_FIELD): New macros.
        (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
        (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
        type does not hold any cplus-specific data.
        type does not hold any cplus-specific data.
        (TYPE_RAW_CPLUS_SPECIFIC): New macro.
        (TYPE_RAW_CPLUS_SPECIFIC): New macro.
        (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
        (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
        (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
        (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
        cplus-specific data.
        cplus-specific data.
        * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
        * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
        Set new component TYPE_SPECIFIC_FIELD (type).
        Set new component TYPE_SPECIFIC_FIELD (type).
        (gnat_aux_default): New constant.
        (gnat_aux_default): New constant.
        (allocate_gnat_aux_type): New function.
        (allocate_gnat_aux_type): New function.
        (init_type): Add initialization the type-specific stuff for
        (init_type): Add initialization the type-specific stuff for
        TYPE_CODE_FLT and TYPE_CODE_FUNC types.
        TYPE_CODE_FLT and TYPE_CODE_FUNC types.
        (print_gnat_stuff): New function.
        (print_gnat_stuff): New function.
        (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
        (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
        specific data.  Adjust code that prints the contents of the
        specific data.  Adjust code that prints the contents of the
        type-specific union using the TYPE_SPECIFIC_FIELD value.
        type-specific union using the TYPE_SPECIFIC_FIELD value.
        * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
        * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
        the type cplus stuff for Ada types.
        the type cplus stuff for Ada types.
        (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
        (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
        Error out if these routines are called with an Ada type.
        Error out if these routines are called with an Ada type.
        (read_structure_type, read_array_type, read_subrange_type):
        (read_structure_type, read_array_type, read_subrange_type):
        Add call to set_descriptive_type.
        Add call to set_descriptive_type.
        (set_die_type): Initialize the gnat-specific data if necessary.
        (set_die_type): Initialize the gnat-specific data if necessary.
        (need_gnat_info, die_descriptive_type, set_descriptive_type):
        (need_gnat_info, die_descriptive_type, set_descriptive_type):
        New functions.
        New functions.
        * ada-lang.c (decode_constrained_packed_array_type): Use
        * ada-lang.c (decode_constrained_packed_array_type): Use
        decode_constrained_packed_array_type instead of doing a standard
        decode_constrained_packed_array_type instead of doing a standard
        lookup to locate a parallel type.
        lookup to locate a parallel type.
        (find_parallel_type_by_descriptive_type): New function.
        (find_parallel_type_by_descriptive_type): New function.
        (ada_find_parallel_type_with_name): New function.
        (ada_find_parallel_type_with_name): New function.
        (ada_find_parallel_type): Reimplement using
        (ada_find_parallel_type): Reimplement using
        ada_find_parallel_type_with_name.
        ada_find_parallel_type_with_name.
        * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
        * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
        to check if type has a cplus stuff.
        to check if type has a cplus stuff.
        * linespec.c (total_number_of_methods): Likewise.
        * linespec.c (total_number_of_methods): Likewise.
        * mdebugread.c (new_type): Likewise.
        * mdebugread.c (new_type): Likewise.
2010-01-11  Jan Kratochvil  
2010-01-11  Jan Kratochvil  
        * NEWS: Document the 0b binary number prefix parsing.
        * NEWS: Document the 0b binary number prefix parsing.
2010-01-11  Jan Kratochvil  
2010-01-11  Jan Kratochvil  
        * objfiles.c (objfile_relocate1): Change the return type to int.
        * objfiles.c (objfile_relocate1): Change the return type to int.
        Describe the new return value.  Return non-zero if data changed.
        Describe the new return value.  Return non-zero if data changed.
        (objfile_relocate): New variable changed.  Set it.  Call
        (objfile_relocate): New variable changed.  Set it.  Call
        breakpoint_re_set depending on CHANGED.
        breakpoint_re_set depending on CHANGED.
2010-01-11  Jan Kratochvil  
2010-01-11  Jan Kratochvil  
        Implement binary numbers parsing.
        Implement binary numbers parsing.
        * c-exp.y (parse_number): New case 'b' and 'B'.
        * c-exp.y (parse_number): New case 'b' and 'B'.
2010-01-11  Jan Kratochvil  
2010-01-11  Jan Kratochvil  
            Tristan Gingold  
            Tristan Gingold  
        * solib.c (info_sharedlibrary_command): Replace
        * solib.c (info_sharedlibrary_command): Replace
        objfile_has_partial_symbols and objfile_has_full_symbols calls by
        objfile_has_partial_symbols and objfile_has_full_symbols calls by
        objfile_has_symbols.
        objfile_has_symbols.
2010-01-10  Joel Brobecker  
2010-01-10  Joel Brobecker  
        * NEWS: Document the improvements made to the mips-irix port.
        * NEWS: Document the improvements made to the mips-irix port.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Fix the documentation of valprint.c:value_print.
        Fix the documentation of valprint.c:value_print.
        * valprint.c (value_print): Update the function description to
        * valprint.c (value_print): Update the function description to
        mention that the syntax of the output follows the current_language,
        mention that the syntax of the output follows the current_language,
        not necessarily C.
        not necessarily C.
2010-01-09  Jan Kratochvil  
2010-01-09  Jan Kratochvil  
        Fix displacement of separate debug info files.
        Fix displacement of separate debug info files.
        * objfiles.c (objfile_relocate): Rename to ...
        * objfiles.c (objfile_relocate): Rename to ...
        (objfile_relocate1): ... here and make it static.  Extend the comment.
        (objfile_relocate1): ... here and make it static.  Extend the comment.
        (objfile_relocate): New function.
        (objfile_relocate): New function.
        * solib-spu.c (spu_relocate_main_executable): Explicitly check if
        * solib-spu.c (spu_relocate_main_executable): Explicitly check if
        SYMFILE_OBJFILE is NULL.  Remove variables objfile and old_chain.
        SYMFILE_OBJFILE is NULL.  Remove variables objfile and old_chain.
        Remove following of SEPARATE_DEBUG_OBJFILE.  new_offsets is now
        Remove following of SEPARATE_DEBUG_OBJFILE.  new_offsets is now
        allocated using alloca.
        allocated using alloca.
        * symfile.c (copy_section_addr_info): Remove.
        * symfile.c (copy_section_addr_info): Remove.
        (build_section_addr_info_from_objfile): Make it global.  New variables
        (build_section_addr_info_from_objfile): Make it global.  New variables
        addr_bit and mask, use them.
        addr_bit and mask, use them.
        * symfile.h (build_section_addr_info_from_objfile): New prototype.
        * symfile.h (build_section_addr_info_from_objfile): New prototype.
        (copy_section_addr_info): Remove.
        (copy_section_addr_info): Remove.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Signal unwinder for mips-irix N32.
        Signal unwinder for mips-irix N32.
        * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and
        * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and
        tramp-frame.h.
        tramp-frame.h.
        (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
        (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
        (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
        (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
        (SIGCONTEXT_LO_OFF): New macros.
        (SIGCONTEXT_LO_OFF): New macros.
        (mips_irix_n32_tramp_frame_init): New function.
        (mips_irix_n32_tramp_frame_init): New function.
        (mips_irix_n32_tramp_frame): New static constant.
        (mips_irix_n32_tramp_frame): New static constant.
        (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.
        (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Breakpoint in shared library does not work on mips-irix.
        Breakpoint in shared library does not work on mips-irix.
        * procfs.c: #include "observer.h".
        * procfs.c: #include "observer.h".
        (procfs_inferior_created): New function, moving here the code
        (procfs_inferior_created): New function, moving here the code
        which unsets the syssgi syscall-exit notifications.
        which unsets the syssgi syscall-exit notifications.
        (procfs_create_inferior): Remove the code which unsets the syssgi
        (procfs_create_inferior): Remove the code which unsets the syssgi
        syscall-exit notifications. It is too early to do this here.
        syscall-exit notifications. It is too early to do this here.
        (_initialize_procfs): Attach the procfs_inferior_created observer.
        (_initialize_procfs): Attach the procfs_inferior_created observer.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Wrong return convention for arrays (mips-irix).
        Wrong return convention for arrays (mips-irix).
        * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is
        * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is
        128 bits or smaller are returned the same way as structs
        128 bits or smaller are returned the same way as structs
        and unions of the the same size.
        and unions of the the same size.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Cannot set the PC on mips-irix.
        Cannot set the PC on mips-irix.
        * irix5-nat.c (fill_gregset): Check regno against the raw PC
        * irix5-nat.c (fill_gregset): Check regno against the raw PC
        register number, no the cooked one.
        register number, no the cooked one.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Error while loading core file on mips-irix.
        Error while loading core file on mips-irix.
        * solib-irix.c (irix_solib_create_inferior_hook): Do nothing
        * solib-irix.c (irix_solib_create_inferior_hook): Do nothing
        if debugging from a core file.
        if debugging from a core file.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        GDB hangs when attaching to process on mips-irix.
        GDB hangs when attaching to process on mips-irix.
        * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if
        * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if
        attaching to a process.
        attaching to a process.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Use the correct breakpoint instruction on mips-irix.
        Use the correct breakpoint instruction on mips-irix.
        * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable
        * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable
        containing the correct breakpoint instruction to use on mips-irix.
        containing the correct breakpoint instruction to use on mips-irix.
        Use it when the osabi is GDB_OSABI_IRIX.
        Use it when the osabi is GDB_OSABI_IRIX.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        -Wunused warning in procfs.c (mips-irix only).
        -Wunused warning in procfs.c (mips-irix only).
        * procfs.c (gdb_praddset, gdb_prdelset): New macros.  Use them
        * procfs.c (gdb_praddset, gdb_prdelset): New macros.  Use them
        throughout instead of using praddset and prdelset respectively.
        throughout instead of using praddset and prdelset respectively.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        GDB crash while stepping into function.
        GDB crash while stepping into function.
        * infrun.c (handle_inferior_event): Refetch the current frame
        * infrun.c (handle_inferior_event): Refetch the current frame
        after handling what.main_action, in case that pointer became
        after handling what.main_action, in case that pointer became
        dangling.
        dangling.
2010-01-09  Joel Brobecker  
2010-01-09  Joel Brobecker  
        Fix build failure of solaris-hosted cross debuggers.
        Fix build failure of solaris-hosted cross debuggers.
        * ada-valprint.c, parse.c: Include defs.h before including ctype.h.
        * ada-valprint.c, parse.c: Include defs.h before including ctype.h.
2010-01-09  Daniel Gutson  
2010-01-09  Daniel Gutson  
        Fix build failure on sparc-solaris.
        Fix build failure on sparc-solaris.
        * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
        * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
2010-01-08  Jan Kratochvil  
2010-01-08  Jan Kratochvil  
        Move some symfile code into subroutines.
        Move some symfile code into subroutines.
        * symfile.h (relative_addr_info_to_section_offsets)
        * symfile.h (relative_addr_info_to_section_offsets)
        (addr_info_make_relative): New prototypes.
        (addr_info_make_relative): New prototypes.
        * symfile.c (default_symfile_offsets): Move a part to ...
        * symfile.c (default_symfile_offsets): Move a part to ...
        (relative_addr_info_to_section_offsets): ... this new function.
        (relative_addr_info_to_section_offsets): ... this new function.
        (default_symfile_offsets): Call it.
        (default_symfile_offsets): Call it.
        (syms_from_objfile other[0].name>): Move
        (syms_from_objfile other[0].name>): Move
        this part to ...
        this part to ...
        (addr_info_make_relative): ... this new function.
        (addr_info_make_relative): ... this new function.
2010-01-08  Jan Kratochvil  
2010-01-08  Jan Kratochvil  
        Add from_tty to solib_create_inferior_hook.
        Add from_tty to solib_create_inferior_hook.
        * infcmd.c (post_create_inferior): Move solib_add after
        * infcmd.c (post_create_inferior): Move solib_add after
        solib_create_inferior_hook.  Pass from_tty to
        solib_create_inferior_hook.  Pass from_tty to
        solib_create_inferior_hook.  Call solib_add and SOLIB_ADD with
        solib_create_inferior_hook.  Call solib_add and SOLIB_ADD with
        0 from_tty and comment why.
        0 from_tty and comment why.
        * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
        * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
        * linux-nat.c (linux_child_follow_fork): Likewise.
        * linux-nat.c (linux_child_follow_fork): Likewise.
        * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
        * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
        * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
        * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
        from_tty.
        from_tty.
        * solib-frv.c (frv_solib_create_inferior_hook): Likewise.
        * solib-frv.c (frv_solib_create_inferior_hook): Likewise.
        * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
        * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
        * solib-null.c (null_solib_create_inferior_hook): Likewise.
        * solib-null.c (null_solib_create_inferior_hook): Likewise.
        * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
        * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
        * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
        * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
        * solib-som.c (som_solib_create_inferior_hook): Likewise.
        * solib-som.c (som_solib_create_inferior_hook): Likewise.
        * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
        * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
        Pass it to svr4_so_ops.solib_create_inferior_hook.
        Pass it to svr4_so_ops.solib_create_inferior_hook.
        * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
        * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
        from_tty.
        from_tty.
        * solib-svr4.c (enable_break): New parameter from_tty.  Pass it to
        * solib-svr4.c (enable_break): New parameter from_tty.  Pass it to
        solib_add.
        solib_add.
        (svr4_solib_create_inferior_hook): New parameter from_tty.  Pass it to
        (svr4_solib_create_inferior_hook): New parameter from_tty.  Pass it to
        enable_break.
        enable_break.
        * solib-target.c (solib_target_solib_create_inferior_hook): New
        * solib-target.c (solib_target_solib_create_inferior_hook): New
        parameter from_tty.
        parameter from_tty.
        * solib.c (solib_create_inferior_hook): New parameter from_tty.  Pass
        * solib.c (solib_create_inferior_hook): New parameter from_tty.  Pass
        it to ops->solib_create_inferior_hook.
        it to ops->solib_create_inferior_hook.
        (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
        (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
        Move solib_add after solib_create_inferior_hook, call it now with
        Move solib_add after solib_create_inferior_hook, call it now with
        from_tty as 0.  New comment there.
        from_tty as 0.  New comment there.
        * solib.h (solib_create_inferior_hook): New parameter from_tty.
        * solib.h (solib_create_inferior_hook): New parameter from_tty.
        * solist.h (struct target_so_ops ):
        * solist.h (struct target_so_ops ):
        Likewise.
        Likewise.
2010-01-08  Vladimir Prus  
2010-01-08  Vladimir Prus  
        Fix multiexec race.
        Fix multiexec race.
        * infrun.c (handle_inferior_event): Use get_thread_regcache
        * infrun.c (handle_inferior_event): Use get_thread_regcache
        with events ptid, not get_current_regcache.
        with events ptid, not get_current_regcache.
2009-01-08  Joel Brobecker  
2009-01-08  Joel Brobecker  
        GDB crash with empty executable name (MinGW).
        GDB crash with empty executable name (MinGW).
        * source.c (openp): Add assert that parameter string is not NULL.
        * source.c (openp): Add assert that parameter string is not NULL.
        if parameter string is an empty string, then return with a failure
        if parameter string is an empty string, then return with a failure
        immediately.
        immediately.
2009-01-08  Joel Brobecker  
2009-01-08  Joel Brobecker  
        Get rid of support for VAX Floats.
        Get rid of support for VAX Floats.
        * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
        * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
        (ada_vax_float_print_function): Delete.
        (ada_vax_float_print_function): Delete.
        * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
        * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
        (ada_vax_float_print_function): Delete.
        (ada_vax_float_print_function): Delete.
        * ada-typeprint.c (print_vax_floating_point_type): Delete.
        * ada-typeprint.c (print_vax_floating_point_type): Delete.
        (ada_print_type): Remove support for VAX floats.
        (ada_print_type): Remove support for VAX floats.
        * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
        * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
2010-01-08  Jan Kratochvil  
2010-01-08  Jan Kratochvil  
        * stabsread.c (read_args): Handle zero arguments.
        * stabsread.c (read_args): Handle zero arguments.
2009-01-08  Joel Brobecker  
2009-01-08  Joel Brobecker  
        Cannot find in-tree libiconv.a after reconfigure.
        Cannot find in-tree libiconv.a after reconfigure.
        * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
        * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
        that we can use, then cache the path to this archive.
        that we can use, then cache the path to this archive.
        * configure: Regenerate.
        * configure: Regenerate.
2010-01-07  Stan Shebs  
2010-01-07  Stan Shebs  
        Make tracepoint operations go through target vector.
        Make tracepoint operations go through target vector.
        * target.h (enum trace_find_type): New enum.
        * target.h (enum trace_find_type): New enum.
        (struct target_ops): New fields to_trace_init,
        (struct target_ops): New fields to_trace_init,
        to_download_tracepoint, to_download_trace_state_variable,
        to_download_tracepoint, to_download_trace_state_variable,
        to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
        to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
        to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
        to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
        to_set_disconnected_tracing.
        to_set_disconnected_tracing.
        (target_trace_init): New macro.
        (target_trace_init): New macro.
        (target_download_tracepoint): New macro.
        (target_download_tracepoint): New macro.
        (target_download_trace_state_variable): New macro.
        (target_download_trace_state_variable): New macro.
        (target_trace_start): New macro.
        (target_trace_start): New macro.
        (target_trace_set_readonly_regions): New macro.
        (target_trace_set_readonly_regions): New macro.
        (target_get_trace_status): New macro.
        (target_get_trace_status): New macro.
        (target_trace_stop): New macro.
        (target_trace_stop): New macro.
        (target_trace_find): New macro.
        (target_trace_find): New macro.
        (target_get_trace_state_variable_value): New macro.
        (target_get_trace_state_variable_value): New macro.
        (target_set_disconnected_tracing): New macro.
        (target_set_disconnected_tracing): New macro.
        * target.c (update_current_target): Inherit and set defaults for
        * target.c (update_current_target): Inherit and set defaults for
        tracepoint operations.
        tracepoint operations.
        * tracepoint.c (default_collect): Make globally visible.
        * tracepoint.c (default_collect): Make globally visible.
        (target_is_remote): Remove, along with all calls.
        (target_is_remote): Remove, along with all calls.
        (tvariables_info): Call target_get_trace_state_variable_value.
        (tvariables_info): Call target_get_trace_state_variable_value.
        (remote_set_transparent_ranges): Remove.
        (remote_set_transparent_ranges): Remove.
        (trace_start_command): Call target_trace_init,
        (trace_start_command): Call target_trace_init,
        target_download_tracepoint, etc.
        target_download_tracepoint, etc.
        (download_tracepoint): Remove.
        (download_tracepoint): Remove.
        (trace_stop_command): Simplify.
        (trace_stop_command): Simplify.
        (stop_tracing): Call target_trace_stop.
        (stop_tracing): Call target_trace_stop.
        (get_trace_status): Call target_get_trace_status.
        (get_trace_status): Call target_get_trace_status.
        (trace_status_command): Add case for targets that cannot trace.
        (trace_status_command): Add case for targets that cannot trace.
        (finish_tfind_command): Change to take numerical arguments, call
        (finish_tfind_command): Change to take numerical arguments, call
        target_trace_find.
        target_trace_find.
        (trace_find_command): Update call to finish_tfind_command.
        (trace_find_command): Update call to finish_tfind_command.
        (trace_find_pc_command): Ditto.
        (trace_find_pc_command): Ditto.
        (trace_find_tracepoint_command): Ditto.
        (trace_find_tracepoint_command): Ditto.
        (trace_find_line_command): Ditto.
        (trace_find_line_command): Ditto.
        (trace_find_range_command): Ditto.
        (trace_find_range_command): Ditto.
        (trace_find_outside_command): Ditto.
        (trace_find_outside_command): Ditto.
        (set_disconnected_tracing_value): Call
        (set_disconnected_tracing_value): Call
        target_set_disconnected_tracing.
        target_set_disconnected_tracing.
        * remote.c: Add protocol encoding bits from tracepoint.c.
        * remote.c: Add protocol encoding bits from tracepoint.c.
        (trace_error): Move from tracepoint.c.
        (trace_error): Move from tracepoint.c.
        (remote_get_noisy_reply): Ditto.
        (remote_get_noisy_reply): Ditto.
        (free_actions_list_cleanup_wrapper): Ditto.
        (free_actions_list_cleanup_wrapper): Ditto.
        (free_actions_list): Ditto.
        (free_actions_list): Ditto.
        (remote_trace_init): New function.
        (remote_trace_init): New function.
        (remote_download_tracepoint): New function.
        (remote_download_tracepoint): New function.
        (remote_download_trace_state_variable): New function.
        (remote_download_trace_state_variable): New function.
        (remote_trace_set_readonly_regions): New function.
        (remote_trace_set_readonly_regions): New function.
        (remote_trace_start): New function.
        (remote_trace_start): New function.
        (remote_get_trace_status): New function.
        (remote_get_trace_status): New function.
        (remote_trace_stop): New function.
        (remote_trace_stop): New function.
        (remote_trace_find): New function.
        (remote_trace_find): New function.
        (remote_download_trace_state_variable): New function.
        (remote_download_trace_state_variable): New function.
        (remote_set_disconnected_tracing): New function.
        (remote_set_disconnected_tracing): New function.
        (init_remote_ops): Add tracepoint operations.
        (init_remote_ops): Add tracepoint operations.
        * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
        * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
2010-01-07  Tristan Gingold  
2010-01-07  Tristan Gingold  
        * symfile.c (build_section_addr_info_from_objfile): New function.
        * symfile.c (build_section_addr_info_from_objfile): New function.
        (symbol_file_add_separate): Don't use offsets from objfile but
        (symbol_file_add_separate): Don't use offsets from objfile but
        built an addr info.
        built an addr info.
2010-01-06  Stan Shebs  
2010-01-06  Stan Shebs  
        Support disconnected tracing.
        Support disconnected tracing.
        * infcmd.c (detach_command): Ask whether to stop tracing.
        * infcmd.c (detach_command): Ask whether to stop tracing.
        * cli/cli-cmds.c (quit_command): Ditto.
        * cli/cli-cmds.c (quit_command): Ditto.
        * breakpoint.h (struct breakpoint): New field number_on_target.
        * breakpoint.h (struct breakpoint): New field number_on_target.
        * breakpoint.c (create_tracepoint_from_upload): New function.
        * breakpoint.c (create_tracepoint_from_upload): New function.
        (get_tracepoint_by_number_on_target): New function.
        (get_tracepoint_by_number_on_target): New function.
        * remote.c (struct remote): New field disconnected_tracing.
        * remote.c (struct remote): New field disconnected_tracing.
        (remote_disconnected_tracing_feature): New function.
        (remote_disconnected_tracing_feature): New function.
        (remote_protocol_features): Add DisconnectedTracing.
        (remote_protocol_features): Add DisconnectedTracing.
        (struct uploaded_tp): New struct.
        (struct uploaded_tp): New struct.
        (uploaded_tps): New global.
        (uploaded_tps): New global.
        (get_uploaded_tp): New function.
        (get_uploaded_tp): New function.
        (find_matching_tracepoint): New function.
        (find_matching_tracepoint): New function.
        (remote_get_tracing_state): New function.
        (remote_get_tracing_state): New function.
        (remote_start_remote): Call it.
        (remote_start_remote): Call it.
        * tracepoint.c (disconnected_tracing): New global.
        * tracepoint.c (disconnected_tracing): New global.
        (trace_start_command): Initialize number_on_target.
        (trace_start_command): Initialize number_on_target.
        (stop_tracing): New function, split out from...
        (stop_tracing): New function, split out from...
        (trace_stop_command): Call stop_tracing.
        (trace_stop_command): Call stop_tracing.
        (get_trace_status): New function, split out from...
        (get_trace_status): New function, split out from...
        (trace_status_command): Call get_trace_status, add info on
        (trace_status_command): Call get_trace_status, add info on
        disconnection behavior.
        disconnection behavior.
        (disconnect_or_stop_tracing): New function.
        (disconnect_or_stop_tracing): New function.
        (finish_tfind_command): Translate from number on target.
        (finish_tfind_command): Translate from number on target.
        (trace_find_tracepoint_command): Translate to number on target.
        (trace_find_tracepoint_command): Translate to number on target.
        (send_disconnected_tracing_value): New function.
        (send_disconnected_tracing_value): New function.
        (set_disconnected_tracing): New function.
        (set_disconnected_tracing): New function.
        (_initialize_tracepoint): Add disconnected-tracing variable.
        (_initialize_tracepoint): Add disconnected-tracing variable.
        * NEWS: Mention disconnected tracing.
        * NEWS: Mention disconnected tracing.
2010-01-06  Tristan Gingold  
2010-01-06  Tristan Gingold  
        * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
        * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
        parameter to main_objfile.  Iterate on all separate debug objfiles.
        parameter to main_objfile.  Iterate on all separate debug objfiles.
        * symfile.h (symbol_file_add_separate)
        * symfile.h (symbol_file_add_separate)
        (find_separate_debug_file_by_debuglink): Remove parameter names.
        (find_separate_debug_file_by_debuglink): Remove parameter names.
        * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
        * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
        (reread_symbols): Use free_objfile_separate_debug.
        (reread_symbols): Use free_objfile_separate_debug.
        * objfiles.h (struct objfile): Add separate_debug_objfile_link.
        * objfiles.h (struct objfile): Add separate_debug_objfile_link.
        Adjust comment.
        Adjust comment.
        (objfile_separate_debug_iterate, add_separate_debug_objfile)
        (objfile_separate_debug_iterate, add_separate_debug_objfile)
        (free_objfile_separate_debug): New prototypes.
        (free_objfile_separate_debug): New prototypes.
        * objfiles.c (objfile_separate_debug_iterate): New function.
        * objfiles.c (objfile_separate_debug_iterate): New function.
        (add_separate_debug_objfile, free_objfile_separate_debug): New
        (add_separate_debug_objfile, free_objfile_separate_debug): New
        functions.
        functions.
        (free_objfile): Use free_objfile_separate_debug.  Adjust for
        (free_objfile): Use free_objfile_separate_debug.  Adjust for
        multiple separate debug objfile.
        multiple separate debug objfile.
        (objfile_has_symbols): Adjust comment.  Iterate on all separate
        (objfile_has_symbols): Adjust comment.  Iterate on all separate
        debug objfiles.
        debug objfiles.
        * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
        * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
        debug objfile.
        debug objfile.
        (lookup_minimal_symbol_text): Ditto.
        (lookup_minimal_symbol_text): Ditto.
        (lookup_minimal_symbol_by_pc_name): Ditto.
        (lookup_minimal_symbol_by_pc_name): Ditto.
        (lookup_minimal_symbol_solib_trampoline): Ditto.
        (lookup_minimal_symbol_solib_trampoline): Ditto.
        (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
        (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
        debug objfiles.
        debug objfiles.
2010-01-05  Stan Shebs  
2010-01-05  Stan Shebs  
        Add fast tracepoints.
        Add fast tracepoints.
        * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
        * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
        * arch-utils.c (default_fast_tracepoint_valid_at): New function.
        * arch-utils.c (default_fast_tracepoint_valid_at): New function.
        * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
        * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
        * breakpoint.c (tracepoint_type): New function.
        * breakpoint.c (tracepoint_type): New function.
        (ALL_TRACEPOINTS): Use it.
        (ALL_TRACEPOINTS): Use it.
        (should_be_inserted): Ditto.
        (should_be_inserted): Ditto.
        (bpstat_check_location): Ditto.
        (bpstat_check_location): Ditto.
        (print_one_breakpoint_location): Ditto.
        (print_one_breakpoint_location): Ditto.
        (user_settable_breakpoint): Ditto.
        (user_settable_breakpoint): Ditto.
        (set_breakpoint_location_function): Ditto.
        (set_breakpoint_location_function): Ditto.
        (disable_breakpoints_in_shlibs): Ditto.
        (disable_breakpoints_in_shlibs): Ditto.
        (delete_trace_command): Ditto.
        (delete_trace_command): Ditto.
        (print_it_typical): Add bp_fast_tracepoint case.
        (print_it_typical): Add bp_fast_tracepoint case.
        (bpstat_what): Ditto.
        (bpstat_what): Ditto.
        (print_one_breakpoint_location): Ditto.
        (print_one_breakpoint_location): Ditto.
        (allocate_bp_location): Ditto.
        (allocate_bp_location): Ditto.
        (mention): Ditto.
        (mention): Ditto.
        (breakpoint_re_set_one): Ditto.
        (breakpoint_re_set_one): Ditto.
        (disable_command): Ditto.
        (disable_command): Ditto.
        (enable_command): Ditto.
        (enable_command): Ditto.
        (check_fast_tracepoint_sals): New function.
        (check_fast_tracepoint_sals): New function.
        (break_command_really): Call it.
        (break_command_really): Call it.
        (ftrace_command): New function.
        (ftrace_command): New function.
        (_initialize_breakpoint): Add ftrace command.
        (_initialize_breakpoint): Add ftrace command.
        * gdbarch.sh (fast_tracepoint_valid_at): New.
        * gdbarch.sh (fast_tracepoint_valid_at): New.
        * gdbarch.h, gdbarch.c: Regenerate.
        * gdbarch.h, gdbarch.c: Regenerate.
        * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
        * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
        (i386_gdbarch_init): Use it.
        (i386_gdbarch_init): Use it.
        * remote.c (struct remote_state): New field fast_tracepoints.
        * remote.c (struct remote_state): New field fast_tracepoints.
        (PACKET_FastTracepoints): New packet config type.
        (PACKET_FastTracepoints): New packet config type.
        (remote_fast_tracepoint_feature): New function.
        (remote_fast_tracepoint_feature): New function.
        (remote_protocol_features): Add FastTracepoints.
        (remote_protocol_features): Add FastTracepoints.
        (remote_supports_fast_tracepoints): New function.
        (remote_supports_fast_tracepoints): New function.
        (_initialize_remote): Add FastTracepoints.
        (_initialize_remote): Add FastTracepoints.
        * tracepoint.c (download_tracepoint): Add fast tracepoint option.
        * tracepoint.c (download_tracepoint): Add fast tracepoint option.
        * NEWS: Mention fast tracepoints.
        * NEWS: Mention fast tracepoints.
2010-01-06  Joel Brobecker  
2010-01-06  Joel Brobecker  
        * gdb-gdb.py: New file.
        * gdb-gdb.py: New file.
2010-01-05  Michael Snyder  
2010-01-05  Michael Snyder  
        * infrun.c (handle_inferior_event): Fix typo in comment.
        * infrun.c (handle_inferior_event): Fix typo in comment.
2010-01-05  Jan Kratochvil  
2010-01-05  Jan Kratochvil  
        * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
        * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
2010-01-04  Ulrich Weigand  
2010-01-04  Ulrich Weigand  
        * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
        * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
        and s390x-linux64.
        and s390x-linux64.
        (s390-linux32-expedite): Define.
        (s390-linux32-expedite): Define.
        (s390-linux64-expedite): Define.
        (s390-linux64-expedite): Define.
        (s390x-linux64-expedite): Define.
        (s390x-linux64-expedite): Define.
        * features/s390-acr.xml: New file.
        * features/s390-acr.xml: New file.
        * features/s390-fpr.xml: New file.
        * features/s390-fpr.xml: New file.
        * features/s390-core32.xml: New file.
        * features/s390-core32.xml: New file.
        * features/s390-core64.xml: New file.
        * features/s390-core64.xml: New file.
        * features/s390x-core64.xml: New file.
        * features/s390x-core64.xml: New file.
        * features/s390-linux32.xml: New file.
        * features/s390-linux32.xml: New file.
        * features/s390-linux64.xml: New file.
        * features/s390-linux64.xml: New file.
        * features/s390x-linux64.xml: New file.
        * features/s390x-linux64.xml: New file.
        * features/s390-linux32.c: New generated file.
        * features/s390-linux32.c: New generated file.
        * features/s390-linux64.c: New generated file.
        * features/s390-linux64.c: New generated file.
        * features/s390x-linux64.c: New generated file.
        * features/s390x-linux64.c: New generated file.
        * regformats/s390-linux32.dat: New generated file.
        * regformats/s390-linux32.dat: New generated file.
        * regformats/s390-linux64.dat: New generated file.
        * regformats/s390-linux64.dat: New generated file.
        * regformats/s390x-linux64.dat: New generated file.
        * regformats/s390x-linux64.dat: New generated file.
        * regformats/reg-s390.dat: Remove.
        * regformats/reg-s390.dat: Remove.
        * regformats/reg-s390x.dat: Remove.
        * regformats/reg-s390x.dat: Remove.
        * s390-nat.c: Include "auxv.h" and .
        * s390-nat.c: Include "auxv.h" and .
        (HWCAP_S390_HIGH_GPRS): Define if undefined.
        (HWCAP_S390_HIGH_GPRS): Define if undefined.
        (s390_target_wordsize): New function.
        (s390_target_wordsize): New function.
        (s390_auxv_parse): Likewise.
        (s390_auxv_parse): Likewise.
        (s390_get_hwcap): Likewise.
        (s390_get_hwcap): Likewise.
        (s390_read_description): Likewise.
        (s390_read_description): Likewise.
        (_initialize_s390_nat): Install s390_auxv_parse and
        (_initialize_s390_nat): Install s390_auxv_parse and
        s390_read_description.
        s390_read_description.
        * s390-tdep.c: Include "features/s390-linux32.c",
        * s390-tdep.c: Include "features/s390-linux32.c",
        "features/s390-linux64.c", and "features/s390x-linux64.c".
        "features/s390-linux64.c", and "features/s390x-linux64.c".
        (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
        (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
        (s390_register_call_saved): New function.
        (s390_register_call_saved): New function.
        (s390_register_name): Remove.
        (s390_register_name): Remove.
        (s390_register_type): Remove.
        (s390_register_type): Remove.
        (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
        (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
        (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
        (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
        (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
        (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
        (s390_pseudo_register_name): New function.
        (s390_pseudo_register_name): New function.
        (s390_pseudo_register_type): New function.
        (s390_pseudo_register_type): New function.
        (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
        (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
        Handle full GPR pesudos and varying pseudo register numbers.
        Handle full GPR pesudos and varying pseudo register numbers.
        (s390_pseudo_register_write): Likewise
        (s390_pseudo_register_write): Likewise
        (s390x_pseudo_register_read): Remove.
        (s390x_pseudo_register_read): Remove.
        (s390x_pseudo_register_write): Likewise.
        (s390x_pseudo_register_write): Likewise.
        (s390_register_group): Remove.
        (s390_register_group): Remove.
        (s390_pseudo_register_group): New function.
        (s390_pseudo_register_group): New function.
        (s390_regmap_gregset): Add GPR upper halves.
        (s390_regmap_gregset): Add GPR upper halves.
        (s390x_regmap_gregset): Likewise.
        (s390x_regmap_gregset): Likewise.
        (s390_regmap_fpregset): Likewise.
        (s390_regmap_fpregset): Likewise.
        (s390_regmap_upper): New global variable.
        (s390_regmap_upper): New global variable.
        (s390_upper_regset): New global variable.
        (s390_upper_regset): New global variable.
        (s390_upper_regset_sections): New global variable.
        (s390_upper_regset_sections): New global variable.
        (s390_regset_from_core_section): Handle GPR upper halves.
        (s390_regset_from_core_section): Handle GPR upper halves.
        (s390_core_read_description): New function.
        (s390_core_read_description): New function.
        (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
        (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
        register information.  Handle varying pseudo register numbers.
        register information.  Handle varying pseudo register numbers.
        (s390_backchain_frame_unwind_cache): Likewise.
        (s390_backchain_frame_unwind_cache): Likewise.
        (s390_frame_prev_register): Unwind full GPRs to show lower halves.
        (s390_frame_prev_register): Unwind full GPRs to show lower halves.
        (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
        (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
        (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
        (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
        PC and CC pseudos.  Unwind upper halves and full GPRs as appropriate.
        PC and CC pseudos.  Unwind upper halves and full GPRs as appropriate.
        Handle varying pseudo register numbers.
        Handle varying pseudo register numbers.
        (s390_unwind_pc): Handle varying pseudo register numbers.
        (s390_unwind_pc): Handle varying pseudo register numbers.
        (s390_dwarf2_prev_register): New function.
        (s390_dwarf2_prev_register): New function.
        (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
        (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
        register information.  Handle varying pseudo register numbers.
        register information.  Handle varying pseudo register numbers.
        Install s390_dwarf2_prev_register to unwind full GPRs.
        Install s390_dwarf2_prev_register to unwind full GPRs.
        (s390_gdbarch_init): Handle target descriptions.  Assign varying
        (s390_gdbarch_init): Handle target descriptions.  Assign varying
        pseudo register numbers.  Install s390_adjust_frame_regnum.
        pseudo register numbers.  Install s390_adjust_frame_regnum.
        (_initialize_s390_tdep): Initialize target descriptions.
        (_initialize_s390_tdep): Initialize target descriptions.
        * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
        * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
        (S390_NUM_REGS): Redefine to include upper half registers.
        (S390_NUM_REGS): Redefine to include upper half registers.
        (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
        (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
        (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
        (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
        (tdesc_s390_linux32): Add declaration.
        (tdesc_s390_linux32): Add declaration.
        (tdesc_s390_linux64): Likewise.
        (tdesc_s390_linux64): Likewise.
        (tdesc_s390x_linux64): Likewise.
        (tdesc_s390x_linux64): Likewise.
2010-01-04  Ulrich Weigand  
2010-01-04  Ulrich Weigand  
        * regset.h (struct core_regset_section): Add HUMAN_NAME.
        * regset.h (struct core_regset_section): Add HUMAN_NAME.
        * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
        * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
        * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
        * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
        (ppc_linux_vmx_regset_sections): Likewise.
        (ppc_linux_vmx_regset_sections): Likewise.
        (ppc_linux_fp_regset_sections): Likewise.
        (ppc_linux_fp_regset_sections): Likewise.
        * corelow.c (get_core_register_section): Constify arguments.
        * corelow.c (get_core_register_section): Constify arguments.
        (get_core_registers): Use gdbarch_core_regset_sections instead
        (get_core_registers): Use gdbarch_core_regset_sections instead
        of hard-coded platform-specific register section names.
        of hard-coded platform-specific register section names.
2010-01-04  Ulrich Weigand  
2010-01-04  Ulrich Weigand  
        * dwarf2loc.c (read_pieced_value): If a piece occupies part of
        * dwarf2loc.c (read_pieced_value): If a piece occupies part of
        a register, assume the least-significant part is used.
        a register, assume the least-significant part is used.
        (write_pieced_value): Likewise.
        (write_pieced_value): Likewise.
2010-01-04  Ulrich Weigand  
2010-01-04  Ulrich Weigand  
        * printcmd.c: Include "arch-utils.h".
        * printcmd.c: Include "arch-utils.h".
        (do_one_display): Re-parse expression if current architecture changed.
        (do_one_display): Re-parse expression if current architecture changed.
2010-01-03  Jan Kratochvil  
2010-01-03  Jan Kratochvil  
            Joel Brobecker  
            Joel Brobecker  
        * gdbtypes.c (check_typedef): New comment on type length.
        * gdbtypes.c (check_typedef): New comment on type length.
        * value.c (allocate_value_lazy): Remove the unused atype variable.  New
        * value.c (allocate_value_lazy): Remove the unused atype variable.  New
        comment on type length.
        comment on type length.
        (value_primitive_field): Keep the original TYPE value, new comment.
        (value_primitive_field): Keep the original TYPE value, new comment.
2010-01-01  Jan Kratochvil  
2010-01-01  Jan Kratochvil  
        * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
        * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
        p_start.  Change != comparisons to > and < comparisons.
        p_start.  Change != comparisons to > and < comparisons.
2010-01-01  Jan Kratochvil  
2010-01-01  Jan Kratochvil  
        * cli/cli-script.c (process_next_line): Check P2 overrun.
        * cli/cli-script.c (process_next_line): Check P2 overrun.
2009-01-01  Joel Brobecker  
2009-01-01  Joel Brobecker  
        Update the copyright hearder to add year 2010 for most GDB files.
        Update the copyright hearder to add year 2010 for most GDB files.
2009-01-01  Joel Brobecker  
2009-01-01  Joel Brobecker  
        Fix build failure in inf-ptrace.c.
        Fix build failure in inf-ptrace.c.
        * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
        * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
2010-01-01  Joel Brobecker  
2010-01-01  Joel Brobecker  
        * top.c (print_gdb_version): Update copyright year.
        * top.c (print_gdb_version): Update copyright year.
2010-01-01  Joel Brobecker  
2010-01-01  Joel Brobecker  
        Fix break *FUN'address thread NUM.
        Fix break *FUN'address thread NUM.
        * ada-lex.l (task): Expand rule to also match the thread keyword.
        * ada-lex.l (task): Expand rule to also match the thread keyword.
2010-01-01  Joel Brobecker  
2010-01-01  Joel Brobecker  
        Fix break *FUN'address task NUM.
        Fix break *FUN'address task NUM.
        * ada-lex.l (task): New rule.
        * ada-lex.l (task): New rule.
        * ada-lang.c (valid_task_id): Make sure the Ada task list has
        * ada-lang.c (valid_task_id): Make sure the Ada task list has
        been built before using it.
        been built before using it.
For older changes see ChangeLog-2009.
For older changes see ChangeLog-2009.


Local Variables:
Local Variables:
mode: change-log
mode: change-log
left-margin: 8
left-margin: 8
fill-column: 74
fill-column: 74
version-control: never
version-control: never
coding: utf-8
coding: utf-8
End:
End:
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.