gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d00939c8d0c3e0e005b2a342073d39885b46b385..ff269ff0e92874737c6c96bcb61ca34ca83c71d8 100644 (file)
@@ -1,3 +1,314 @@
+2011-11-20  Sanjoy Das  <sdas@igalia.com>
+
+       * Makefile.in: Add gdb-dlfcn.c and gdb-dlfcn.h to build system.
+       * config.in: Add new #define HAVE_LIBDL.
+       * configure.ac: Add check for -ldl.
+       * configure: Re-generated by autoconf.
+       * gdb-dlfcn.c: New file.
+       * gdb-dlfcn.h: New file.
+
+2011-11-20  Sanjoy Das  <sdas@igalia.com>
+
+       * config.in: Add new #defines: JIT_READER_DIR and
+       JIT_READER_DIR_RELOCATABLE.
+       * configure.ac: New GDB directory entry for jit-reader-dir.
+       * configure: Re-generated by autoconf.
+       * jit.c: New static variable: const char *jit_reader_dir.
+       (_initialize_jit): Relocate jit_reader_dir.
+
+2011-11-20  Sanjoy Das  <sdas@igalia.com>
+
+       * Makefile.in: Add jit-reader.h as a header.  Have it installed in
+       $(includedir)/gdb.
+       * configure.ac: Generate a correct value for TARGET_PTR for
+       jit-reader.h.  Tell configure to generate jit-reader.h from
+       jit-reader.in.
+       * configure: Re-generated by autoconf.
+       * jit-reader.in: New file.
+       * jit.c: Include jit-reader.h.
+
+2011-11-20  Sanjoy Das  <sdas@igalia.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2011-11-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * findvar.c (read_frame_register_value): Respect value_offset
+       of the register value.  Remove big-endian special case.
+
+2011-11-18  Tom Tromey  <tromey@redhat.com>
+
+       PR build/7196:
+       * remote.c (putpkt_for_catch_errors): New function.
+       (remote_kill): Use it.
+
+2011-11-18  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (create_breakpoint): Produce query message according to
+       breakpoint's type.
+       Allocate tracepoint per correct type.
+       Don't check SALs for pending fast tracepoints.
+       * tracepoint.c (process_tracepoint_on_disconnect): New.
+       (disconnect_tracing): Call process_tracepoint_on_disconnect.
+
+2011-11-18  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (install_breakpoint):  Add one more parameter so that
+       update_global_location_list is called conditionally.
+       (create_fork_vfork_event_catchpoint): Update.
+       (create_syscall_event_catchpoint): Update.
+       (create_breakpoint_sal): Update.
+       (create_breakpoint_sal): Update. Call do_cleanups before
+       install_breakpoint.
+       * ada-lang.c (create_ada_exception_catchpoint): Update.
+       * breakpoint.h (install_breakpoint): Update declaration.
+
+2011-11-16  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_return_value): Fix handling of
+       TYPE_CALLING_CONVENTION annotation.
+
+2011-11-16  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * skip.c (skip_function_command): Work around uninitialized
+       variable warning.
+
+2011-11-16  David S. Miller  <davem@davemloft.net>
+
+       * utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' and
+       'tv_usec' to long for printf since these fields have a type which
+       varies.
+
+2011-11-15  Doug Evans  <dje@google.com>
+
+       * buildsym.c (add_symbol_to_list): Delete outdated comment.
+
+2011-11-15  Paul Koning  <paul_koning@dell.com>
+
+       * python/py-type.c (typy_get_composite): New function.
+       (typy_nonzero): New function.
+       (typy_values): Rename from typy_fields.
+       (typy_fields): New function.
+       (typy_length): Raise exception if not struct, union, or enum type.
+       (typy_getitem): Ditto.
+       (typy_has_key): Ditto.
+       (typy_make_iter): Ditto.
+
+2011-11-15  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention new parameter basenames-may-differ.
+       * dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if
+       ! basenames_may_differ.
+       * psymtab.c (lookup_partial_symtab): Ditto.
+       * symtab.c (lookup_symtab): Ditto.
+       (basenames_may_differ): New global.
+       (_initialize_symtab): New parameter basenames-may-differ.
+       * symtab.h (basenames_may_differ): Declare.
+
+2011-11-15  Pedro Alves  <pedro@codesourcery.com>
+           Luis Machado  <lgustavo@codesourcery.com>
+
+       * auxv.c: Include observer.h.
+       (auxv_inferior_data_cleanup): New.
+       (invalidate_auxv_cache_inf): New.
+       (invalidate_auxv_cache): New.
+       (get_auxv_inferior_data): New.
+       (auxv_inferior_data): New static global.
+       (auxv_info): New structure.
+       (target_auxv_search): Use get_auxv_inferior_data instead of
+       target_read_alloc and don't free cached buffers.
+       (fprint_target_auxv): Likewise
+       (_initialize_auxv): Register per-inferior auxv cache and register
+       observers to invalidate auxv cache when needed.
+
+2011-11-14  Doug Evans  <dje@google.com>
+
+       Make "!" an alias for "shell".
+       * NEWS: Add mention.
+       * cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on
+       adding "!" command, always add it.
+       * cli/cli-decode.c (find_command_name_length): Recognize "!" as a
+       command of length one.
+
+2011-11-14  Stan Shebs  <stan@codesourcery.com>
+           Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * NEWS: Document shorter fast tracepoints and qTMinFTPILen packet.
+       * i386-tdep.c (i386_fast_tracepoint_valid_at): Query target for
+       the minimum instruction size for fast tracepoints.
+       * target.h (struct target_ops): Add new method
+       to_get_min_fast_tracepoint_insn_len.
+       (target_get_min_fast_tracepoint_insn_len): New.
+       * target.c (update_current_target): Set up new target operation.
+       * remote.c (remote_write_bytes_aux): Fix typo.
+       (remote_get_min_fast_tracepoint_insn_len): New.
+       (init_remote_ops): Initialize new field.
+
+2011-11-14  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (encode_actions_1): Use the location's gdbarch.
+       (encode_actions): Likewise.
+
+2011-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (struct remote_state): <install_in_trace> new field.
+       (PACKET_InstallInTrace): New enum value.
+       (remote_install_in_trace_feature): Support InstallInTrace.
+       (remote_supports_install_in_trace): Likewise.
+       (remote_protocol_features): Likewise.
+       (_initialize_remote): Likewise.
+       (remote_can_download_tracepoint): New.
+       * target.h (struct target): New field
+       `to_can_download_tracepoint'.
+       (target_can_download_tracepoint): New macro.
+       * target.c (update_current_target): Update.
+       * breakpoint.h (struct bp_location): Add comment on field
+       `duplicate'.
+       * breakpoint.c (should_be_inserted): Don't differentiate breakpoint
+       and tracepoint.
+       (remove_breakpoints): Don't remove tracepoints.
+       (tracepoint_locations_match ): New.
+       (breakpoint_locations_match): Call it.
+       (disable_breakpoints_in_unloaded_shlib): Handle tracepoint.
+       (download_tracepoint_locations): New.
+       (update_global_location_list): Call it.
+       * tracepoint.c (find_matching_tracepoint): Delete.
+       (find_matching_tracepoint_location): Renamed from
+       find_matching_tracepoint.  Return bp_location rather than
+       tracepoint.
+       (merge_uploaded_tracepoints): Set `inserted' field to 1 if
+       tracepoint is found.
+
+2011-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * target.h (struct target): <to_download_tracepoint> Change type
+       of parameter from tracepoint to bp_location.
+       * target.c (update_current_target): Update.
+       * tracepoint.c (start_tracing): Update.
+       * remote.c (remote_download_tracepoint): Remove loop for each location
+       of a tracepoint.
+
+2011-11-14  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * i386-nat.c (i386_insert_hw_breakpoint): Call
+       i386_update_inferior_debug_regs.
+       (i386_remove_hw_breakpoint): Likewise.
+
+2011-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (init_raw_breakpoint): Call
+       add_location_to_breakpoint to replace duplicated code.
+       (add_location_to_breakpoint): Adjust the breakpoint's
+       address prior to allocating a location.
+
+2011-11-12  Matt Rice  <ratmice@gmail.com>
+
+       * macrocmd.c (macro_no_macro_info): New function.
+       (macro_expand_command): Use macro_no_macro_info.
+       (macro_expand_once_command): Ditto.
+       (info_macro_command): Add argument processing,
+       move info_definitions_command here.
+       (_initialize_macrocmd): Remove info definitions command.
+       Add arguments to info macro help text.
+       * NEWS: Replace info definitions command with new info macro options.
+
+2011-11-11  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/12843
+       * linespec.c (locate_first_half): Keep ':' if it looks
+       like it could be part of a Windows path starting with
+       a drive letter.
+
+2011-11-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.c (linux_nat_wait): Don't force waking up the event
+       loop when returning a TARGET_WAITKIND_NO_RESUMED.
+
+2011-11-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * target.c (target_waitstatus_to_string): Handle
+       TARGET_WAITKIND_NO_RESUMED.
+
+2011-11-10  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dw2_map_symbol_filenames): New parameter
+       `need_fullname'.
+       * psymtab.c (map_symbol_filenames_psymtab): Ditto.
+       (map_partial_symbol_filenames): Ditto.  All callers updated.
+       * psymtab.h (map_partial_symbol_filenames): Update prototype.
+       * symfile.h (struct quick_symbol_functions, map_symbol_filenames): New
+       parameter need_fullname.
+
+       * psymtab.c (psymtab_to_fullname): Use cached copy if it exists.
+       * source.c (symtab_to_fullname): Ditto.
+
+       * defs.h (is_cplus_marker, set_demangling_style): Moved to ...
+       * gdb-demangle.h: ... here.  New file.
+       * demangle.c: #include "gdb-demangle.h".
+       (_initialize_demangler): Use initialize_file_ftype for prototype.
+       Move "set demangle" and "set asm-demangle" parameters here from utils.c
+       (demangle, show_demangle, asm_demangle, show_asm_demangle): Move here
+       from utils.c
+       * utils.c: Update. #include "gdb-demangle.h".
+       * symtab.h (asm_demangle): Delete.
+       (demangle): Move declaration next to use.
+       * breakpoint.c: #include "gdb-demangle.h" instead of "demangle.h".
+       * dwarf2read.c: #include "gdb-demangle.h".
+       * gnu-v2-abi.c: Ditto.
+       * jv-typeprint.c: Ditto.
+       * mdebugread.c: Ditto.
+       * p-typeprint.c: Ditto.
+       * stabsread.c: Ditto.
+       * printcmd.c: Ditto.
+       (asm_demangle): Delete declaration.
+       * tui/tui-stack.c: #include "gdb-demangle.h".
+
+       * python/py-type.c (typy_fields_items): Call check_typedef.
+
+2011-11-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * findvar.c (read_frame_register_value): Read the correct bytes
+       from registers on big-endian architectures.
+
+2011-11-10  Tom Tromey  <tromey@redhat.com>
+
+       * procfs.c (load_syscalls): Make a cleanup.
+       (open_procinfo_files): fd==0 is ok.
+
+2011-11-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (iterate_over_mappings): Call do_cleanups before
+       returning.
+
+2011-11-09  Doug Evans  <dje@google.com>
+
+       * gdbtypes.c (check_typedef): Document that this function can
+       throw an exception.
+
+2011-11-09  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/13342:
+       * valops.c (value_full_object): Return early if real type is
+       smaller than the enclosing type.
+
+2011-11-08  Yao Qi  <yao@codesourcery.com>
+
+       * amd64-tdep.c (amd64_relocate_instruction): Make it static.
+
+2011-11-08  Meador Inge  <meadori@codesourcery.com>
+
+       * arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP
+       register when the frame can't be determined.
+       * arm-tdep.c (arm_analyze_prologue): Ditto.
+
+2011-11-07  Stan Shebs  <stan@codesourcery.com>
+
+       * MAINTAINERS: Move Michael Snyder to Past Maintainers.
+
+2011-11-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * infrun.c (handle_inferior_event): Minor reformatting.
+
 2011-11-05  Doug Evans  <dje@google.com>
 
        * source.c (forget_cached_source_info_for_objfile): Move call to
 
 2011-10-28  Alen Skondro  <askondro@gmail.com>
 
-       * ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
+       * ser-tcp.c [USE_WIN32API] (ETIMEDOUT): Don't define if already
        defined.
 
 2011-10-27  Meador Inge  <meadori@codesourcery.com>
This page took 0.027906 seconds and 4 git commands to generate.