2009-05-27 Tom Tromey <tromey@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bcc9ab115dbde6e5018cb0056072a6c288f33ad0..3b598a3d74bb9ca26d631c7bd66fe420ba2aa378 100644 (file)
@@ -1,3 +1,231 @@
+2009-05-27  Tom Tromey  <tromey@redhat.com>
+           Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * mi/mi-main.c (mi_cmd_data_evaluate_expression): Use
+       value_address.
+       * cli/cli-dump.c (dump_value_to_file): Use value_address.
+       * valprint.c (common_val_print): Likewise.
+       * v850-tdep.c (v850_push_dummy_call): Use value_address.
+       * tracepoint.c (encode_actions): Use value_address.
+       * printcmd.c (print_formatted): Use value_address.
+       (x_command): Likewise.
+       * p-valprint.c (pascal_object_print_static_field): Use
+       value_address.
+       * mn10300-tdep.c (mn10300_push_dummy_call): Use value_address.
+       * mips-tdep.c (mips_eabi_push_dummy_call): Use value_address.
+       * m32r-tdep.c (m32r_push_dummy_call): Use value_address.
+       * jv-valprint.c (java_value_print): Use value_address.
+       * infcall.c (find_function_addr): Use value_address.
+       * gnu-v3-abi.c (gnuv3_rtti_type): Use value_address.
+       * gnu-v2-abi.c (gnuv2_value_rtti_type): Use value_address.
+       * frv-tdep.c (frv_push_dummy_call): Use value_address.
+       * frame.c (frame_register_unwind): Use value_address.
+       (frame_unwind_register_value): Likewise.
+       * darwin-nat-info.c (info_mach_region_command): Use
+       value_address.
+       * cp-valprint.c (cp_print_static_field): Use value_address.
+       * c-valprint.c (c_value_print): Use value_address.
+       * breakpoint.c (update_watchpoint): Use value_address.
+       (can_use_hardware_watchpoint): Likewise.
+       * ada-valprint.c (ada_val_print_1): Use value_address.
+       (ada_value_print): Likewise.
+       * ada-tasks.c (read_fat_string_value): Use value_address.
+       * jv-lang.c (java_link_class_type): Use set_value_address.
+       (java_link_class_type): Likewise.
+       (get_java_utf8_name): Use value_address.
+       (type_from_class): Likewise.
+       (java_link_class_type): Likewise.
+       * findvar.c (value_of_register): Use set_value_address.
+       (read_var_value): Likewise.
+       (read_var_value): Likewise.
+       * eval.c (evaluate_subexp_standard): Use set_value_address.
+       (evaluate_subexp_standard): Use value_address.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): Use set_value_address.
+       * ada-lang.c (coerce_unspec_val_to_type): Use set_value_address.
+       (ada_value_primitive_packed_val): Likewise.
+       (ensure_lval): Likewise.
+       (thin_data_pntr): Use value_address.
+       (desc_bounds): Likewise.
+       (ada_value_primitive_packed_val): Likewise.
+       (value_assign_to_component): Likewise.
+       (ensure_lval): Likewise.
+       (make_array_descriptor): Likewise.
+       (ada_to_fixed_value): Likewise.
+       (unwrap_value): Likewise.
+       * value.c (deprecated_value_address_hack): Remove.
+       (value_address): New function.
+       (value_raw_address): Likewise.
+       (set_value_address): Likewise.
+       (value_fn_field): Use set_value_address.
+       (value_from_contents_and_address): Likewise.
+       (value_fn_field): Likewise.
+       (allocate_value_lazy): Don't use VALUE_ADDRESS.
+       (value_as_address): Use value_address.
+       (value_static_field): Likewise.
+       * valops.c (search_struct_field): Use set_value_address.
+       (value_at): Likewise.
+       (value_at_lazy): Likewise.
+       (value_repeat): Likewise.
+       (value_cast_structs): Use value_address.
+       (value_cast): Likewise.
+       (value_fetch_lazy): Likewise.
+       (value_assign): Likewise.
+       (value_repeat): Likewise.
+       (address_of_variable): Likewise.
+       (value_coerce_array): Likewise.
+       (value_coerce_function): Likewise.
+       (value_addr): Likewise.
+       (search_struct_field): Likewise.
+       (search_struct_method): Likewise.
+       (find_method_list): Likewise.
+       (value_struct_elt_for_reference): Likewise.
+       (value_full_object): Likewise.
+       * jv-valprint.c (java_value_print): Use set_value_address.
+       * value.h (deprecated_value_address_hack): Remove.
+       (VALUE_ADDRESS): Remove.
+       (value_address): Declare.
+       (value_raw_address): Declare.
+       (set_value_address): Declare.
+
+2009-05-27  Tom Tromey  <tromey@redhat.com>
+           Thiago Jung Bauermann  <bauerman@br.ibm.com>
+           Phil Muldoon  <pmuldoon@redhat.com>
+           Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * python/python.c (_initialize_python): Call
+       gdbpy_initialize_types.
+       (GdbMethods): Add "lookup_type".
+       * python/python-value.c (value_object) <type>: New field.
+       (valpy_dealloc): Decref type.
+       (valpy_new): Initialize type.
+       (valpy_get_type): New function.
+       (value_to_value_object): Initialize type.
+       (valpy_cast): New function.
+       (value_object_getset): Add "type".
+       (value_object_methods): Add "cast".
+       * python/python-internal.h (type_to_type_object): Declare.
+       (type_object_to_type): Likewise.
+       (gdbpy_initialize_types): Likewise.
+       (gdbpy_lookup_type): Declare.
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add python-type.o.
+       (SUBDIR_PYTHON_SRCS): Add python-type.c.
+       (python-type.o): New target.
+       * python/python-type.c: New file.
+
+2009-05-27  Tom Tromey  <tromey@redhat.com>
+           Thiago Jung Bauermann  <bauerman@br.ibm.com>
+           Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/python.c: Include objfiles.h, observer.h.
+       (gdbpy_auto_load): New global.
+       (gdbpy_current_objfile): Likewise.
+       (GDBPY_AUTO_FILENAME): New define.
+       (gdbpy_new_objfile): New function.
+       (gdbpy_get_current_objfile): Likewise.
+       (gdbpy_objfiles): Likewise.
+       (_initialize_python): Add "maint set auto-load".  Call
+       gdbpy_initialize_objfile.  Attach objfile observer.
+       (GdbMethods): New methods current_objfile, objfiles.
+       * python/python-objfile.c: New file.
+       * python/python-internal.h (objfile_to_objfile_object): Declare.
+       (objfpy_get_printers): Likewise.
+       (gdbpy_initialize_objfile): Likewise.
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add python-objfile.o.
+       (SUBDIR_PYTHON_SRCS): Add python-objfile.c.
+       (python-objfile.o): New target.
+
+2009-05-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (follow_exec): Clear the stop_requested flag.
+       * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
+       Add debug output.
+
+2009-05-27  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (get_regset): Pass correct pointer.
+
+2009-05-26  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (follow_die_ref): Add comment.
+       (dwarf2_mark_helper): Tweak comment.
+       (dwarf2_mark): Move description to its proper place.
+
+2009-05-25  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * procfs.c (procfs_wait): Add options parameter.
+
+2009-05-24  Doug Evans  <dje@google.com>
+
+       Global renaming of find_thread_pid to find_thread_ptid.
+       * gdbthread.h (find_thread_ptid): Renamed from find_thread_pid.
+       * thread.c (find_thread_ptid): Renamed from find_thread_pid.
+       All callers updated.
+
+       * infrun.c (follow_fork): Initialize new step_* locals
+       to avoid "may be used uninitialized" warnings.
+
+2009-05-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * inflow.c (copy_terminal_info): Deep copy `run_terminal'.
+
+2009-05-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbthread.h (struct thread_info): New `pending_follow' field.
+       * thread.c (new_thread): New function.
+       (add_thread_silent): Use it.
+       * breakpoint.c (internal_breakpoint_number): New global, moved
+       from inside...
+       (create_internal_breakpoint): ... this.
+       (clone_momentary_breakpoint): New.
+       * breakpoint.h (clone_momentary_breakpoint): Declare.
+       * infrun.c (nullify_last_target_wait_ptid): Move declaration
+       higher.
+       (pending_follow): Delete.
+       (follow_fork): Handle pending follow fork event here.  Moved the
+       preserving of thread stepping state here.
+       (resume): Don't handle pending follow fork events here.  Only
+       install the inferior's terminal modes if we're about to resume it.
+       (proceed): Handle possible pending follow fork events here.
+       (init_wait_for_inferior): No need to clear pending_follow anymore,
+       it's gone.
+       (handle_inferior_event): Adjust to per-thread `pending_follow'.
+       Call `follow_fork' to handle following the fork.  If the
+       follow-fork is cancelled, stop stepping.
+       * linux-nat.c (linux_child_follow_fork): Adjust to per-thread
+       `pending_follow' events.  Remove code that handled preserving the
+       thread stepping state.
+       * inf-ptrace.c (inf_ptrace_follow_fork): Ditto.
+       * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
+
+2009-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * symfile.c (add_shared_symbol_files_command): Remove
+       prototype and function.
+       (_initialize _symfile): Move "add-shared-symbol-files"
+       command and "assf" alias.
+       * windows-nat.c (_initialize_windows_nat): to here.
+       Change "add-shared-symbol-files" to alias.
+       
+       * config/i386/cygwin.mh: Remove NAT_FILE.
+       * config/i386/mingw.mh: Remove NAT_FILE.
+       * config/i386/mingw64.mh: Remove NAT_FILE.
+       * config/i386/nm-cygwin.h: Remove file.
+       * config/i386/nm-cygwin64.h: Remove file.
+
+2009-05-24  Hui Zhu  <teawater@gmail.com>
+
+       * i386-linux-tdep.c (I386_LINUX_RECORD_SIZE_*,
+       I386_LINUX_RECORD_IOCTL_*,
+       I386_LINUX_RECORD_FCNTL_*) Removed.
+       (i386_linux_init_abi): Change size of record from macros to
+       numbers.
+
+2009-05-24  Hui Zhu  <teawater@gmail.com>
+
+       * i386-linux-tdep.c (i386_linux_init_abi): Remove size_char.
+       * linux-record.c (record_linux_system_call): Ditto.
+       * linux-record.h (linux_record_tdep): Ditto.
+
 2009-05-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Replace the savestring calls by xstrdup calls where possible.
This page took 0.026752 seconds and 4 git commands to generate.