2012-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
[binutils-gdb.git] / gdb / ChangeLog
index c67f8ca8ed3f3937a0a36b1cdfb44e3dc66c6f01..51918a55266172cf9f016adccb6e64d21caf79d8 100644 (file)
@@ -1,3 +1,211 @@
+2012-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * probe.c (parse_probes): Move conditional to check for
+       debuginfo files from here...
+       * stap-probe.c (stap_get_probes): ... to here.
+
+2012-05-07  Mark Kettenis  <kettenis@gnu.org>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_analyze_prologue): Additionally check for
+       `movl %esp, %ebp' for the X32 ABI.
+
+2012-05-07  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf_tag_name): Return const char *.  Use
+       get_DW_TAG_name.
+       (dwarf_attr_name): Return const char *.  Use get_DW_AT_name.
+       (dwarf_form_name): Return const char *.  Use get_DW_FORM_name.
+       (dwarf_stack_op_name): Remove.
+       (dwarf_cfi_name): Return const char *.  Use get_DW_ATE_name.
+       (decode_locdesc): Use get_DW_OP_name.
+       * dwarf2loc.c (unimplemented): Use get_DW_OP_name.
+       (dwarf2_compile_expr_to_ax): Likewise.
+       (disassemble_dwarf_expression): Likewise.
+       * dwarf2expr.h: (dwarf_stack_op_name): Remove.
+
+2012-05-07  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h.
+       (sh_linux_sigtramp_cache): New function.
+       (sh_linux_sigreturn_init): New function.
+       (sh_linux_rt_sigreturn_init): New function.
+       (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction
+       patterns.
+       (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn
+       syscall codes.
+       (sh_linux_sigreturn_tramp_frame): New tramp_frame definition.
+       (sh_linux_rt_sigreturn_tramp_frame): Likewise.
+       (sh_linux_init_abi): Add init calls to register new tramp_frame
+       definitions under 32-bit SH, update comments.
+
+2012-05-07  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/10952
+
+       * amd64-linux-tdep.c: Include glibc-tdep.h.
+       (amd64_linux_init_abi): Install glibc_skip_solib_resolver as
+       gdbarch_skip_solib_resolver callback.
+
+2012-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH
+       back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "".
+       (show_auto_load_safe_path): Check any-directory by comparison with "/".
+       (add_auto_load_safe_path): Change the error message.
+       (_initialize_auto_load): Change the "safe-path" help text.
+       * configure: Regenerate
+       * configure.ac (--without-auto-load-safe-path): Set
+       WITH_AUTO_LOAD_SAFE_PATH to /.
+
+2012-05-05  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.h: Do not include unecessary `probe.h'.
+
+2012-05-05  Alan Modra  <amodra@gmail.com>
+
+       * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and
+       bfd_und_section_ptr.
+       * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr
+       and bfd_com_section_ptr.
+
+2012-05-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS (Past Maintainers): Add Chris Faylor.
+
+2012-05-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.h (segment_register_p_ftype): New typedef.
+       (windows_set_segment_register_p): Add declaration.
+       * windows-nat.c (segment_register_p): New static global.
+       (windows_set_segment_register_p): New function.
+       (do_windows_fetch_inferior_registers): Add special handling
+       for segment registers.
+       * amd64-windows-nat.c: #include "amd64-tdep.h".
+       (amd64_windows_segment_register_p): New function.
+       (_initialize_amd64_windows_nat): Call windows_set_segment_register_p.
+       * i386-windows-nat.c: #include "i386-tdep.h".
+       (i386_windows_segment_register_p): New function.
+       (_initialize_i386_windows_nat): Call windows_set_segment_register_p.
+
+2012-05-04  Tristan Gingold  <gingold@adacore.com>
+
+       * printcmd.c (set_command): Emit a warning if the expression is not
+       an assignment.
+
+2012-05-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str):
+       Make static.
+
+2012-05-03  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * stap-probe.c (stap_is_operator): Change declaration.
+       (stap_get_opcode): Change return value.
+       (stap_parse_argument_1): Update calls to `stap_get_opcode' and
+       `stap_parse_argument_1'.
+
+2012-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (displaced_step_fixup): Add "displaced:" prefix to
+       debug log.
+
+2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
+
+       Add two new methods global_block and static_block to gdb.Symtab
+       objects.
+       * NEWS (Python scripting): Add entry about the new methods.
+       * python/py-symtab.c (stpy_global_block): New function which
+       implements the gdb.Symtab.global_block() method.
+       (stpy_static_block): New function which implements the
+       gdb.Symtab.static_block() method.
+       (symtab_object_methods): Add entries for the two new methods.
+
+2012-05-03  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no
+       files.
+
+2012-05-03  Yao Qi  <yao@codesourcery.com>
+
+       * i386-tdep.c (i386_fetch_pointer_argument): Remove extra
+       space.
+       (i386_process_record): Ditto.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcall.c (unwind_on_signal_p): Make static.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (solaris_pid_to_str): Make static.
+       (_initialize_sol_thread): Add prototype.
+
+2012-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
+
+2012-05-02  Christopher Faylor  <me.cygwin2012@cgf.cx>
+
+       * MAINTAINERS: Remove myself.
+
+2012-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix --without-auto-load-safe-path for MS-Windows host platform.
+       * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0.
+
+2012-05-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * gdb_curses.h: Undefine KEY_EVENT before including curses
+       headers.  Move "#undef MOUSE_MOVED" before any curses header
+       inclusion.
+
+2012-05-02  Sergio Durigan Junior  <sergiodj@gmail.com>
+
+       * features/i386/i386-mmx-linux.c: Regenerate.
+       * features/rs6000/powerpc-32.c: Likewise.
+       * features/rs6000/powerpc-32l.c: Likewise.
+       * features/rs6000/powerpc-403.c: Likewise.
+       * features/rs6000/powerpc-403gc.c: Likewise.
+       * features/rs6000/powerpc-405.c: Likewise.
+       * features/rs6000/powerpc-505.c: Likewise.
+       * features/rs6000/powerpc-601.c: Likewise.
+       * features/rs6000/powerpc-602.c: Likewise.
+       * features/rs6000/powerpc-603.c: Likewise.
+       * features/rs6000/powerpc-604.c: Likewise.
+       * features/rs6000/powerpc-64.c: Likewise.
+       * features/rs6000/powerpc-64l.c: Likewise.
+       * features/rs6000/powerpc-750.c: Likewise.
+       * features/rs6000/powerpc-860.c: Likewise.
+       * features/rs6000/powerpc-e500.c: Likewise.
+       * features/rs6000/powerpc-e500l.c: Likewise.
+       * features/rs6000/powerpc-isa205-32l.c: Likewise.
+       * features/rs6000/powerpc-isa205-64l.c: Likewise.
+       * features/rs6000/rs6000.c: Likewise.
+
+2012-05-02  Sergio Durigan Junior  <sergiodj@gmail.com>
+
+       * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused
+       variable.
+       * stap-probe.c (stap_parse_single_operand) <reg_suffix,
+       reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise.
+       (stap_parse_argument) <e>: Likewise.
+       (handle_stap_probe) <byte_order>: Likewise.
+
+2012-04-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (init_cutu_and_read_dies): Renamed from
+       init_and_read_dies_worker.  All callers updated.
+       (init_cu_and_read_dies, init_tu_and_read_dies): Delete.  All calls
+       replaced with init_cutu_and_read_dies.
+       (load_partial_comp_unit): Pass 1 for use_existing_cu.
+       (find_partial_die): Remove FIXME.  Don't free current CU.
+
+2012-04-30  Sterling Augustine  <saugustine@google.com>
+
+       * contrib: New directory.
+       * contrib/test_pubnames_and_indexes.py: New file.
+
 2012-04-30  Doug Evans  <dje@google.com>
 
        * dwarf2read.c (dwarf_decode_macros): New arg section_name.