* symtab.c (append_exact_match_to_sals): New function, extracted
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 78db0790e853fc25c988540e9d1d596579185d73..1d932f85a95bc54c7b65222dff7c43dd5dd036f3 100644 (file)
@@ -1,3 +1,607 @@
+2009-04-27  Jerome Guitton  <guitton@adacore.com>
+
+       * symtab.c (append_exact_match_to_sals): New function, extracted
+       from expand_line_sal.
+       (expand_line_sal): Use append_exact_match_to_sals to append exact
+       matches. If none found, append all best items.
+
+2009-04-27  Jerome Guitton  <guitton@adacore.com>
+
+       * main.c (captured_main): Move gdbinit lookups after gdb_init.
+
+2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR gdb/9675:
+       * dwarf2read.c (unsigned_int_compar, inherit_abstract_dies): New.
+       (read_func_scope): Call inherit_abstract_dies.
+
+2009-04-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (ALLDEPFILES): Remove duplicate entries for
+       sparc-sol2-nat.c and sparc-sol2-tdep.c.
+
+       * stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.
+
+2009-04-24  Pierre Muller  <muller.u-strasbg.fr>
+
+       ARI change: Use "/* ARI: rule */" pattern.
+       * utils.c: Update ARI patterns.
+       * gdb_dirent.h: Likewise.
+
+2009-04-23  Anthony Green  <green@moxielogic.com>
+
+       * MAINTAINERS: Add moxie target.
+       * configure.tgt: Add moxie-*-elf target.
+       * moxie-tdep.c: New file.
+       * moxie-tdep.h: New file.
+
+2009-04-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c: Remove an extra empty line. No code change.
+
+2009-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix double free on error inserting the breakpoint instruction.
+       * breakpoint.c (create_breakpoints): Move the
+       update_global_location_list call to ...
+       (break_command_really): ... here together with the second local call
+       both unified after all the cleanups.
+
+2009-04-23  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * configure, config.in: Regenerate.
+       * configure.ac: Support for relocatable GDB datadir.  Use
+       GDB_AC_WITH_DIR.  Always define TARGET_SYSTEM_ROOT_RELOCATABLE.
+       * acinclude.m4 (GDB_AC_WITH_DIR): New defun.
+       * top.c (init_main): Add "set data-directory".
+       * defs.h (gdb_datadir): Declare.
+       * main.c (gdb_datadir): New global.
+       (captured_main): Initialize gdb_datadir.  Use relocate_directory.
+       (relocate_path): New function.
+       (relocate_directory): Likewise.
+       (get_init_files): Use relocate_path.
+       (README): Mention --with-gdb-datadir.
+
+2009-04-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks (task_command_1): Call target_find_new_threads.
+
+2009-04-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * stack.c (do_gdb_disassembly): Print the exception message if an
+       error was thrown while trying to perform the disassembly.
+
+2009-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * varobj.c (free_variable): Replace free_current_contents by xfree.
+
+2009-04-22  Kazu Hirata  <kazu@codesourcery.com>
+
+       * arm-linux-nat.c (fetch_register, store_register): Use
+       ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM.
+       * arm-linux-tdep.c (arm_linux_supply_gregset,
+       arm_linux_collect_gregset): Likewise.
+       * arm-linux-tdep.h (ARM_CPSR_GREGNUM): New.
+       * arm-tdep.h (ARM_CPSR_REGNUM): Remove.
+
+2009-04-22  Hui Zhu  <teawater@gmail.com>
+
+       * stack.c (_initialize_stack): Set the default of
+       disassemble-next-line to off.
+
+2009-04-21  Tom Tromey  <tromey@redhat.com>
+
+       * acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
+       * configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.
+
+2009-04-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure.ac: Add quotes to not lose brackets in help text.
+       * configure: Rebuild.
+
+2009-04-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure.ac: Don't postprocess Makefile in config.status.
+       Substitute GDB_NM_FILE.  Don't substitute nm_h.
+       * Makefile.in (GDB_NM_FILE): Substitute.
+       (TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE).
+       * configure: Regenerate.
+       * gnulib/Makefile.in: Regenerate.
+
+2009-04-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
+       --with-htmldir): New.
+       * configure: Regenerate.
+
+2009-04-21  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac: Use lower case for start of help strings.  Clean
+       up --with-sysroot help.
+
+2009-04-21  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * acinclude.m4 (AM_ICONV): Use AC_HELP_STRING.
+       * configure.ac: Use AC_HELP_STRING.  Use upper case for variables
+       in help.
+
+2009-04-21  Pierre Muller  <muller.u-strasbg.fr>
+
+       ARI fix: remove "%p".
+       * ia64-tdep.c (ia64_frame_this_id): Use host_address_to_string function.
+       (ia64_sigtramp_frame_this_id): Ditto.
+       (ia64_libunwind_frame_this_id): Ditto.
+       (ia64_libunwind_sigtramp_frame_this_id): Ditto.
+       * symmisc.c (maintenance_info_psymtabs): Ditto.
+
+2009-04-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.ac (--with-relocated-sources): New.
+       * configure, config.in: Regenerate.
+       * source.c (add_substitute_path_rule): Remove static.
+       * source.h (add_substitute_path_rule): Declare.
+       * main.c: Include "source.h".
+       (captured_main): Add substitution rule if RELOC_SRCDIR.
+
+2009-04-21  Pierre Muller  <muller.u-strasbg.fr>
+
+       * gnu-nat.h (proc_debug): Add missing continuation line in macro.
+
+2009-04-20  David Daney  <ddaney@caviumnetworks.com>
+
+       * NEWS: Mention MIPS/Linux hardware watchpoint support.
+
+2009-04-20  David Daney  <ddaney@caviumnetworks.com>
+
+       * mips-linux-nat.c (command.h, gdbcmd.h, gdb_assert.h): New #includes.
+       (maint_show_dr, super_close): New variables.
+       (super_fetch_registers, super_store_registers): Make static.
+       (PTRACE_GET_WATCH_REGS, PTRACE_SET_WATCH_REGS, W_BIT, R_BIT, I_BIT)
+       (W_MASK, R_MASK, I_MASK, IRW_MASK, MAX_DEBUG_REGISTER): Define.
+       (pt_watch_style): Define new enum.
+       (mips32_watch_regs, mips64_watch_regs, pt_watch_regs, mips_watchpoint):
+       Define new structs.
+       (watch_readback_valid, watch_readback, current_watches, watch_mirror):
+       New variables.
+       (get_irw_mask, get_reg_mask, get_num_valid, get_watchlo)
+       (set_watchlo, get_watchhi, set_watchhi, mips_show_dr)
+       (mips_linux_read_watch_registers, mips_linux_can_use_hw_breakpoint)
+       (mips_linux_stopped_by_watchpoint, mips_linux_stopped_data_address)
+       (type_to_irw, fill_mask, try_one_watch)
+       (mips_linux_region_ok_for_hw_watchpoint, write_watchpoint_regs)
+       (mips_linux_new_thread, populate_regs_from_watches)
+       (mips_linux_insert_watchpoint, mips_linux_remove_watchpoint)
+       (mips_linux_close): New functions.
+       (_initialize_mips_linux_nat): Register watchpoint functions with
+       the target_ops.  Add show-debug-regs maintenance command.
+
+2009-04-20  David Daney  <ddaney@caviumnetworks.com>
+
+       * infrun.c (handle_inferior_event): Move gegisters_changed call down.
+
+2009-04-19  Pedro Alves  <pedro@codesourcery.com>
+
+       * NEWS: Mention gdbserver support for x86 Windows CE.
+
+2009-04-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * config/djgpp/fnchange.lst: Fix typos.
+
+       Set default host and target charsets in the DJGPP port.
+
+       * config/djgpp/config.sed (am_cv_langinfo_codeset)
+       (bash_cv_langinfo_codeset, ac_cv_header_nl_types_h): Set to "yes"
+       in all configure scripts that define ac_cv_env_CPP_value.
+
+       * go32-nat.c (dos_codepage, nl_langinfo): New functions.
+       Include langinfo.h.
+
+       * config/djgpp/nl_types.h: New file.
+
+       * config/djgpp/langinfo.h: New file.
+
+       * config/i386/go32.mh (MH_CFLAGS): Add $(srcdir)/config/djgpp.
+
+2009-04-18  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.in (MAKEHTML): Set to makeinfo --html.
+       (MAKEHTMLFLAGS): Set to empty.
+
+2009-04-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * NEWS: Mention all new set/show commands added since GDB 6.8 was
+       released.
+
+       * go32-nat.c (go32_sysinfo): Check if the call to
+       __dpmi_get_capabilities fills the buffer with information, and
+       don't use the buffer if not.
+
+2009-04-17  Tom Tromey  <tromey@redhat.com>
+
+       * charset.c (_initialize_charset): Add special case for "646".
+
+2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
+       * configure: Regenerate.
+       * Makefile.in: Set datarootdir, docdir, htmldir, and pdfdir from
+       configure substitutions.
+       (FLAGS_TO_PASS): Add datarootdir, docdir, and htmldir.
+
+2009-04-17  Pierre Muller  <muller.u-strasbg.fr>
+
+       ARI fix: Do not use %p, replace by call to host_address_to_string
+       for host pointers.
+       * darwin-nat.c (darwin_xfer_partial): Apply change.
+       * gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto.
+       * gnu-nat.h (proc_debug): Ditto.
+       * symmisc.c (maintenance_info_symtabs): Ditto.
+       (maintenance_info_psymtabs): Ditto.
+       * windows-nat.c (handle_load_dll): Ditto.
+       (handle_unload_dll, info_w32_command, handle_exception): Ditto.
+       * xtensa-tdep.c (xtensa_unwind_pc): Ditto.
+
+2009-04-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration if
+       --enable-64-bit-bfd.
+       (sparc-*-linux*): Likewise.
+
+2009-04-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * go32-nat.c (go32_sysinfo): Update list of Windows versions of
+       the NT family.
+
+2009-04-16  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (remote_query_attached): Fix pasto in packet_ok result
+       checking.
+
+2009-04-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (solib_mappings_callback, find_memory_regions_callback):
+       Revert the previous change.  Might not be correct, actually.
+
+2009-04-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.h (ada_adjust_exception_stop, ada_print_exception_stop)
+       (ada_get_current_task, ada_print_exception_breakpoint_nontask)
+       (ada_print_exception_breakpoint_task, ada_reset_thread_registers):
+       Remove declaration. These are non-existent functions.
+
+2009-04-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (solib_mappings_callback, find_memory_regions_callback):
+       Fix a compilation warning on mips-irix due to casting from
+       a pointer of different size.
+
+2009-04-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (symtab_for_sym): Delete.
+       (user_select_syms): Use sym->symtab instead of calling symtab_for_sym.
+
+2009-04-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (extract_string): Delete.
+       (ada_main_name): Reimplement using target_read_string instead of
+       extract_string.
+
+2009-04-16  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * m68klinux-nat.c: Remove obsolete comment.
+       (fetch_register, store_register): Don't call
+       gdbarch_cannot_fetch_register or gdbarch_cannot_store_register,
+       which are always nops here.
+
+2009-04-14  Tom Tromey  <tromey@redhat.com>
+
+       * c-lang.c (c_emit_char): Use INTERMEDIATE_ENCODING.
+       (c_printstr): Likewise.
+       * charset.c: Include gdb_wait.h.
+       (make_wchar_iterator): Use INTERMEDIATE_ENCODING.
+       (find_charset_names): Use pexecute.  Handle libiconv's output.
+       Detect errors.
+       (_initialize_charset): Use xstrdup.
+       * gdb_wchar.h: Check HAVE_BTOWC.  Split PHONY_ICONV and wchar
+       cases.
+       (INTERMEDIATE_ENCODING): New define.
+       * configure, config.in: Rebuild.
+       * configure.ac: Check for btowc.
+
+2009-04-15  Tom Tromey  <tromey@redhat.com>
+
+       * c-lang.c (evaluate_subexp_c): Correctly handle EVAL_SKIP.
+
+2009-04-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * utils.c (parse_escape): Initialize target_char to pacify GCC.
+
+2009-04-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * c-lang.c (c_get_string): Fix xfree crash on a failed string read.
+
+2009-04-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fix: sprintf rule.
+       * ada-exp.y (convert_char_literal): Replace sprintf by xsnprintf.
+       * ada-lang.c (add_angle_brackets): Use xstrprintf.
+       (ada_decode): Replace sprintf by xsnprintf.
+       (find_old_style_renaming_symbol): Ditto.
+       (ada_to_fixed_type_1, ada_enum_name): Ditto.
+
+
+2009-04-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * target.c (target_mourn_inferior): Call bfd_cache_close_all
+       after having executed the target mourn_inferior routine.
+
+2009-04-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if
+       undefined.
+
+2009-04-13  David Daney  <ddaney@caviumnetworks.com>
+
+       * infrun.c (maybe_software_singlestep): New function.
+       (resume): Call maybe_software_singlestep.
+       (handle_inferior_event): Same.
+
+2009-04-13  Tom Tromey  <tromey@redhat.com>
+
+       * python/python-frame.c (frapy_richcompare): Return
+       Py_NotImplemented, not an error.  Handle Py_NE as well.
+
+2009-04-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * charset.c (EILSEQ): Define if not defined by system headers.
+
+2009-04-11  Eli Zaretskii  <eliz@gnu.org>
+
+       * config/djgpp/config.sed: Tweak ac_config_files in intl/configure
+       to be consistent with renaming config.intl.in into config_intl.in.
+
+       * go32-nat.c (go32_attach, go32_detach): Fix prototypes to be
+       consistent with the change from 2008-11-09.
+
+2009-04-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdbtypes.c: Remove excessive parentheses at the return keywords.
+       * varobj.c (varobj_invalidate): Fix indentation.
+       * varobj.c (varobj_invalidate): Fix formatting text width.
+
+2009-04-08  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement -exec-jump.
+
+       * mi/mi-cmds.h (mi_cmd_exec_jump): Declare.
+       * mi/mi-main.c (mi_cmd_exec_jump): New.
+       * mi/mi-cmds.c (mi_cmds): Register exec-jump.
+
+2009-04-07  Doug Evans  <dje@google.com>
+
+       * symfile.c (symbol_file_clear): Fix indentation.
+
+2009-04-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.
+
+2009-04-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
+       (ppc_linux_auxv_parse): New function.
+       (ppc_linux_read_description): Use ppc_linux_target_wordsize.
+       (_initialize_ppc_linux_nat): Install ppc_linux_auxv_parse.
+
+2009-04-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
+       BFD to contents of SPU name note.
+       (spu_symbol_file_add_from_memory): Call symbol_file_add_from_bfd
+       with "from_tty" argument 1 instead of 0.
+
+2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c
+       (new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
+       Create the symbol in local scope.
+       * symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.
+
+2009-04-02  Keith Seitz  <keiths@redhat.com>
+
+       * stabsread.c (read_member_functions): GCC may emit an extra space
+       at the end of the names "__base_ctor" and "__base_dtor"; so ignore
+       whitespace when looking for these functions.
+
+2009-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       Change the default value for "set print frame-arguments" to scalars.
+
+       * stack.c (print_frame_arguments): Set initial value to "scalars".
+
+2009-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * mips-tdep.c (mips_numeric_register_alieses): New definition.
+       (mips_gdbarch_init): Add user registers from
+       mips_numeric_register_aliases.
+
+2009-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-nat.c (linux_nat_filter_event): Minor comment reformatting.
+
+2009-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-nat.c (linux_nat_filter_events): Do not delete the lwp if
+       this is the last one.
+
+2009-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (append_resumption): New.
+       (remote_vcont_resume): Use it.
+
+2009-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (+windows_get_ada_task_ptid): New function.
+       (init_windows_ops): Set windows_ops.to_get_ada_task_ptid.
+
+2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
+           Keith Seitz  <keiths@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR gdb/6817
+       * Makefile.in (dbxread.o): Update.
+       * dbxread.c (read_dbx_symtab): Use cp_canonicalize_string.
+       * dwarf2read.c (GDB_FORM_cached_string): New.
+       (read_partial_die): Use dwarf2_canonicalize_name.
+       (dwarf2_linkage_name): Use dwarf2_name.
+       (dwarf2_canonicalize_name): New.
+       (dwarf2_name): Use dwarf2_canonicalize_name.
+       (dwarf_form_name, dump_die): Handle GDB_FORM_cached_string.
+       * stabsread.c (define_symbol, read_type): Use cp_canonicalize_string.
+       * symtab.c (lookup_symbol_in_language): Canonicalize input before
+       searching.
+       * cp-name-parser.y: operator() requires two parameters,
+       according to libiberty.
+       * minsyms.c (lookup_minimal_symbol): Canonicalize input
+       before searching.
+       * NEWS: Update.
+
+2009-03-31  Joel Brobecker  <brobecker@adacore.com>
+
+       Provide support for (Ada) task-specific breakpoints.
+
+       * ada-lang.h (ada_get_task_number): Add declaration.
+       (breakpoint_ada_task_match): Delete declaration.
+       * ada-tasks.c (ada_get_task_number): Make non-static.
+       * breakpoint.h (struct breakpoint): Add field "task".
+       * breakpoint.c (print_one_breakpoint_location): Add handling of
+       task-specific breakpoints.
+       (create_breakpoint, create_breakpoints, find_condition_and_thread):
+       New parameter "task".
+       (break_command_really): Update calls to find_condition_and_thread
+       and create_breakpoints.
+       (breakpoint_re_set_one): Update call to find_condition_and_thread.
+       Set b->task.
+
+2009-03-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (short_task_info): Eliminate the "Running" task state.
+
+2009-03-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (remote_notice_new_inferior): Use ptid_is_pid.  Check
+       if the thread's ptid without a thread id field is in the list
+       before calling thread_change_ptid.
+       (extended_remote_attach_1): In non-stop mode, do not rely on
+       querying the current thread, instead, query the thread list, and
+       select the first thread of the process.
+       * gdbthread.h (first_thread_of_process): Declare.
+       * thread.c (first_thread_of_process): Define.
+
+2009-03-30  Stan Shebs  <stan@codesourcery.com>
+
+       Make tracepoints into a type of breakpoint.
+       * breakpoint.h (enum bptype): Add bp_tracepoint.
+       (struct breakpoint): Add fields step_count, pass_count, actions.
+       (get_tracepoint, get_tracepoint_by_number): Declare.
+       (all_tracepoints): Declare.
+       * breakpoint.c: Include tracepoint.h, readline.h.
+       (ALL_TRACEPOINTS): Move here from tracepoint.c.
+       (tracepoint_count): Ditto.
+       (should_be_inserted): GDB does not insert tracepoints itself.
+       (print_it_typical): Add tracepoint case.
+       (bpstat_what): Ditto.
+       (print_one_breakpoint_location): Ditto, and add printing for
+       pass count, step count, and action list.
+       (user_settable_breakpoint): Add tracepoint case.
+       (allocate_bp_location): Ditto.
+       (set_breakpoint_location_function): Ditto.
+       (disable_breakpoints_in_shlibs): Ditto.
+       (mention): Ditto.
+       (break_command_really): Add argument traceflag, use to choose
+       basic breakpoint type.
+       (break_command_1): Pass extra argument.
+       (set_breakpoint, handle_gnu_v3_exceptions): Ditto.
+       (breakpoint_re_set_one): Add tracepoint case.
+       (disable_command, enable_command): Ditto.
+       (set_tracepoint_count): Move here from tracepoint.c.
+       (trace_command): Move here from tracepoint.c and use
+       break_command_really.
+       (tracepoints_info): Move here from tracepoint.c and call
+       breakpoints_info.
+       (enable_trace_command): Move here from tracepoint.c and call
+       enable_command.
+       (disable_trace_command): Move here from tracepoint.c and call
+       disable_command.
+       (delete_trace_command): Move here from tracepoint.c and call
+       delete_breakpoint.
+       (trace_pass_command): Move here from tracepoint.c.
+       (get_tracepoint_by_number): Ditto.
+       (tracepoint_save_command): Ditto.
+       (get_tracepoint): New function.
+       (all_tracepoints): New function.
+       (_initialize_breakpoint): Move tracepoint init from tracepoint.c,
+       deprecate "enable trace" and "disable trace" commands.
+       * tracepoint.h (struct tracepoint): Remove.
+       (tracepoint_chain): Remove decl.
+       (deprecated_create_tracepoint_hook): Remove decl.
+       (deprecated_delete_tracepoint_hook): Remove decl.
+       (deprecated_modify_tracepoint_hook): Remove decl.
+       (ALL_TRACEPOINTS, ALL_TRACEPOINTS_SAFE): Remove.
+       (free_actions): Update signature.
+       (validate_actionline): Update signature.
+       (end_actions_pseudocommand): Declare.
+       (while_stepping_pseudocommand): Declare.
+       * tracepoint.c: Include breakpoint.h.
+       (tracepoint_chain, tracepoint_count): Remove.
+       (free_actions, make_cleanup_free_actions): Update signature.
+       (trace_command, set_raw_tracepoint): Remove.
+       (trace_mention): Remove.
+       (tracepoints_info): Remove.
+       (tracepoint_operation, map_args_over_tracepoints): Remove.
+       (get_tracepoint_by_number): Remove.
+       (enable_trace_command, disable_trace_command): Remove.
+       (delete_trace_command, trace_pass_command): Remove.
+       (trace_actions_command, read_actions): Update signature.
+       (validate_actionline): Update signature, use bp loc.
+       (encode_actions): Ditto.
+       (download_tracepoint): New function, body of trace_start_command.
+       (trace_start_command): Call it, use all_tracepoints.
+       (tracepoint_save_command): Remove.
+       (tracepoint_dump_command): Use get_tracepoint.
+       (end_actions_pseudocommand): Make globally visible.
+       (while_stepping_pseudocommand): Ditto.
+       (_initialize_tracepoint): Move command definitions to breakpoint.c.
+
+2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       Expose frames to Python.
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add python-frame.o.
+       (SUBDIR_PYTHON_SRCS): Add python-frame.c.
+       (python-frame.o): New target.
+       * python/python-frame.c: New file.
+       * python/python-internal.h (gdbpy_frames, gdbpy_newest_frame,
+       gdbpy_frame_stop_reason_string, gdbpy_selected_frame,
+       gdbpy_initialize_frames): New prototypes.
+       * python/python.c (_initialize_python): Call gdbpy_initialize_frames.
+       (GdbMethods): Add `selected_frame' and `frame_stop_reason_string'
+       entries.
+       * stack.c (find_frame_funname): New function, factored out of
+       print_frame.
+       (print_frame): Call find_frame_funname.
+       * stack.h (find_frame_funname): Add prototype.
+
+2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       Remove unused value_object attribute `owned_by_gdb'.
+       * python/python-value.c (value_object): Remove owned_by_gdb
+       attribute.
+       (valpy_dealloc): Remove reference to self->owned_by_gdb.
+       (valpy_new): Likewise.
+       (value_to_value_object): Likewise.
+
 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        Change gdb.Value.address from a method to an attribute.
        RETVAL_EXPR for UNOP_CAST and set RETURN_TYPE to the RETURN_VALUE type
        if RETURN_TYPE is NULL.
 
->>>>>>> 1.10280
 2009-03-14  Pedro Alves  <pedro@codesourcery.com>
 
        * remote.c (PACKET_qAttached): New.
This page took 0.034647 seconds and 4 git commands to generate.