2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9903f0c248cff189b156ffdfba5ac590357d432f..22883eb03958812caf8a0ad9baba0183bc07e9d8 100644 (file)
@@ -1,3 +1,275 @@
+2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * ax-gdb.c (gen_expr): Clean up code to handle internal variables
+       and to compile agent expressions.
+       * infrun.c (siginfo_make_value): New argument `ignore'.
+       (siginfo_funcs): New struct.
+       (_initialize_infrun): New argument when calling
+       `create_internalvar_type_lazy'.
+       * thread.c (thread_id_make_value): New argument `ignore'.
+       (thread_funcs): New struct.
+       (_initialize_thread): New argument when calling
+       `create_internalvar_type_lazy'.
+       * tracepoint.c (sdata_make_value): New argument `ignore'.
+       (sdata_funcs): New struct.
+       (_initialize_tracepoint): New argument when calling
+       `create_internalvar_type_lazy'.
+       * value.c (make_value): New struct.
+       (create_internalvar_type_lazy): New argument `data'.
+       (compile_internalvar_to_ax): New function.
+       (value_of_internalvar): Properly handling `make_value' case.
+       (clear_internalvar): Likewise.
+       (show_convenience): Adding `TRY_CATCH' block.
+       * value.h (internalvar_make_value): Delete, replace by...
+       (struct internalvar_funcs): ... this.
+       (create_internalvar_type_lazy) <fun>: Delete argument.
+       (create_internalvar_type_lazy) <funcs>, <data>: New arguments.
+       (compile_internalvar_to_ax): New function.
+       * windows-tdep.c (tlb_make_value): New argument `ignore'.
+       (tlb_funcs): New struct.
+       (_initialize_windows_tdep): New argument when calling
+       `create_internalvar_type_lazy'.
+
+2012-04-27  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to
+       see whether it is an address or a constant offset from DW_AT_low_pc.
+       (dwarf2_record_block_ranges): Likewise.
+       (read_partial_die): Likewise.
+
+2012-04-26  Mark Wielaard  <mjw@redhat.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * proc-utils.h (proc_prettyprint_signalset): New prototype.
+       (proc_prettyprint_signal): Likewise.
+       (proc_prettyprint_faultset): Likewise.
+       (proc_prettyprint_fault): Likewise.
+       (proc_prettyprint_actionset): Likewise.
+       (proc_prettyprint_flags): Move to new proc-flags.c section.
+       (proc_prettyfprint_flags): New prototype.
+       * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes.
+       (proc_syscall, proc_cursig): Likewise.
+       (proc_set_kill_on_last_close): Likewise.
+       (proc_unset_kill_on_last_close): Likewise.
+       (proc_set_watchpoint): Make static.
+       (proc_delete_dead_threads): Likewise.
+       (procfs_set_watchpoint): Likewise.
+       (_initialize_procfs): Add prototype.
+       * proc-events.c: Include proc-utils.h.
+       (init_syscall_table): Make static.
+       * proc-api.c (_initialize_proc_api): Add prototype.
+       * proc-flags.c: Include proc-utils.h.
+
+2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * configure.ac: Add AC_ARG_PROGRAM.
+       * configure: Regenerate.
+
+2012-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix DW_AT_lower_bound defaults for DWARF-4+.
+       * dwarf2read.c (read_subrange_type): Remove initialization of low and
+       high.  New variable low_default_is_valid.  Implement DWARF-4+
+       DW_AT_lower_bound defaults.  Print complaint for DW_AT_lower_bound with
+       no default by the DWARF standard.
+
+2012-04-26  Maciej W. Rozycki  <macro@mips.com>
+            Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): Move the check for return
+       trampolines ahead of the check for function trampolines.
+       * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros.
+       * mips-tdep.c (mips_str_mips16_call_stub): New variable.
+       (mips_str_mips16_ret_stub): Likewise.
+       (mips_str_call_fp_stub): Likewise.
+       (mips_str_call_stub): Likewise.
+       (mips_str_fn_stub): Likewise.
+       (mips_str_pic): Likewise.
+       (mips_in_frame_stub): New function.
+       (mips_unwind_pc): Return the return address rather than the PC
+       if the PC of an intermediate frame is inside a call thunk.
+       (mips_is_stub_suffix): New function.
+       (mips_is_stub_mode): Likewise.
+       (mips_get_mips16_fn_stub_pc): Likewise.
+       (mips_skip_mips16_trampoline_code): Update to handle all the
+       currently generated stub types.  Don't recurse into __fn_stub
+       thunks.  Remove heuristics to handle stubs beyond etext/_etext.
+       Use cooked register accesses.
+       (mips_in_return_stub): Reintroduce function.
+       (mips_skip_trampoline_code): Traverse trampolines recursively.
+       (mips_gdbarch_init): Handle MIPS16 return trampolines.
+
+2012-04-26  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.4.1 released.
+
+2012-04-26  Jonathan Larmour  <jifl@eCosCentric.com>
+
+       * arm-tdep.h (VFP_REGISTER_SIZE): Define.
+       * features/arm-with-m-vfp-d16.xml: New file. Describes
+       Cortex-M with VFPv4-sp-d16 FPU register layout.
+       * features/Makefile (WHICH): Add arm-with-m-vfp-d16.
+       * features/arm-with-m-vfp-d16.c: New. Generated from above.
+       * arm-tdep.c: Include arm-with-m-vfp-d16.c.
+       (arm-register_g_packet_guesses): Add vfp-d16 guess.
+       (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc.
+
+2012-04-25  Doug Evans  <dje@google.com>
+
+       * cli/cli-decode.c (print_doc_line): Use stream instead of
+       current_uiout.
+
+2012-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * features/arm-with-iwmmxt.c: Regenerate.
+       * features/arm-with-m-fpa-layout.c: Likewise.
+       * features/arm-with-m.c: Likewise.
+       * features/arm-with-neon.c: Likewise.
+       * features/arm-with-vfpv2.c: Likewise.
+       * features/arm-with-vfpv3.c: Likewise.
+       * features/mips-dsp-linux.c: Likewise.
+       * features/mips-linux.c: Likewise.
+       * features/mips64-dsp-linux.c: Likewise.
+       * features/mips64-linux.c: Likewise.
+       * features/s390-linux32.c: Likewise.
+       * features/s390-linux32v1.c: Likewise.
+       * features/s390-linux32v2.c: Likewise.
+       * features/s390-linux64.c: Likewise.
+       * features/s390-linux64v1.c: Likewise.
+       * features/s390-linux64v2.c: Likewise.
+       * features/s390x-linux64.c: Likewise.
+       * features/s390x-linux64v1.c: Likewise.
+       * features/s390x-linux64v2.c: Likewise.
+       * features/tic6x-c62x-linux.c: Likewise.
+       * features/tic6x-c62x.c: Likewise.
+       * features/tic6x-c64x-linux.c: Likewise.
+       * features/tic6x-c64x.c: Likewise.
+       * features/tic6x-c64xp-linux.c: Likewise.
+       * features/tic6x-c64xp.c: Likewise.
+       * target-descriptions.c: Only generate `field_type' and `type'
+       variables when needed.
+
+2012-04-25  Fredrik Hederstierna  <fredrikh.hederstierna@securitas-direct.com>
+
+       * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy.
+
+2012-04-25  Doug Evans  <dje@google.com>
+
+       Initial pass at Go language support.
+       * NEWS: Mention Go.
+       * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c,
+       go-valprint.c.
+       (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o.
+       (YYFILES): Add go-exp.c.
+       (YYOBJ): Add go-exp.o.
+       (local-maintainer-clean): Delete go-exp.c.
+       * defs.h (enum language): Add language_go.
+       * dwarf2read.c: #include "go-lang.h".
+       (fixup_go_packaging): New function.
+       (process_full_comp_unit): Call it when processing Go CUs.
+       (dwarf2_physname): Add Go support.
+       (read_file_scope): Handle missing language spec for GNU Go.
+       (set_cu_language): Handle DW_LANG_Go.
+       * go-exp.y: New file.
+       * go-lang.h: New file.
+       * go-lang.c: New file.
+       * go-typeprint.c: New file.
+       * go-valprint.c: New file.
+       * symtab.c: #include "go-lang.h".
+       (symbol_set_language): Handle language_go.
+       (symbol_find_demangled_name, symbol_set_names): Ditto.
+       (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto.
+
+2012-04-24  Jim Meyering  <meyering@redhat.com>
+
+       avoid a few strncpy-induced buffer overruns
+       * procfs.c (procfs_make_note_section): Be sure to NUL-terminate
+       fname and psargs before trying to concatenate.
+       * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate
+       "name" before applying strchr.
+
+2012-04-25  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * CONTRIBUTE: Use unified diff instead of context diff when
+       generating patches.
+
+2012-04-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support
+       code.  Handle JR.HB correctly.
+
+2012-04-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c
+       (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group
+       with the other MIPS16 helpers.
+
+2012-04-24  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * observer.sh: Conditionally declare `args', thus cleaning up
+       unused instances of this variable.
+
+2012-04-24  Yao Qi  <yao@codesourcery.com>
+
+       Revert this patch to allow breakpoint always-inserted
+       in record target.
+       2011-12-05  Pedro Alves  <pedro@codesourcery.com>
+        * breakpoint.c: Include record.h.
+        (breakpoints_always_inserted_mode): Return false when the record
+        target is in use.
+
+       * breakpoint.c (iterate_over_bp_locations): New.
+       * breakpoint.h: Declare.
+       New typedef walk_bp_location_callback.
+       * record.c (record_open): Call record_init_record_breakpoints.
+       (record_sync_record_breakpoints): New.
+       (record_init_record_breakpoints): New.
+       * NEWS: Mention supporting breakpoint always-inserted mode in
+       record target.
+
+2012-04-24  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just
+       any thread.
+
+2012-04-24  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (ep_is_catchpoint): Renamed to ...
+       (is_catchpoint): ... it.
+       (print_one_breakpoint_location): Caller update.
+       * breakpoint.h: Update declaration.
+
+2012-04-23  David S. Miller  <davem@davemloft.net>
+
+       * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes.
+
+2012-04-23  Tom Tromey  <tromey@redhat.com>
+
+       * buildsym.c (add_free_pendings): Remove.
+       * buildsym.h (add_free_pendings): Remove.
+
+2012-04-23  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
+       attr.u.unsnd instead of attr.u.addr.
+       (read_attribute_value) Ditto for cases DW_FORM_ref_addr,
+       DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8,
+       DW_FORM_ref_udata.
+       (dump_die_shallow): Update cases DW_FORM_ref_addr,
+       DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4.  Add cases DW_FORM_ref8,
+       DW_FORM_ref_udata.
+       (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes.
+
+2012-04-23  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_n32n64_return_value): Fix coding style.
+       (mips_o32_return_value): Likewise.
+       (mips_o64_return_value): Likewise.
+
 2012-04-21  Paul Hilfinger  <hilfinger@adacore.com>
 
        * ada-lang.c (ada_evaluate_subexp): Add cases for
This page took 0.027191 seconds and 4 git commands to generate.