+2010-01-18 Tom Tromey <tromey@redhat.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ Allow "source" to load python scripts.
+ * exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
+ * python/python.c (source_python_script): New function.
+ * python/python.h (source_python_script): Add declaration.
+ * cli/cli-cmds.c: #include exceptions.h and python/python.h.
+ (script_ext_off, script_ext_soft, script_ext_strict)
+ (script_ext_enums, script_ext_mode): New static constants.
+ (show_script_ext_mode, find_and_open_script): New functions.
+ (source_script): Enhance to handle Python scripts.
+ (init_cli_cmds): Add set/show script-extension commands.
+
+2010-01-16 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.h (struct trace_status): Use unsigned long long
+ instead of size_t.
+ * tracepoint.c (trace_status_command): Fix printf directive.
+ (trace_save_command): Check fwrite returns, fix printf directive.
+ (trace_filename): New global.
+ (tfile_open): Set it, check read returns.
+ (tfile_close): Free trace_filename.
+ (tfile_get_traceframe_address): Check read returns.
+ (tfile_trace_find): Ditto.
+ (tfile_fetch_registers): Ditto.
+ (tfile_xfer_partial): Ditto.
+ (tfile_get_trace_state_variable_value): Ditto.
+
+2010-01-15 Stan Shebs <stan@codesourcery.com>
+
+ Add trace file support.
+ * tracepoint.h (enum trace_stop_reason): New enum.
+ (struct trace_status): New struct.
+ (parse_trace_status): Declare.
+ (struct uploaded_tp): Move here from remote.c,
+ add fields for actions.
+ (struct uploaded_tsv): New struct.
+ * tracepoint.c (tfile_ops): New target vector.
+ (trace_fd): New global.
+ (tfile_open): New function.
+ (tfile_close): New function.
+ (tfile_files_info): New function.
+ (tfile_get_trace_status): New function.
+ (tfile_get_traceframe_address): New function.
+ (tfile_trace_find): New function.
+ (tfile_fetch_registers): New function.
+ (tfile_xfer_partial): New function.
+ (tfile_get_trace_state_variable_value): New function.
+ (init_tfile_ops): New function.
+ (_initialize_tracepoint): Call it, add tfile target.
+ (trace_status): New global.
+ (current_trace_status): New function.
+ (trace_running_p): Remove, change all users to get from
+ current_trace_status()->running.
+ (get_trace_status): Remove.
+ (trace_status_command): Call target_get_trace_status directly,
+ report more detail including tracing stop reasons.
+ (trace_find_command): Always allow tfind on a file.
+ (trace_find_pc_command): Ditto.
+ (trace_find_tracepoint_command): Ditto.
+ (trace_find_line_command): Ditto.
+ (trace_find_range_command): Ditto.
+ (trace_find_outside_command): Ditto.
+ (trace_frames_offset, cur_offset): Declare as off_t.
+ (trace_regblock_size): Rename from reg_size, update users.
+ (parse_trace_status): New function.
+ (tfile_interp_line): New function.
+ (disconnect_or_stop_tracing): Ensure current trace
+ status before asking what to do.
+ (stop_reason_names): New global.
+ (trace_save_command): New command.
+ (get_uploaded_tp): Move here from remote.c.
+ (find_matching_tracepoint): Ditto.
+ (merge_uploaded_tracepoints): New function.
+ (parse_trace_status): Use stop_reason_names.
+ (_initialize_tracepoint): Define tsave command.
+ * target.h (target_ops): New fields to_save_trace_data,
+ to_upload_tracepoints, to_upload_trace_state_variables,
+ to_get_raw_trace_data, change to_get_trace_status
+ to take a pointer to a status struct.
+ (target_save_trace_data): New macro.
+ (target_upload_tracepoints): New macro.
+ (target_upload_trace_state_variables): New macro.
+ (target_get_raw_trace_data): New macro.
+ * target.c (update_current_target): Add new methods, change
+ signature of to_get_trace_status.
+ * remote.c (hex2bin): Make globally visible.
+ (bin2hex): Ditto.
+ (remote_download_trace_state_variable): Download name also.
+ (remote_get_trace_status): Update parameter, use
+ parse_trace_status.
+ (remote_save_trace_data): New function.
+ (remote_upload_tracepoints): New function.
+ (remote_upload_trace_state_variables): New function.
+ (remote_get_raw_trace_data): New function.
+ (remote_start_remote): Use them.
+ (_initialize_remote_ops): Add operations.
+ * ax-gdb.c: Include breakpoint.h.
+ * breakpoint.c (create_tracepoint_from_upload): Use
+ break_command_really, return tracepoint, warn about unimplemented
+ parts.
+ * NEWS: Mention trace file addition.
+
+2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix compilation warning on gcc-3.4.
+ * exec.c (print_section_info): Move the `displacement' variable
+ initialization to its declaration.
+
+2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
+ comparison.
+
+2010-01-15 Eric Botcazou <botcazou@adacore.com>
+
+ "info tasks" broken by typedefs in ATCB type definitions.
+ * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to
+ ada_check_typedef before retrieving the length of the type for
+ regular fields.
+
+2010-01-15 Joel Brobecker <brobecker@adacore.com>
+
+ Do not use name-based lookup for unconstrained packed arrays.
+ * ada-lang.c (find_parallel_type_by_descriptive_type):
+ Limit the fallback to name-based lookups to the case where
+ the type is a constrained packed array.
+
+2010-01-15 Joel Brobecker <brobecker@adacore.com>
+
+ Enhance gdb-gdb.py to handle main_type.type_specific.
+ * gdb-gdb.py: Print the type-specific part of struct main_type.
+
+2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * utils.c: Include sys/resource.h.
+ (dump_core, can_dump_core): New.
+ (internal_vproblem): Update the comment. Check can_dump_core while
+ setting dump_core_p. Replace two abort calls by dump_core calls.
+
+2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Eli Zaretskii <eliz@gnu.org>
+
+ * NEWS: Document the PIE support.
+
+2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h.
+ (check_is_pie_binary, _initialize_linux_tdep): Remove.
+
+2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * solib-svr4.c (svr4_exec_displacement): New comment for entry_point.
+ Replace exec_entry_point call by bfd_get_start_address.
+
+2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Support Valgrind attachments broken by the PIE support.
+ * auxv.c: Include gdbcore.h.
+ (procfs_xfer_auxv): Make static. Reduce its comment. Drop its
+ parameters ops, object and annex. Remove their assertions.
+ (ld_so_xfer_auxv, memory_xfer_auxv): New function.
+ * auxv.h (procfs_xfer_auxv): Remove comment. Rename to ...
+ (memory_xfer_auxv): ... here.
+ * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
+ memory_xfer_auxv.
+ * procfs.c (procfs_xfer_partial): Likewise.
+ * solib-svr4.c (svr4_relocate_main_executable): New prototype.
+ (svr4_special_symbol_handling): Call svr4_relocate_main_executable.
+ (svr4_solib_create_inferior_hook): Conditionalize the
+ svr4_relocate_main_executable call.
+
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* solib-svr4.c (scan_dyntag): Remove variable dyn_addr. New variable
(SUBDIR_PYTHON_SRCS): Likewise.
(py-lazy-string.o): New rule.
-
2010-01-13 Doug Evans <dje@google.com>
* mi/mi-main.c (list_available_thread_groups): Avoid "may be used