gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0239a303113bde39873fa29a6cc65a26b9e5708a..2a910bac5a5cf149f7f0d00f9580a067403dab78 100644 (file)
@@ -1,3 +1,147 @@
+2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Execute -ix and -iex only after system and user gdbinit files.
+       * main.c (captured_main): Move CMDARG_INIT_FILE and CMDARG_INIT_COMMAND
+       processing down after gdbinit files.
+
+2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Add fnmatch-gnu module.
+       * gnulib/Makefile.in (aclocal_m4_deps): Add new files and remove one.
+       * gnulib/configure.ac (AC_INIT): Use now import/memmem.c.
+       * gnulib/aclocal.m4: Regenerate.
+       * gnulib/config.in: Regenerate.
+       * gnulib/configure: Regenerate.
+       * gnulib/import/dummy.c: Remove.
+       * gnulib/import/Makefile.am: Regenerate.
+       * gnulib/import/Makefile.in: Likewise.
+       * gnulib/import/m4/gnulib-cache.m4: Likewise.
+       * gnulib/import/m4/gnulib-comp.m4: Likewise.
+       * gnulib/import/alloca.c: New file.
+       * gnulib/import/alloca.in.h: Likewise.
+       * gnulib/import/config.charset: Likewise.
+       * gnulib/import/fnmatch.c: Likewise.
+       * gnulib/import/fnmatch.in.h: Likewise.
+       * gnulib/import/fnmatch_loop.c: Likewise.
+       * gnulib/import/localcharset.c: Likewise.
+       * gnulib/import/localcharset.h: Likewise.
+       * gnulib/import/m4/alloca.m4: Likewise.
+       * gnulib/import/m4/codeset.m4: Likewise.
+       * gnulib/import/m4/configmake.m4: Likewise.
+       * gnulib/import/m4/fcntl-o.m4: Likewise.
+       * gnulib/import/m4/fnmatch.m4: Likewise.
+       * gnulib/import/m4/glibc21.m4: Likewise.
+       * gnulib/import/m4/localcharset.m4: Likewise.
+       * gnulib/import/m4/locale-fr.m4: Likewise.
+       * gnulib/import/m4/locale-ja.m4: Likewise.
+       * gnulib/import/m4/locale-zh.m4: Likewise.
+       * gnulib/import/m4/mbrtowc.m4: Likewise.
+       * gnulib/import/m4/mbsinit.m4: Likewise.
+       * gnulib/import/m4/mbsrtowcs.m4: Likewise.
+       * gnulib/import/m4/mbstate_t.m4: Likewise.
+       * gnulib/import/m4/stdbool.m4: Likewise.
+       * gnulib/import/m4/wchar_h.m4: Likewise.
+       * gnulib/import/m4/wctype_h.m4: Likewise.
+       * gnulib/import/m4/wint_t.m4: Likewise.
+       * gnulib/import/mbrtowc.c: Likewise.
+       * gnulib/import/mbsinit.c: Likewise.
+       * gnulib/import/mbsrtowcs-impl.h: Likewise.
+       * gnulib/import/mbsrtowcs-state.c: Likewise.
+       * gnulib/import/mbsrtowcs.c: Likewise.
+       * gnulib/import/ref-add.sin: Likewise.
+       * gnulib/import/ref-del.sin: Likewise.
+       * gnulib/import/stdbool.in.h: Likewise.
+       * gnulib/import/streq.h: Likewise.
+       * gnulib/import/strnlen1.c: Likewise.
+       * gnulib/import/strnlen1.h: Likewise.
+       * gnulib/import/verify.h: Likewise.
+       * gnulib/import/wchar.in.h: Likewise.
+       * gnulib/import/wctype.in.h: Likewise.
+
+2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support shell wildcards for 'set auto-load safe-path'.
+       * auto-load.c: Include fnmatch.h.
+       (filename_is_in_dir): Rename to ...
+       (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split
+       it.  Update function comment.  Rename dir_len to pattern_len.  New
+       variables filename_len, pattern and filename.  Add more DEBUG_AUTO_LOAD
+       messages.  Use gdb_filename_fnmatch.
+       (filename_is_in_auto_load_safe_path_vec): Rename variable dir to
+       pattern.
+       (_initialize_auto_load): Extend the "set auto-load safe-path" help text.
+       * defs.h (gdb_filename_fnmatch): New declaration.
+       * utils.c: Include fnmatch.h.
+       (gdb_filename_fnmatch): New function.
+
+2012-07-02  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * breakpoint.c (BREAK_ARGS_HELP): Include help message for the new
+       `-probe' and `-probe-stap' options.
+
+2012-07-01  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c: Removed always_inserted_auto, always_inserted_on,
+       always_inserted_off, and always_inserted_enums.
+       Change always_inserted_mode's type to 'enum auto_boolean'.
+       (show_always_inserted_mode, breakpoint_always_inserted_mode): Update
+       callers.
+       (_initialize_breakpoint): Call add_setshow_auto_boolean_cmd instead
+       of add_setshow_enum_cmd.
+       * infrun.c: Remove can_use_displaced_stepping_auto,
+       can_use_displaced_stepping_on, can_use_displaced_stepping_off, and
+       can_use_displaced_stepping_enum.
+       Change can_use_displaced_stepping's type to 'enum auto_boolean'.
+       (show_can_use_displaced_stepping, use_displaced_stepping): Update callers.
+       (_initialize_infrun): Call add_setshow_auto_boolean_cmd instead of
+       add_setshow_enum_cmd.
+
+2012-06-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (signatured_type): Make "per_cu" member first.
+       (init_cutu_and_read_dies): Handle rereading a DWO CU while it's
+       currently being read.  Propagate DW_AT_comp_dir to DWO DIE.
+
+2012-06-29  Doug Evans  <dje@google.com>
+
+       * linespec.c: #include "stack.h".
+       (decode_line_with_current_source): Moved here from symtab.c and
+       renamed from decode_line_spec.  All callers updated.
+       (decode_line_with_last_displayed): Moved here from breakpoint.c and
+       renamed from decode_line_spec_1.  All callers updated.
+       * linespec.h (decode_line_with_current_source): Move declaration here
+       from symtab.h and renamed from decode_line_spec.
+       (decode_line_with_last_displayed): Move declaration here from symtab.h
+       and renamed from decode_line_spec_1.
+       * macrocmd.c: #include "linespec.h".
+       * symtab.c: Remove #include "linespec.h".
+
+2012-06-28  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (get_cu_length): New function.
+       (offset_in_cu_p, error_check_comp_unit_head): Call it.
+       (create_debug_types_hash_table): Ditto.
+       (init_cutu_and_read_dies): Ditto.
+       (init_cutu_and_read_dies_no_follow): Ditto.
+
+       * dwarf2read.c (dwarf2_find_base_address): Move definition.
+
+       * dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif.
+       (struct abbrev_table): Define.
+       (dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with
+       abbrev_table.
+       (init_cutu_and_read_dies): Update.
+       (abbrev_table_alloc_abbrev): New function.  Replaces
+       dwarf_alloc_abbrev.  All callers updated.
+       (abbrev_table_add_abbrev): New function.
+       (abbrev_table_lookup_abbrev): New function.  Replaces
+       dwarf2_lookup_abbrev.  All callers updated.
+       (abbrev_table_read_table): New function.  Contents moved here from
+       dwarf2_read_abbrevs.
+       (dwarf2_read_abbrevs): Call it.
+       (abbrev_table_free): New function.
+       (dwarf2_free_abbrev_table): Call it.
+
 2012-06-28  Stan Shebs  <stan@codesourcery.com>
 
        * osdata.c (info_osdata_command): Filter out "Title" columns
This page took 0.024832 seconds and 4 git commands to generate.