gdb
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7e3f057d40f4ab17ec8a799c05983a004b1de15a..8d222f5c2be843c726f551450e03f3046510a2d6 100644 (file)
@@ -1,3 +1,404 @@
+2010-02-19  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/8693, PR c++/9496:
+       * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
+       * c-exp.y (lex_one_token): Rename from yylex.  Don't call
+       write_dollar_variable.  Don't try to classify NAME tokens.
+       (token_and_value): New type.
+       (token_fifo, popping, name_obstack): New globals.
+       (classify_name): New function.
+       (classify_inner_name): Likewise.
+       (yylex): Likewise.
+       (VARIABLE): Now has type sval.
+       (exp : VARIABLE): Call write_dollar_variable.
+       (qualified_name): Use TYPENAME, not typebase.  Add production for
+       multiple "::" instances.
+       (variable): Use name_not_typename.
+       (qualified_type): Remove.
+       (typebase): Update.
+
+2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (addr_info_make_relative): Extend comment.  Move SECT to
+       a more inner block.  Initialize ADDR by LOWER_OFFSET only if it was
+       found by bfd_get_section_by_name.
+       * symfile.h (struct section_addr_info) <sectindex>: New comment.
+
+2010-02-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Add new "[...] since 7.1" section.  Rename the "[...] since
+       7.0 section" into "Changes in 7.1".
+
+2010-02-19  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)
+       * version.in: Bump version to 7.1.50.20100219-cvs.
+
+2010-02-18  Harald Koenig  <H.Koenig@science-computing.de>
+
+       * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
+       * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
+
+2010-02-17  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Add Python API Improvements section.
+
+2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Correct typo.
+
+2010-02-17  Tom Tromey  <tromey@redhat.com>
+
+       * objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
+
+2010-02-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (build_section_addr_info_from_objfile): Include sections
+       only if they are SEC_ALLOC or SEC_LOAD.
+
+2010-02-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR shlibs/11293
+       * solib-svr4.c (enable_break): Check size of CORE_ADDR instead
+       of ULONGEST for address size.
+
+2010-02-17  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Add C++ improvements section.
+
+2010-02-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
+       PyThreadState_Swap): Avoid "statement with no effect" warning.
+
+2010-02-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (enable_break <target_auxv_search>): New variable
+       addr_bit.  Adjust LOAD_ADDR sign for cross-arch inferiors.
+
+2010-02-17  Tristan Gingold  <gingold@adacore.com>
+           Petr HluzĂ­n <petr.hluzin@gmail.com>
+
+       * avr-tdep.c (avr_scan_prologue): Convert an if statement to a
+       gdb_assert.  Fix info->size for SIG prologue.
+
+2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infcmd.c (show_inferior_tty_command): Check for NULL.
+       Correct output message.
+
+2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linespec.c (decode_line_1): Handle FILE:FUNCTION even if
+       FUNCTION contains parentheses.  Improve removal of a trailing
+       single quote.
+
+2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gcore.c (do_bfd_delete_cleanup): New function.
+       (gcore_command): Use it.  Discard the cleanup after success.
+       (gcore_copy_callback): Delete dead code.
+
+2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * symfile.c (addr_info_make_relative): Always use
+       find_lowest_section.
+
+2010-02-16  Sami Wagiaalla <swagiaal@redhat.com>
+
+       * NEWS: Added entry for namespace fixes.
+
+2010-02-15  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (guess_structure_name): Allocate name on the
+       objfile obstack.
+
+2010-02-15  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeprint.c (c_type_print_base): Reverse order of test.
+
+2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize.  Optionally
+       initialize it from ELF BFD.  Extend the prelink condition by it.
+
+2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * defs.h (parse_pid_to_attach): New.
+       * utils.c (parse_pid_to_attach): New.
+       * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
+       * gnu-nat.c (gnu_attach): Likewise.
+       * nto-procfs.c (procfs_attach): Likewise.
+       * procfs.c (procfs_attach): Likewise.
+       * windows-nat.c (windows_attach): Likewise.
+       * inf-ptrace.c (inf_ptrace_attach): Likewise.  Remove variable dummy.
+       * inf-ttrace.c (inf_ttrace_attach): Likewise.
+       * remote.c (extended_remote_attach_1): Likewise.  New comment on getpid
+       check.
+
+2010-02-14  Masaki Muranaka  <monaka@monami-software.com>
+
+       * MAINTAINERS: Add myself for write after approval privileges.
+
+2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
+       block.
+
+2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
+       only if INFO_VERBOSE.
+
+2010-02-12  Tomas Holmberg <th@virtutech.com>
+
+       * mi/mi-main.c: Added the --reverse flag to the following MI
+       commands: exec-continue, exec-finish, exec-next, exec-step,
+       exec-next-instruction, exec-step-instruction. This is to
+       support reverse execution over the MI interface to gdb.
+
+2010-02-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (_initialize_tracepoint): Specify that the address
+       range of `tfind outsize' is exclusive, and that the address range
+       of `tfind range' is inclusive, in the commands' help strings.
+
+2010-02-12  Joel Brobecker  <brobecker@adacore.com>
+
+       Spurious "dll not found" error messages on x64-windows.
+       * windows-nat.c: Add include of complaints.h.
+       (handle_unload_dll): Change dll-not-found error into a complaint.
+
+2010-02-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (allocate_bp_location): Use bp_loc_other for
+       bp_tracepoint and bp_fast_tracepoint, not
+       bp_loc_software_breakpoint.
+       (update_global_location_list): Tracepoints are never duplicates of
+       anything.
+
+2010-02-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (break_command_really): Change return type to int.
+       Return false if no breakpoint was created, true otherwise.
+       (trace_command): Don't set the tracepoint count if no tracepoint
+       was created.
+       (ftrace_command): Ditto.
+       (create_tracepoint_from_upload): Bail out if the tracepoint wasn't
+       created in the breakpoints table.
+
+2010-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
+
+2010-02-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
+       the offset value isn't of integral type.
+
+2010-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
+       New.
+
+2010-02-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
+       non-subscriptable types.
+       * valarith.c (binop_types_user_defined_p): New, abstracted out
+       from ...
+       (binop_user_defined_p): ... this.
+       * value.h (binop_types_user_defined_p): Declare.
+
+2010-02-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (tfile_open): Remove spurious discard_cleanups.
+       Merge uploaded TSVs before merging uploaded tracepoints.
+
+2010-02-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.
+
+2010-02-11  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra
+       whitespace character after a dot in comment.
+       (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
+       Likewise.
+       (list_args_or_locals): For the 'all' (that is
+       -stack-list-variables) case, always output list of tuples.
+       Output 'arg' field if variable is argument.
+
+2010-02-10  Tom Tromey  <tromey@redhat.com>
+
+       * parser-defs.h (parser_debug): Declare.
+       * parse.c (_initialize_parse): Install "debug parser" set/show
+       command.
+       (parser_debug): New global.
+       (show_parserdebug): New function.
+       * c-exp.y (c_parse): Set yydebug.
+
+2010-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
+       TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
+       (tdesc_predefined_types): Add i387_ext, i386_eflags and
+       i386_mxcsr.
+       (tdesc_find_type): New.
+       (tdesc_gdb_type): Use tdesc_find_type.  Handle TDESC_TYPE_I387_EXT,
+       TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
+
+       * target-descriptions.h (tdesc_find_type): New.
+
+2010-02-10  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb-gdb.py: Comment fix.
+
+2010-02-09  Tristan Gingold  <gingold@adacore.com>
+
+       * machoread.c (macho_symfile_relocate): New function.
+       (macho_sym_fns): Use macho_symfile_relocate instead of
+       default_symfile_relocate.
+       (macho_oso_data): New type.
+       (current_oso): New variable.
+       (macho_add_oso_symfile): Do not compute section_addr_info, but
+       instead set vma of sections.
+       Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
+       Set and clear current_oso.
+
+2010-02-09  Joel Brobecker  <brobecker@adacore.com>
+
+       Wrong type description for tagged type parameter.
+       * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is
+       EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a
+       reference to a tagged type.
+
+2010-02-09  Tristan Gingold  <gingold@adacore.com>
+
+       * objfiles.c (objfile_separate_debug_iterate): Do not iterate on
+       brothers of the parent.
+
+2010-02-08  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/8017:
+       * value.h: Update.
+       * valops.c (search_struct_field): Make 'name' const.
+       (search_struct_method): Likewise.
+       (find_method_list): Make 'method' const.
+       (value_struct_elt): Make 'name' and 'err' const.
+       (value_find_oload_method_list): Make 'method' const.
+       (find_overload_match): Make 'name' const.
+       * eval.c (evaluate_subexp_standard): New locals function,
+       function_name.
+       <OP_FUNCALL>: Handle OP_SCOPE specially.
+
+2010-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (handle_inferior_event): Do not look up regcache
+       for exited processes.
+
+Mon Feb  8 13:17:10 2010  Chris Moller  <moller@mollerware.com>
+
+       PR gdb/10728
+       * valarith.c (value_ptrdiff): Added a test for a zero type length,
+       warn if found, and assume length = 1. 
+
+2010-02-08  Chris Moller  <cmoller@redhat.com>
+
+       PR gdb/9067
+       * cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
+       cp_print_static_field)  Fix use of obstacks.
+       
+2010-02-08  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.c (linux_nat_resume): In non-stop, also only tag
+       resumed LWPs as resumed.
+       (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
+       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,
+       and if it was breakpoint hit in non-stop mode, cancel it.  Don't
+       go through all LWPs cancelling breakpoints in non-stop mode.
+       (resume_stopped_resumed_lwps): New.
+       (linux_nat_wait): Use it.
+
+2010-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * features/Makefile (WHICH): Add i386/i386, i386/i386-linux,
+       i386/amd64 and i386/amd64-linux.
+       (i386/i386-expedite): New.
+       (i386/i386-linux-expedite): Likewise.
+       (i386/amd64-expedite):Likewise.
+       (i386/amd64-linux-expedite): Likewise.
+       ($(outdir)/i386/i386-linux.dat): Likewise.
+       ($(outdir)/i386/amd64.dat): Likewise.
+       ($(outdir)/i386/amd64-linux.dat): Likewise.
+
+       * features/i386/32bit-core.xml: New.
+       * features/i386/32bit-linux.xml: Likewise.
+       * features/i386/32bit-sse.xml: Likewise.
+       * features/i386/64bit-core.xml: Likewise.
+       * features/i386/64bit-linux.xml: Likewise.
+       * features/i386/64bit-sse.xml: Likewise.
+       * features/i386/i386-linux.xml: Likewise.
+       * features/i386/i386.xml: Likewise.
+       * features/i386/amd64-linux.xml: Likewise.
+       * features/i386/amd64.xml: Likewise.
+       * features/i386/i386-linux.c: Likewise.
+       * features/i386/i386.c: Likewise.
+       * features/i386/amd64-linux.c: Likewise.
+       * features/i386/amd64.c: Likewise.
+
+2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR c++/7935:
+       * cp-support.h: Added char* alias element to using_direct data
+       struct.
+       (cp_add_using): Added char* alias argument.
+       (cp_add_using_directive): Ditto.
+       * cp-namespace.c: Updated with the above changes.
+       (cp_lookup_symbol_imports): Check for aliases.
+       * dwarf2read.c (read_import_statement): Figure out local alias
+       for the import and pass it on to cp_add_using.
+       (read_namespace): Pass alias argument to cp_add_using.
+
+2010-02-05  Hui Zhu  <teawater@gmail.com>
+
+       * defs.h (gdb_bfd_errmsg): New extern.
+       * exec.c (exec_file_attach): Change bfd_errmsg to
+       gdb_bfd_errmsg.
+       * utils.c (AMBIGUOUS_MESS1): New macro.
+       (AMBIGUOUS_MESS2): New macro.
+       (gdb_bfd_errmsg): New function.
+
+2010-02-04  Doug Evans  <dje@google.com>
+
+       * solib-svr4.c (enable_break): Add comment.
+
+2010-02-04  Anthony Green  <green@moxielogic.com>
+
+       * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis
+       gracefully.
+
+2010-02-04  Tom Tromey  <tromey@redhat.com>
+
+       * valops.c (search_struct_field): Account for
+       value_embedded_offset.  Fix check for virtual base past the end of
+       the object.  Use value_copy when making a slice of the value.
+
+2010-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR tui/9622
+       * tui/tui-interp.c (tui_init): Call tui_initialize_readline
+       only if gdb_stdout is a tty.
+
+2010-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * target-descriptions.c: Include "osabi.h".
+       (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid
+       OSABI.
+
 2010-02-04  Tristan Gingold  <gingold@adacore.com>
 
        * machoread.c (macho_add_oso): Renamed to macho_register_oso.
This page took 0.03055 seconds and 4 git commands to generate.