1769 lines
58 KiB
Plaintext
1769 lines
58 KiB
Plaintext
2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
* breakpoint.c (parse_breakpoint_sals): Fix description.
|
||
|
||
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
|
||
Oguz Kayral <oguzkayral@gmail.com>
|
||
|
||
* python/py-inferior.c (python_on_normal_stop): New function.
|
||
(python_on_resume): New function.
|
||
(python_inferior_exit): New function.
|
||
(gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
|
||
inferior_exit observers.
|
||
* python/py-evtregistry.c: New file.
|
||
* python/py-threadevent.c : New file.
|
||
* python/py-event.c: New file.
|
||
* python/py-evts.c: New file.
|
||
* python/py-continueevent.c: New file.
|
||
* python/py-bpevent.c: New file.
|
||
* python/py-signalevent.c: New file.
|
||
* python/py-exetiedevent.c: New file.
|
||
* python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
|
||
Move struct breakpoint_object from here...
|
||
* python/python-internal.h: ... to here.
|
||
* python/py-event.h: New file.
|
||
* python/py-events.h: New file.
|
||
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
|
||
py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
|
||
py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
|
||
(SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
|
||
py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
|
||
py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
|
||
Add build rules for all the above.
|
||
|
||
2011-02-04 Tom Tromey <tromey@redhat.com>
|
||
|
||
* dwarf2read.c (dwarf2_section_empty_p): New function.
|
||
(dwarf2_read_section): Use dwarf2_section_empty_p.
|
||
(dwarf2_section_size): New function.
|
||
(dwarf2_get_section_info): Unconditionally read section.
|
||
(dwarf2_read_index): Use dwarf2_section_empty_p.
|
||
(partial_read_comp_unit_head): Use dwarf2_section_size.
|
||
(dwarf2_symbol_mark_computed): Likewise.
|
||
|
||
2011-02-04 David Daney <ddaney@caviumnetworks.com>
|
||
|
||
* NEWS: Add item for "catch syscall" on mips*-linux* targets.
|
||
|
||
2011-02-04 David Daney <ddaney@caviumnetworks.com>
|
||
|
||
* mips-linux-tdep.c: Include xml-syscall.h.
|
||
(mips_linux_get_syscall_number): New function.
|
||
(mips_linux_init_abi): Add calls to
|
||
mips_linux_get_syscall_number() and set_xml_syscall_file_name().
|
||
* data-directory/Makefile.in (SYSCALLS_FILES): Add
|
||
mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
|
||
* syscalls/mips-n32-linux.xml: New file.
|
||
* syscalls/mips-n64-linux.xml: New file.
|
||
* syscalls/mips-o32-linux.xml: New file.
|
||
|
||
2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||
|
||
* dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
|
||
Complain about inverted range entries.
|
||
(dwarf2_record_block_ranges): Likewise.
|
||
|
||
2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
Fix some typos.
|
||
* breakpoint.c (update_watchpoint): Fix name of the
|
||
update_global_location_list function.
|
||
(print_one_breakpoint): Fix typo.
|
||
(_initialize_breakpoint): Remove extra space in hbreak help
|
||
string.
|
||
* breakpoint.h (struct bp_location) <length>: Fix field
|
||
description.
|
||
|
||
2011-02-04 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* regcache.c (registers_changed_ptid): Don't explictly always
|
||
clear `current_regcache'. Only clear current_thread_ptid and
|
||
current_thread_arch when PTID matches. Only reinit the frame
|
||
cache if PTID matches the current inferior_ptid. Move alloca(0)
|
||
call to ...
|
||
(registers_changed): ... here.
|
||
|
||
2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||
|
||
* arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
|
||
starts with __stack_chk_guard as stack guard symbol.
|
||
|
||
2011-02-03 Andrew Burgess <aburgess@broadcom.com>
|
||
|
||
* disasm.c (compare_lines): Handle the end of sequence markers
|
||
within the line table to better support disassembling over
|
||
compilation unit boundaries.
|
||
|
||
2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||
|
||
* arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
|
||
arguments. Skip in-prologue calls to glibc __aeabi_read_tp
|
||
implementation even if no symbols are available.
|
||
(thumb_analyze_prologue): Update call to skip_prologue_function.
|
||
(arm_analyze_prologue): Likewise.
|
||
|
||
2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||
|
||
* arm-tdep.c: Include "observer.h".
|
||
(arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
|
||
(arm_exidx_data_key): New static variable.
|
||
(struct arm_exidx_entry, arm_exidx_entry_s): New data types.
|
||
(struct arm_exidx_data): Likewise.
|
||
(arm_exidx_data_free): New function.
|
||
(arm_compare_exidx_entries): Likewise.
|
||
(arm_obj_section_from_vma): Likewise.
|
||
(arm_exidx_new_objfile): Likewise.
|
||
(arm_find_exidx_entry): Likewise.
|
||
(arm_exidx_fill_cache): Likewise.
|
||
(arm_exidx_unwind_sniffer): Likewise.
|
||
(arm_exidx_unwind): New global variable.
|
||
(arm_gdbarch_init): Append unwinder arm_exidx_unwind.
|
||
(_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
|
||
observer. Register arm_exidx_data_key as objfile data.
|
||
|
||
2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||
|
||
* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
|
||
due to accessing uninitialized variable. Fix indentation.
|
||
|
||
2011-02-02 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* c-valprint.c (c_value_print): When doing virtual base pointer
|
||
adjustment, create a new value with adjusted contents rather than
|
||
changing the contents of the value being printed (and getting it
|
||
wrong).
|
||
|
||
2011-02-02 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* xml-support.c (xml_find_attribute): New.
|
||
(xinclude_start_include): Use it.
|
||
* xml-support.h (xml_find_attribute): Declare.
|
||
* memory-map.c (memory_map_start_memory)
|
||
(memory_map_start_property): Use xml_find_attribute.
|
||
* osdata.c (osdata_start_osdata, osdata_start_column): Use
|
||
xml_find_attribute.
|
||
* remote.c (start_thread): Use xml_find_attribute.
|
||
* solib-target.c (library_list_start_segment)
|
||
(library_list_start_section, library_list_start_library)
|
||
(library_list_start_list): Use xml_find_attribute.
|
||
* xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
|
||
(tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
|
||
(tdesc_start_field): Use xml_find_attribute.
|
||
|
||
2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
|
||
|
||
* opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
|
||
(BUILD_OCL_VTYPES): Update.
|
||
|
||
2011-02-02 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* configure.ac: Work around non-GNU sed limitation when computing
|
||
python version number.
|
||
* configure: Regenerate.
|
||
|
||
2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix debug printing of TYPE_INSTANCE.
|
||
* expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
|
||
(dump_subexp_body_standard) <TYPE_INSTANCE>: New.
|
||
|
||
2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
|
||
OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
|
||
OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
|
||
* ada-operator.inc: Rename the file to ...
|
||
* ada-operator.def: ... here, wrap all the entries by macro OP.
|
||
* expprint.c (op_name_standard): Remove all the entries. Include
|
||
"std-operator.def" instead.
|
||
* expression.h (enum exp_opcode): Include "std-operator.def" and
|
||
"ada-operator.def". Move all the entries ...
|
||
* std-operator.def: ... here, wrap all the entries by macro OP.
|
||
|
||
2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||
|
||
* breakpoint.h (remove_jit_event_breakpoints): New prototype.
|
||
* breakpoint.c (remove_jit_event_breakpoints): New function.
|
||
* jit.c (jit_descriptor_addr): Delete.
|
||
(registering_code): Delete.
|
||
(clear_int): Delete.
|
||
(jit_inferior_data): New variable.
|
||
(struct jit_inferior_data): New type.
|
||
(get_jit_inferior_data): New function.
|
||
(jit_inferior_data_cleanup): New function.
|
||
(jit_read_descriptor): Adjust.
|
||
(jit_register_code): Adjust.
|
||
(jit_breakpoint_re_set_internal): New function; move code here ...
|
||
(jit_inferior_init): ... from here.
|
||
(jit_breakpoint_re_set): Adjust.
|
||
(jit_reset_inferior_data_and_breakpoints): New function.
|
||
(jit_inferior_created_observer): Adjust.
|
||
(jit_inferior_exit_hook): Adjust.
|
||
(jit_executable_changed_observer): New function.
|
||
(jit_event_handler): Adjust.
|
||
(_initialize_jit): Adjust.
|
||
|
||
2011-01-31 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
|
||
line.
|
||
|
||
2011-01-31 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR python/12216:
|
||
* python/python.c (execute_gdb_command): Call
|
||
prevent_dont_repeat.
|
||
* top.c (suppress_dont_repeat): New global.
|
||
(dont_repeat): Use it.
|
||
(prevent_dont_repeat): New function.
|
||
* command.h (prevent_dont_repeat): Declare.
|
||
|
||
2011-01-31 Tom Tromey <tromey@redhat.com>
|
||
|
||
* infcmd.c (finish_backward): Use breakpoint_set_silent.
|
||
* python/py-breakpoint.c (bppy_set_silent): Use
|
||
breakpoint_set_silent.
|
||
(bppy_set_thread): Use breakpoint_set_thread.
|
||
(bppy_set_task): Use breakpoint_set_task.
|
||
* breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
|
||
(breakpoint_set_task): Declare.
|
||
(make_breakpoint_silent): Remove.
|
||
* breakpoint.c (breakpoint_set_silent): New function.
|
||
(breakpoint_set_thread): Likewise.
|
||
(breakpoint_set_task): Likewise.
|
||
(make_breakpoint_silent): Remove.
|
||
|
||
2011-01-31 Tom Tromey <tromey@redhat.com>
|
||
|
||
* breakpoint.h (user_breakpoint_p): Declare.
|
||
* breakpoint.c (user_breakpoint_p): New function.
|
||
(breakpoint_1): Use it.
|
||
(save_breakpoints): Likewise.
|
||
|
||
2011-01-31 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* configure.ac: Add handling of Python distribution on Windows.
|
||
* python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
|
||
sysconfig variables are not defined, then do not use them.
|
||
On Windows, if LIBPL is not defined, then use prefix + '/libs'
|
||
instead. On Windows, return all paths using forward-slashes
|
||
rather than backslashes.
|
||
|
||
2011-01-31 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* configure.ac: Remove fallback behavior for building
|
||
against Python. Remove tweaking of Python include path.
|
||
Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
|
||
(AC_TRY_LIBPYTHON): Adjust program used in linking test.
|
||
If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
|
||
Always restore CPPFLAGS and LIBS after linking test.
|
||
* configure: Regenerated.
|
||
* Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
|
||
(INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
|
||
* python/python-internal.h: Adjust includes of Python .h files.
|
||
|
||
2011-01-31 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
|
||
in error message.
|
||
|
||
2011-01-31 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
|
||
value test.
|
||
|
||
2011-01-31 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-linux-nat.c: Update calls to regcache_register_status
|
||
instead of regcache_valid_p.
|
||
* aix-thread.c: Likewise.
|
||
* i386gnu-nat.c: Likewise.
|
||
|
||
2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Fix crash.
|
||
* valops.c (compare_parameters): Verify TYPE_NFIELDS before
|
||
touching TYPE_FIELD_ARTIFICIAL.
|
||
|
||
2011-01-28 Richard Earnshaw <rearnsha@arm.com>
|
||
|
||
* MAINTAINERS: Move myself from Responsible Maintainers to Authorized
|
||
Committers.
|
||
|
||
2011-01-28 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* tracepoint.c (tfile_xfer_partial): If there's no traceframe
|
||
selected, don't try iterating over the traceframe's blocks.
|
||
(tfile_has_stack): If there's no traceframe selected, then there's
|
||
no stack.
|
||
(tfile_has_registers): If there's no traceframe selected, then
|
||
there's no registers.
|
||
|
||
2011-01-28 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.c (memory_xfer_partial): No need to restore shadows if we
|
||
haven't read anything.
|
||
|
||
2011-01-28 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mips-tdep.c (mips_print_register): Use get_frame_register_value
|
||
and val_print_scalar_formatted.
|
||
|
||
2011-01-27 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* tracepoint.c (tfile_read): New.
|
||
(tfile_open): Use it.
|
||
(tfile_get_traceframe_address): Use it.
|
||
(tfile_trace_find): Use it.
|
||
(walk_blocks_callback_func): New typedef.
|
||
(match_blocktype): New function.
|
||
(traceframe_walk_blocks): New function.
|
||
(traceframe_find_block_type): New function.
|
||
(tfile_fetch_registers, tfile_xfer_partial)
|
||
(tfile_get_trace_state_variable_value): Use
|
||
traceframe_find_block_type and tfile_read.
|
||
|
||
2011-01-26 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* remote-mips.c: Add internationalization mark ups. Remove
|
||
trailing \n from already marked up strings.
|
||
|
||
2011-01-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* python/py-prettyprint.c (print_string_repr): Clear
|
||
'addressprint' option when calling val_print_string.
|
||
(print_children): Handle Val_pretty_default. Clear 'addressprint'
|
||
option when calling val_print_string.
|
||
|
||
2011-01-26 Tom Tromey <tromey@redhat.com>
|
||
|
||
* python/python.c (gdbpy_solib_name): Use gdb_py_longest and
|
||
GDB_PY_LL_ARG.
|
||
* python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
|
||
macros.
|
||
(gdb_py_longest, gdb_py_ulongest): New typedefs.
|
||
(gdb_py_long_from_longest, gdb_py_long_from_ulongest)
|
||
(gdb_py_long_as_ulongest): New defines.
|
||
(gdb_py_object_from_longest, gdb_py_object_from_ulongest)
|
||
(gdb_py_int_as_long): Declare.
|
||
* python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
|
||
GDB_PY_LL_ARG, gdb_py_object_from_longest.
|
||
(valpy_long): Add comment.
|
||
* python/py-utils.c (get_addr_from_python): Use
|
||
gdb_py_long_as_ulongest. Handle overflow properly.
|
||
(gdb_py_object_from_longest): New function.
|
||
(gdb_py_object_from_ulongest): Likewise.
|
||
(gdb_py_int_as_long): Likewise.
|
||
* python/py-type.c (typy_array): Use gdb_py_int_as_long.
|
||
* python/py-symtab.c (salpy_get_pc): Use
|
||
gdb_py_long_from_ulongest.
|
||
(salpy_get_line): Use PyInt_FromLong.
|
||
* python/py-param.c (set_parameter_value): Use
|
||
gdb_py_int_as_long.
|
||
* python/py-lazy-string.c (stpy_get_address): Use
|
||
gdb_py_long_from_ulongest.
|
||
* python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
|
||
* python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
|
||
* python/py-breakpoint.c (bppy_set_thread): Use
|
||
gdb_py_int_as_long.
|
||
(bppy_set_task): Likewise.
|
||
(bppy_set_ignore_count): Likewise.
|
||
(bppy_set_hit_count): Likewise.
|
||
* python/py-block.c (blpy_get_start): Use
|
||
gdb_py_object_from_ulongest.
|
||
(blpy_get_end): Likewise.
|
||
(gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
|
||
|
||
2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
|
||
|
||
PR/symtab 11766:
|
||
* gdb/objfiles.h (struct objfile) <addr_low>: New field.
|
||
* gdb/solib.c (solib_read_symbols): Check for addr_low in
|
||
equality test for objfile, initialize addr_low if needed.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* tui/tui-regs.c (tui_register_format): Remove dead code.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* printcmd.c (print_formatted): Use val_print_scalar_formatted
|
||
instead of print_scalar_formatted.
|
||
(print_scalar_formatted): Don't handle 's' format strings here,
|
||
and add an assertion that we never see such format here.
|
||
* valprint.h (val_print_scalar_formatted): Declare.
|
||
* valprint.c (val_print_scalar_formatted): New.
|
||
* c-valprint.c (c_val_print): Use val_print_scalar_formatted
|
||
instead of print_scalar_formatted.
|
||
* jv-valprint.c (java_val_print): Ditto.
|
||
* p-valprint.c (pascal_val_print): Ditto.
|
||
* ada-valprint.c (ada_val_print_1): Ditto.
|
||
* f-valprint.c (f_val_print): Ditto.
|
||
* infcmd.c (registers_info): Ditto.
|
||
* m2-valprint.c (m2_val_print): Ditto.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* m2-valprint.c (print_unbounded_array): Pass
|
||
value_contents_for_printing rather than value_contents, to
|
||
m2_print_array_contents. Also pass in the value.
|
||
|
||
2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
|
||
(save_gdb_index_command): Switch to .gdb_index version 4.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* mi/mi-main.c (get_register): Use get_frame_register_value rather
|
||
than frame_register, and always pass a valid value to val_print.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Centralize printing "<optimized out>".
|
||
|
||
* valprint.h (val_print_optimized_out): Declare.
|
||
* cp-valprint.c (cp_print_value_fields): Use
|
||
val_print_optimized_out.
|
||
* jv-valprint.c (java_print_value_fields): Ditto.
|
||
* p-valprint.c (pascal_object_print_value_fields): Ditto.
|
||
* printcmd.c (print_formatted): Ditto.
|
||
* valprint.c (valprint_check_validity): Ditto.
|
||
(value_check_printable): Ditto.
|
||
(val_print_optimized_out): New.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* infcmd.c (default_print_registers_info): Allocate values so to
|
||
never pass a NULL value to val_print.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* cp-valprint.c (cp_print_value): Treat the 'skip' local as
|
||
boolean. Make sure to always pass a value that matches the
|
||
contents buffer to callees. Preserve `address' for following
|
||
iterations.
|
||
* value.c (value_contents_for_printing_const): New.
|
||
(value_address): Constify value argument.
|
||
* value.h (value_contents_for_printing_const): Declare.
|
||
(value_address): Constify value argument.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* regcache.c (struct regcache_descr): Rename
|
||
sizeof_raw_register_valid_p field to sizeof_raw_register_status,
|
||
and sizeof_cooked_register_valid_p to
|
||
sizeof_cooked_register_status.
|
||
(init_regcache_descr): Adjust.
|
||
(struct regcache): Rename register_valid_p field to
|
||
register_status.
|
||
(regcache_xmalloc_1, regcache_xfree, regcache_save)
|
||
(do_cooked_read): Adjust.
|
||
(regcache_valid_p): Rename to ...
|
||
(regcache_register_status): ... this. Adjust.
|
||
(regcache_invalidate): Adjust.
|
||
(regcache_raw_read, regcache_cooked_read, regcache_raw_write):
|
||
Adjust.
|
||
(regcache_raw_supply): Adjust. If buf i NULL, mark the register
|
||
as unavailable, not valid.
|
||
(regcache_dump): Adjust.
|
||
* regcache.h (enum register_status): New.
|
||
(regcache_register_status): Declare.
|
||
(regcache_invalidate): Delete declaration.
|
||
* corelow.c (get_core_registers): Adjust.
|
||
* tracepoint.c (tfile_fetch_registers): Adjust.
|
||
* trad-frame.c (REG_VALUE): Rename to ...
|
||
(TF_REG_VALUE): ... this.
|
||
(REG_UNKNOWN): Rename to ...
|
||
(TF_REG_UNKNOWN): ... this.
|
||
(trad_frame_set_value, trad_frame_set_unknown): Adjust.
|
||
* mi/mi-main.c (register_changed_p): Adjust.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* regcache.c (struct regcache_descr): Remove outdated comment.
|
||
(init_regcache_descr): Remove sizeof_raw_register_valid_p
|
||
overallocate hack.
|
||
(regcache_xmalloc): Rename to ...
|
||
(regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
|
||
Allocate the regcache type accordingly.
|
||
(regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
|
||
(regcache_xfree): Asser the source is also readonly. Copy sizeof
|
||
cooked registers, not raw.
|
||
(regcache_dup_no_passthrough): Delete.
|
||
(get_thread_arch_regcache): Use regcache_xmalloc_1.
|
||
* h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
|
||
mention obsolete write_register_bytes.
|
||
* regcache.h (regcache_dup_no_passthrough): Delete declaration.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Stop remote_read_bytes from handling partial reads itself.
|
||
|
||
* remote-fileio.c: Include target.h.
|
||
(remote_fileio_write_bytes): Delete.
|
||
(remote_fileio_func_open, remote_fileio_func_write)
|
||
(remote_fileio_func_rename, remote_fileio_func_unlink): Use
|
||
target_read_memory.
|
||
(remote_fileio_func_stat): Use target_read_memory and
|
||
target_write_memory.
|
||
(remote_fileio_func_gettimeofday): Use target_write_memory.
|
||
(remote_fileio_func_system): Use target_read_memory.
|
||
* remote.c (remote_write_bytes): Make it static.
|
||
(remote_read_bytes): Don't handle partial reads here.
|
||
* remote.h (remote_read_bytes): Delete declaration.
|
||
|
||
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Simplify XML parsing a bit.
|
||
|
||
* xml-support.h (gdb_xml_parse_quick): Declare.
|
||
* xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
|
||
from gdb_xml_create_parser_and_cleanup, and added `old_chain'
|
||
parameter.
|
||
(gdb_xml_create_parser_and_cleanup): Reimplement on top of
|
||
gdb_xml_create_parser_and_cleanup_1.
|
||
(gdb_xml_parse_quick): New.
|
||
* memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
|
||
* osdata.c (osdata_parse): Ditto.
|
||
* remote.c (remote_threads_info): Ditto.
|
||
* solib-target.c (solib_target_parse_libraries): Ditto.
|
||
* xml-syscall.c (syscall_parse_xml): Ditto.
|
||
* xml-tdesc.c (tdesc_parse_xml): Ditto.
|
||
|
||
2011-01-24 Kevin Buettner <kevinb@redhat.com>
|
||
|
||
* configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
|
||
with remote-mips.o added to gdb_target_obs.
|
||
* Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
|
||
|
||
2011-01-24 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* ada-valprint.c (val_print_packed_array_elements): Pass the
|
||
correct struct value to val_print.
|
||
(ada_val_print_1): Ditto.
|
||
|
||
2011-01-24 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
Don't lose embedded_offset in printing routines throughout.
|
||
|
||
* valprint.h (val_print_array_elements): Change prototype.
|
||
* valprint.c (val_print_array_elements): Add `embedded_offset'
|
||
parameter, and adjust to pass it down to val_print, while passing
|
||
`valaddr' or `address' unmodified. Take embedded_offset into
|
||
account when checking repetitions.
|
||
* c-valprint.c (c_val_print): Pass embedded_offset to
|
||
val_print_array_elements instead of adjusting `valaddr' and
|
||
`address'.
|
||
* m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
|
||
embedded_offset to val_print_array_elements instead of adjusting
|
||
`valaddr'.
|
||
* p-lang.h (pascal_object_print_value_fields): Adjust prototype.
|
||
* p-valprint.c (pascal_val_print): Pass embedded_offset to
|
||
val_print_array_elements and pascal_object_print_value_fields
|
||
instead of adjusting `valaddr'.
|
||
(pascal_object_print_value_fields): Add `offset' parameter, and
|
||
adjust to use it.
|
||
(pascal_object_print_value): Add `offset' parameter, and adjust to
|
||
use it.
|
||
(pascal_object_print_static_field): Use
|
||
value_contents_for_printing/value_embedded_offset, rather than
|
||
value_contents.
|
||
* ada-valprint.c (val_print_packed_array_elements): Add `offset'
|
||
parameter, and adjust to use it. Use
|
||
value_contents_for_printing/value_embedded_offset, rather than
|
||
value_contents.
|
||
(ada_val_print): Rename `valaddr0' parameter to `valaddr'.
|
||
(ada_val_print_array): Add `offset' parameter, and adjust to use
|
||
it.
|
||
(ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
|
||
`embedded_offset' to `offset'. Don't re-adjust `valaddr'.
|
||
Instead work with offsets. Use
|
||
value_contents_for_printing/value_embedded_offset, rather than
|
||
value_contents. Change `defer_val_int' local type to CORE_ADDR,
|
||
and use value_from_pointer to extract a target pointer, rather
|
||
than value_from_longest.
|
||
(print_variant_part): Add `offset' parameter. Replace
|
||
`outer_valaddr' parameter by a new `outer_offset' parameter.
|
||
Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
|
||
(ada_value_print): Use
|
||
value_contents_for_printing/value_embedded_offset, rather than
|
||
value_contents.
|
||
(print_record): Add `offset' parameter, and adjust to pass it
|
||
down.
|
||
(print_field_values): Add `offset' parameter. Replace
|
||
`outer_valaddr' parameter by a new `outer_offset' parameter.
|
||
Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
|
||
Use value_contents_for_printing/value_embedded_offset, rather than
|
||
value_contents.
|
||
* d-valprint.c (dynamic_array_type): Use
|
||
value_contents_for_printing/value_embedded_offset, rather than
|
||
value_contents.
|
||
* jv-valprint.c (java_print_value_fields): Add `offset' parameter.
|
||
Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
|
||
(java_print_value_fields): Take `offset' into account. Don't
|
||
re-adjust `valaddr'. Instead pass down adjusted offsets.
|
||
(java_val_print): Take `embedded_offset' into account. Pass it to
|
||
java_print_value_fields.
|
||
* f-valprint.c (f77_print_array_1): Add `embedded_offset'
|
||
parameter. Don't re-adjust `valaddr' or `address'. Instead pass
|
||
down adjusted offsets.
|
||
(f77_print_array): Add `embedded_offset' parameter. Pass it down.
|
||
(f_val_print): Take `embedded_offset' into account.
|
||
|
||
2011-01-21 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* inflow.c: Include "gdbcmd.h".
|
||
(interactive_mode): New static global, moved here from top.c.
|
||
(show_interactive_mode): New function, moved here from top.c.
|
||
use gdb_has_a_terminal instead of input_from_terminal_p to
|
||
determine the current mode.
|
||
(gdb_has_a_terminal): Add handling of the "iteractive-mode"
|
||
setting.
|
||
(_initialize_inflow): Add the "set/show interactive-mode"
|
||
commands. Moved here from top.c, after having adjusted slightly
|
||
the help text.
|
||
* top.c (interactive_mode, show_interactive_mode): Delete, moved
|
||
to inflow.c.
|
||
(input_from_terminal_p): Remove handling of "interactive-mode"
|
||
setting, moved to infow.c.
|
||
(init_main): Remove creation of the "set/show interactive-mode"
|
||
commands, moved to inflow.c.
|
||
|
||
2011-01-19 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* NEWS: Add entry for native ia64-hpux support.
|
||
|
||
2011-01-19 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR mi/8618:
|
||
* thread.c (free_thread): Free 'name'.
|
||
(print_thread_info): Emit thread name. Change CLI output.
|
||
(thread_name_command): New function.
|
||
(do_captured_thread_select): Emit newline.
|
||
(_initialize_thread): Register 'thread name' command.
|
||
* target.h (struct target_ops) <to_thread_name>: New field.
|
||
(target_thread_name): New macro.
|
||
* target.c (update_current_target): Handle to_thread_name.
|
||
* python/py-infthread.c (thpy_get_name): New function.
|
||
(thpy_set_name): Likewise.
|
||
(thread_object_getset): Add "name".
|
||
* linux-nat.c (linux_nat_thread_name): New function.
|
||
(linux_nat_add_target): Set to_thread_name.
|
||
* gdbthread.h (struct thread_info) <name>: New field.
|
||
|
||
2011-01-18 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
|
||
(ada_val_print_1): Likewise.
|
||
|
||
2011-01-18 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
|
||
upper limit address is not greater than the function end address
|
||
when the upper limit could not be computed using the debugging
|
||
info.
|
||
|
||
2011-01-17 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
|
||
get_regcomp_error.
|
||
* utils.c: Include gdb_regex.h.
|
||
(do_regfree_cleanup): New function.
|
||
(make_regfree_cleanup): Likewise.
|
||
(get_regcomp_error): Likewise.
|
||
* gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
|
||
|
||
2011-01-17 Tom Tromey <tromey@redhat.com>
|
||
|
||
* cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
|
||
re_compile_fastmap.
|
||
|
||
2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
|
||
for internal variables.
|
||
(last_was_structop): New static variable.
|
||
(COMPLETE): New token.
|
||
(field_exp): New rule to group all '.' suffix handling.
|
||
Add mark_struct_expression calls when approriate to be able
|
||
to correctly find fields for completion.
|
||
(yylex): Adapt to handle field completion and set INTVAR when
|
||
required.
|
||
|
||
2011-01-14 Yao Qi <yao@codesourcery.com>
|
||
|
||
* arm-tdep.c (arm_register_reggroup_p): FPS register is in
|
||
save_reggroup, restore_reggroup and all_reggroup.
|
||
|
||
2011-01-14 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint. (ada_printchar): Use the correct type length
|
||
in call to ada_emit_char.
|
||
* c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
|
||
|
||
2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* solib-som.h (hpux_major_release): Declare variable here.
|
||
* solib-som.c: Remove <sys/utsname.h> header.
|
||
(DEFAULT_HPUX_MAJOR_RELEASE): New macro.
|
||
(hpux_major_release): Make global, change default value to
|
||
DEFAULT_HPUX_MAJOR_RELEASE.
|
||
(get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
|
||
* hppa-hpux-nat.c: Add <sys/utsname.h> include.
|
||
Add "solib-som.h" header.
|
||
(set_hpux_major_release): New function.
|
||
(_initialize_hppa_hpux_nat): Call set_hpux_major_release.
|
||
|
||
2011-01-14 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* configure.tgt (*-*-uclinux*): Match more Linux os targets
|
||
|
||
2011-01-14 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
|
||
new-line at end of warning message.
|
||
(ia64_hpux_store_register): Remove trailing new-line at end of
|
||
error message.
|
||
* ia64-hpux-tdep.c: Rephrase comment.
|
||
* solib-ia64-hpux.c (struct dld_info): Change type of field
|
||
dld_flags from "long long" to ULONGEST.
|
||
|
||
2011-01-14 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* target.h (deprecated_child_ops): Delete declaration.
|
||
* target.c (deprecated_child_ops): Delete definition.
|
||
|
||
2011-01-14 Pedro Alves <pedro@codesourcery.com>
|
||
|
||
* Makefile.in (hpux-thread.o): Delete rule.
|
||
* configure.ac: Don't check for HPUX DCE threads support.
|
||
* configure, config.in: Regenerate.
|
||
* hppa-hpux-nat.c (child_suppress_run): Delete.
|
||
(hppa_hpux_child_can_run): Delete.
|
||
(_initialize_hppa_hpux_nat): Don't override to_can_run.
|
||
* hpux-thread.c: Delete.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* hpux-thread.c (hpux_pid_to_str): Delete.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (ada_emit_char): Remove strange code.
|
||
Check that c is <= UCHAR_MAX before passing it to isascii.
|
||
(char_at): Do not assume that TYPE_LEN is either 1 or 2.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* top.c (input_from_terminal_p): Restrict the use of interactive_mode
|
||
to the case where instream is stdin.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ia64-tdep.h (struct regcache): Forward declare.
|
||
(struct ia64_infcall_ops): New struct type.
|
||
(struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
|
||
and "infcall_ops".
|
||
* ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
|
||
Renames ia64_find_global_pointer.
|
||
(ia64_find_global_pointer, ia64_allocate_new_rse_frame)
|
||
(ia64_store_argument_in_slot, ia64_set_function_addr: New function.
|
||
(ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
|
||
methods.
|
||
(ia64_infcall_ops): New static global constant.
|
||
(ia64_gdbarch_init): Set tdep->infcall_ops.
|
||
* ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
|
||
(ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
|
||
* ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
|
||
(ia64_hpux_dummy_code): New static global constant.
|
||
(ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
|
||
(ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
|
||
(ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
|
||
New function.
|
||
(ia64_hpux_infcall_ops): New static global constant.
|
||
(ia64_hpux_init_abi): Install gdbarch and tdep methods needed
|
||
for inferior function calls to work properly on ia64-hpux.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
|
||
* ia64-tdep.h (struct frame_info): forward declaration.
|
||
(struct gdbarch_tdep): Add field size_of_register_frame.
|
||
* ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
|
||
to determine the size of the register frame.
|
||
(ia64_size_of_register_frame): New function.
|
||
(ia64_gdbarch_init): Set tdep->size_of_register_frame.
|
||
* ia64-hpux-tdep.c: Include "target.h" and "frame.h".
|
||
(IA64_HPUX_UREG_REASON): New macro.
|
||
(ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
|
||
New functions.
|
||
(ia64_hpux_init_abi): Set tdep->size_of_register_frame.
|
||
* ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
|
||
(ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
|
||
objects.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Add support for ia64-hpux.
|
||
* config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
|
||
ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
|
||
|
||
* configure.host: Add handling for ia64-hpux hosts. Add associated
|
||
floatformats.
|
||
* configure.tgt: Add handling for ia64-hpux targets.
|
||
* Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
|
||
(HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
|
||
(ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
[ttrace] Compute thread list immediately after attach.
|
||
* inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
|
||
New subprogram.
|
||
(inf_ttrace_attach): Use it.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* libunwind-frame.c (libunwind_frame_cache): Do not return NULL
|
||
if we could not determine the frame's function address. Instead,
|
||
use the frame's PC, and then continue.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
|
||
not already defined.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ia64-tdep.c (ia64_struct_type_p): New function.
|
||
(ia64_extract_return_value): Handle integral values that are
|
||
less than 8 bytes long.
|
||
(ia64_push_dummy_call): Likewise.
|
||
|
||
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ia64-tdep.c (floatformat_ia64_ext_little): Renames
|
||
floatformat_ia64_ext.
|
||
(floatformat_ia64_ext_big): New static const.
|
||
(floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
|
||
|
||
2011-01-12 Tom Tromey <tromey@redhat.com>
|
||
|
||
* mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
|
||
messages.
|
||
* mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
|
||
(mi_cmd_thread_list_ids): Likewise.
|
||
(mi_cmd_data_list_changed_registers): Likewise.
|
||
(mi_cmd_data_list_register_values): Likewise.
|
||
(mi_cmd_data_write_register_values): Likewise.
|
||
(mi_cmd_data_evaluate_expression): Likewise.
|
||
(mi_cmd_data_read_memory): Likewise.
|
||
(mi_cmd_data_read_memory_bytes): Likewise.
|
||
(mi_cmd_data_write_memory): Likewise.
|
||
(mi_cmd_enable_timings): Likewise.
|
||
* mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
|
||
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
|
||
(mi_cmd_var_delete): Likewise.
|
||
(mi_cmd_var_set_format): Likewise.
|
||
(mi_cmd_var_show_format): Likewise.
|
||
(mi_cmd_var_info_num_children): Likewise.
|
||
(mi_cmd_var_list_children): Likewise.
|
||
(mi_cmd_var_info_type): Likewise.
|
||
(mi_cmd_var_info_expression): Likewise.
|
||
(mi_cmd_var_show_attributes): Likewise.
|
||
(mi_cmd_var_assign): Likewise.
|
||
(mi_cmd_var_update): Likewise.
|
||
(mi_cmd_enable_pretty_printing): Likewise.
|
||
(mi_cmd_var_set_update_range): Likewise.
|
||
* mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
|
||
messages.
|
||
(mi_cmd_target_file_put): Likewise.
|
||
(mi_cmd_target_file_delete): Likewise.
|
||
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
|
||
messages.
|
||
(mi_cmd_stack_info_depth): Likewise.
|
||
(mi_cmd_stack_list_locals): Likewise.
|
||
(mi_cmd_stack_list_args): Likewise.
|
||
(mi_cmd_stack_select_frame): Likewise.
|
||
(mi_cmd_stack_select_frame): Likewise.
|
||
(mi_cmd_stack_info_frame): Likewise.
|
||
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
|
||
messages.
|
||
(mi_cmd_file_list_exec_source_files): Likewise.
|
||
* mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
|
||
(mi_cmd_env_cd): Likewise.
|
||
(mi_cmd_env_path): Likewise.
|
||
(mi_cmd_env_dir): Likewise.
|
||
(mi_cmd_inferior_tty_show): Likewise.
|
||
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
|
||
* mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
|
||
(mi_cmd_break_watch): Likewise.
|
||
|
||
2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
* ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
|
||
(ppc_linux_insert_hw_breakpoint): Likewise.
|
||
(ppc_linux_remove_hw_breakpoint): Likewise.
|
||
(ppc_linux_insert_watchpoint): Likewise.
|
||
|
||
2011-01-12 Andrew Burgess <aburgess@broadcom.com>
|
||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
PR fortran/11104 and DWARF unbound arrays detection.
|
||
* dwarf2read.c (read_subrange_type): Set zero length on unspecified
|
||
upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
|
||
unspecified upper bound.
|
||
* eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
|
||
variables array_size_array, tmp_type and offset_item. New variable
|
||
array. Remove call to f77_get_upperbound. New variables array_type
|
||
and index. Call value_subscripted_rvalue for each dimenasion. Remove
|
||
the final call to deprecated_set_value_type.
|
||
|
||
2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
Make value allocations more lazy.
|
||
* ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
|
||
instead of allocate_value and set_value_lazy when possible.
|
||
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
|
||
instead of allocate_value and set_value_lazy.
|
||
* findvar.c (value_of_register_lazy): Likewise.
|
||
(read_var_value): Remove V preallocation, call just check_typedef in
|
||
advance. Move allocate_value to LOC_CONST, LOC_LABEL,
|
||
LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
|
||
LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
|
||
set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
|
||
remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
|
||
in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
|
||
the end, remove set_value_lazy there.
|
||
* valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
|
||
instead of allocate_value and set_value_lazy when possible.
|
||
* valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
|
||
* value.c (allocate_computed_value): Use allocate_value_lazy instead
|
||
of allocate_value and set_value_lazy.
|
||
(value_from_contents_and_address): Use allocate_value_lazy instead of
|
||
allocate_value and set_value_lazy when possible.
|
||
|
||
2011-01-12 Andrew Burgess <aburgess@broadcom.com>
|
||
|
||
* disasm.c (dump_insns): Support dumping opcodes for MI.
|
||
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
|
||
dumping of instruction opcodes.
|
||
|
||
2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
|
||
|
||
* configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
|
||
appropiately.
|
||
|
||
2011-01-11 Tom Tromey <tromey@redhat.com>
|
||
|
||
* thread.c (do_captured_thread_select): Emit newline before
|
||
printing frame.
|
||
|
||
2011-01-11 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* s390-tdep.c: Comment cleanup, mostly periods and spaces.
|
||
* score-tdep.c: Ditto.
|
||
* score-tdep.h: Ditto.
|
||
* ser-base.c: Ditto.
|
||
* ser-go32.c: Ditto.
|
||
* serial.c: Ditto.
|
||
* serial.h: Ditto.
|
||
* ser-mingw.c: Ditto.
|
||
* ser-pipe.c: Ditto.
|
||
* ser-tcp.c: Ditto.
|
||
* ser-unix.c: Ditto.
|
||
* sh64-tdep.c: Ditto.
|
||
* shnbsd-nat.c: Ditto.
|
||
* sh-tdep.c: Ditto.
|
||
* sh-tdep.h: Ditto.
|
||
* solib.c: Ditto.
|
||
* solib-darwin.c: Ditto.
|
||
* solib-frv.c: Ditto.
|
||
* solib.h: Ditto.
|
||
* solib-irix.c: Ditto.
|
||
* solib-osf.c: Ditto.
|
||
* solib-pa64.c: Ditto.
|
||
* solib-som.c: Ditto.
|
||
* solib-spu.c: Ditto.
|
||
* solib-sunos.c: Ditto.
|
||
* solib-svr4.c: Ditto.
|
||
* solist.h: Ditto.
|
||
* sol-thread.c: Ditto.
|
||
* somread.c: Ditto.
|
||
* source.c: Ditto.
|
||
* source.h: Ditto.
|
||
* sparc64-linux-tdep.c: Ditto.
|
||
* sparc64-tdep.c: Ditto.
|
||
* sparc-linux-nat.c: Ditto.
|
||
* sparc-linux-tdep.c: Ditto.
|
||
* sparc-sol2-nat.c: Ditto.
|
||
* sparc-sol2-tdep.c: Ditto.
|
||
* sparc-tdep.c: Ditto.
|
||
* sparc-tdep.h: Ditto.
|
||
* spu-tdep.c: Ditto.
|
||
* stabsread.c: Ditto.
|
||
* stabsread.h: Ditto.
|
||
* stack.c: Ditto.
|
||
* symfile.c: Ditto.
|
||
* symfile.h: Ditto.
|
||
* symmisc.c: Ditto.
|
||
* symtab.c: Ditto.
|
||
* symtab.h: Ditto.
|
||
* target.c: Ditto.
|
||
* target-descriptions.c: Ditto.
|
||
* target-descriptions.h: Ditto.
|
||
* target.h: Ditto.
|
||
* target-memory.c: Ditto.
|
||
* terminal.h: Ditto.
|
||
* thread.c: Ditto.
|
||
* top.c: Ditto.
|
||
* tracepoint.c: Ditto.
|
||
* tracepoint.h: Ditto.
|
||
* trad-frame.h: Ditto.
|
||
* typeprint.c: Ditto.
|
||
|
||
2011-01-11 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* ui-file.c: Comment cleanup, mostly periods and spaces.
|
||
* ui-file.h: Ditto.
|
||
* ui-out.c: Ditto.
|
||
* ui-out.h: Ditto.
|
||
* utils.c: Ditto.
|
||
* v850-tdep.c: Ditto.
|
||
* valarith.c: Ditto.
|
||
* valops.c: Ditto.
|
||
* valprint.c: Ditto.
|
||
* valprint.h: Ditto.
|
||
* value.c: Ditto.
|
||
* value.h: Ditto.
|
||
* varobj.c: Ditto.
|
||
* varobj.h: Ditto.
|
||
* vax-tdep.c: Ditto.
|
||
* vec.c: Ditto.
|
||
* vec.h: Ditto.
|
||
* version.h: Ditto.
|
||
* windows-nat.c: Ditto.
|
||
* windows-tdep.c: Ditto.
|
||
* xcoffread.c: Ditto.
|
||
* xcoffsolib.c: Ditto.
|
||
* xml-support.c: Ditto.
|
||
* xstormy16-tdep.c: Ditto.
|
||
* xtensa-tdep.c: Ditto.
|
||
* xtensa-tdep.h: Ditto.
|
||
|
||
2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
* breakpoint.c (resources_needed_watchpoint): Fix indentation.
|
||
* gdbtypes.c (is_scalar_type_recursive): Fix formatting.
|
||
|
||
2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
|
||
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
Implement support for PowerPC BookE ranged watchpoints.
|
||
* breakpoint.h
|
||
(struct breakpoint_ops) <resources_needed>: New method.
|
||
Initialize to NULL in all existing breakpoint_ops instances.
|
||
(struct breakpoint) <exact>: New field.
|
||
(target_exact_watchpoints): Declare external global.
|
||
* breakpoint.c (target_exact_watchpoints): New global flag.
|
||
(update_watchpoint): Set b->type to bp_hardware_watchpoint and
|
||
b->enable_state to bp_enabled before calling
|
||
hw_watchpoint_used_count.
|
||
(hw_watchpoint_used_count): Iterate over all bp_locations in a
|
||
watchpoint. Call breakpoint's breakpoint_ops.resources_needed
|
||
if available.
|
||
(insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
|
||
if the watchpoint is exact.
|
||
(resources_needed_watchpoint): New function.
|
||
(watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
|
||
(watch_command_1): Set b->exact if the user asked for an exact
|
||
watchpoint and one can be set.
|
||
(can_use_hardware_watchpoint): Add exact_watchpoints argument.
|
||
Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
|
||
the user asks for an exact watchpoint and one can be set. Return
|
||
number of needed debug registers to watch the expression.
|
||
* gdbtypes.c (is_scalar_type): New function, based on
|
||
valprint.c:scalar_type_p.
|
||
(is_scalar_type_recursive): New function.
|
||
* gdbtypes.h (is_scalar_type_recursive): Declare.
|
||
* ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
|
||
handle regions when ranged watchpoints are available.
|
||
(create_watchpoint_request): New function.
|
||
(ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
|
||
create_watchpoint_request.
|
||
* rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
|
||
(_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
|
||
`set powerpc' and `show powerpc' commands.
|
||
* target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
|
||
Mention documentation comment in the target macro.
|
||
(target_region_ok_for_hw_watchpoint): Document return value.
|
||
|
||
2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
* breakpoint.c (update_watchpoint): Decide on using a software or
|
||
hardware watchpoint after the bp_locations are created.
|
||
|
||
2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||
|
||
Convert hardware watchpoints to use breakpoint_ops.
|
||
* breakpoint.h (breakpoint_ops) <insert>: Rename to...
|
||
<insert_location>: ... this. Return int instead of void.
|
||
Accept pointer to struct bp_location instead of pointer to
|
||
struct breakpoint. Adapt all implementations.
|
||
(breakpoint_ops) <remove>: Rename to...
|
||
<remove_location>: ... this. Accept pointer to struct bp_location
|
||
instead of pointer to struct breakpoint. Adapt all implementations.
|
||
* breakpoint.c (insert_catchpoint): Delete function.
|
||
(insert_bp_location): Call the watchpoint or catchpoint's
|
||
breakpoint_ops.insert method.
|
||
(remove_breakpoint_1): Call the watchpoint or catchpoint's
|
||
breakpoint_ops.remove method.
|
||
(insert_watchpoint, remove_watchpoint): New functions.
|
||
(watchpoint_breakpoint_ops): New structure.
|
||
(watch_command_1): Initialize the OPS field.
|
||
* inf-child.c (inf_child_insert_fork_catchpoint)
|
||
(inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
|
||
(inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
|
||
(inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
|
||
Delete functions.
|
||
(inf_child_target): Remove initialization of to_insert_fork_catchpoint,
|
||
to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
|
||
to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
|
||
to_remove_exec_catchpoint and to_set_syscall_catchpoint.
|
||
* target.c (update_current_target): Change default implementation of
|
||
to_insert_fork_catchpoint, to_remove_fork_catchpoint,
|
||
to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
|
||
to_insert_exec_catchpoint, to_remove_exec_catchpoint and
|
||
to_set_syscall_catchpoint to return_one.
|
||
(debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
|
||
(debug_to_insert_exec_catchpoint): Report return value.
|
||
* target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
|
||
(to_insert_exec_catchpoint): Change declaration to return int instead
|
||
of void.
|
||
|
||
2011-01-11 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* arm-tdep.c: Internationalization.
|
||
* c-lang.c: Ditto.
|
||
* charset.c: Ditto.
|
||
* fork-child.c: Ditto.
|
||
* nto-procfs.c: Ditto.
|
||
* ppc-sysv-tdep.c: Ditto.
|
||
* procfs.c: Ditto.
|
||
* remote-mips.c: Ditto.
|
||
* remote.c: Ditto.
|
||
* rs6000-nat.c: Ditto.
|
||
* rs6000-tdep.c: Ditto.
|
||
* target.c: Ditto.
|
||
* valops.c: Ditto.
|
||
* value.c: Ditto.
|
||
* xml-support.c: Ditto.
|
||
* mi/mi-cmd-break.c: Ditto.
|
||
* mi/mi-cmd-var.c: Ditto.
|
||
* mi/mi-interp.c: Ditto.
|
||
* mi/mi-main.c: Ditto.
|
||
|
||
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
|
||
|
||
* remote-sim.c (gdbsim_store_register): Update API to
|
||
sim_store_register to check more error conditions.
|
||
|
||
2011-01-10 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* nto-procfs.c: Comment cleanup, mostly periods and spaces.
|
||
* nto-tdep.c: Ditto.
|
||
* nto-tdep.h: Ditto.
|
||
* objc-exp.y: Ditto.
|
||
* objc-lang.c: Ditto.
|
||
* objfiles.c: Ditto.
|
||
* objfiles.h: Ditto.
|
||
* observer.c: Ditto.
|
||
* opencl-lang.c: Ditto.
|
||
* osabi.c: Ditto.
|
||
* parse.c: Ditto.
|
||
* parser-defs.h: Ditto.
|
||
* p-exp.y: Ditto.
|
||
* p-lang.c: Ditto.
|
||
* posix-hdep.c: Ditto.
|
||
* ppcbug-rom.c: Ditto.
|
||
* ppc-linux-nat.c: Ditto.
|
||
* ppc-linux-tdep.c: Ditto.
|
||
* ppc-linux-tdep.h: Ditto.
|
||
* ppcnbsd-tdep.c: Ditto.
|
||
* ppcobsd-tdep.c: Ditto.
|
||
* ppcobsd-tdep.h: Ditto.
|
||
* ppc-sysv-tdep.c: Ditto.
|
||
* ppc-tdep.h: Ditto.
|
||
* printcmd.c: Ditto.
|
||
* proc-abi.c: Ditto.
|
||
* proc-flags.c: Ditto.
|
||
* procfs.c: Ditto.
|
||
* proc-utils.h: Ditto.
|
||
* progspace.h: Ditto.
|
||
* prologue-value.c: Ditto.
|
||
* prologue-value.h: Ditto.
|
||
* psympriv.h: Ditto.
|
||
* psymtab.c: Ditto.
|
||
* p-typeprint.c: Ditto.
|
||
* p-valprint.c: Ditto.
|
||
* ravenscar-sparc-thread.c: Ditto.
|
||
* ravenscar-thread.c: Ditto.
|
||
* ravenscar-thread.h: Ditto.
|
||
* record.c: Ditto.
|
||
* regcache.c: Ditto.
|
||
* regcache.h: Ditto.
|
||
* remote.c: Ditto.
|
||
* remote-fileio.c: Ditto.
|
||
* remote-fileio.h: Ditto.
|
||
* remote.h: Ditto.
|
||
* remote-m32r-sdi.c: Ditto.
|
||
* remote-mips.c: Ditto.
|
||
* remote-sim.c: Ditto.
|
||
* rs6000-aix-tdep.c: Ditto.
|
||
* rs6000-nat.c: Ditto.
|
||
* rs6000-tdep.c: Ditto.
|
||
|
||
2011-01-10 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* charset.c (validate): Internationalization.
|
||
* coffread.c (read_one_sym): Ditto.
|
||
* dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
|
||
* h8300-tdep.c (H8300_extract_return_value): Ditto.
|
||
* inflow.c (new_tty): Ditto.
|
||
* iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
|
||
* m32c-tdep.c (m32c_return_value): Ditto.
|
||
* mep-tdep.c (mep_store_return_value): Ditto.
|
||
* score-tdep.c (score7_fetch_insn): Ditto.
|
||
* ser-mingw.c (pipe_windows_open): Ditto.
|
||
* sh64-tdep.c (sh64_extract_return_value): Ditto.
|
||
* spu-tdep.c (spu_register_type): Ditto.
|
||
* tracepoint.c (trace_find_command): Ditto.
|
||
* valarith.c (value_pos): Ditto.
|
||
|
||
2011-01-10 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-valprint.c (printstr): Minor comment reformatting.
|
||
|
||
2011-01-08 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
|
||
markup.
|
||
|
||
2011-01-08 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* h8300-tdep.c: Comment cleanup, mostly periods and spaces.
|
||
* hppa-hpux-tdep.c: Ditto.
|
||
* hppa-linux-nat.c: Ditto.
|
||
* hppa-linux-tdep.c: Ditto.
|
||
* hppanbsd-tdep.c: Ditto.
|
||
* hppa-tdep.c: Ditto.
|
||
* hppa-tdep.h: Ditto.
|
||
* hpux-thread.c: Ditto.
|
||
* i386-cygwin-tdep.c: Ditto.
|
||
* i386-darwin-nat.c: Ditto.
|
||
* i386gnu-nat.c: Ditto.
|
||
* i386-linux-nat.c: Ditto.
|
||
* i386-linux-tdep.c: Ditto.
|
||
* i386-nat.c: Ditto.
|
||
* i386-nat.h: Ditto.
|
||
* i386nbsd-tdep.c: Ditto.
|
||
* i386-sol2-nat.c: Ditto.
|
||
* i386-stub.c: Ditto.
|
||
* i386-tdep.c: Ditto.
|
||
* i386-tdep.h: Ditto.
|
||
* i387-tdep.c: Ditto.
|
||
* ia64-linux-nat.c: Ditto.
|
||
* ia64-linux-tdep.c: Ditto.
|
||
* ia64-tdep.c: Ditto.
|
||
* infcall.c: Ditto.
|
||
* infcall.h: Ditto.
|
||
* infcmd.c: Ditto.
|
||
* inferior.c: Ditto.
|
||
* inferior.h: Ditto.
|
||
* infloop.c: Ditto.
|
||
* inflow.c: Ditto.
|
||
* infrun.c: Ditto.
|
||
* interps.c: Ditto.
|
||
* interps.h: Ditto.
|
||
* iq2000-tdep.c: Ditto.
|
||
* irix5-nat.c: Ditto.
|
||
* jit.c: Ditto.
|
||
* jit.h: Ditto.
|
||
* jv-exp.y: Ditto.
|
||
* jv-lang.c: Ditto.
|
||
* jv-lang.h: Ditto.
|
||
* jv-typeprint.c: Ditto.
|
||
* jv-valprint.c: Ditto.
|
||
* language.c: Ditto.
|
||
* language.h: Ditto.
|
||
* linespec.c: Ditto.
|
||
* linux-fork.c: Ditto.
|
||
* linux-nat.c: Ditto.
|
||
* linux-thread-db.c: Ditto.
|
||
* lm32-tdep.c: Ditto.
|
||
|
||
2011-01-08 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* m2-exp.y: Comment cleanup, mostly periods and spaces.
|
||
* m2-lang.c: Ditto.
|
||
* m2-typeprint.c: Ditto.
|
||
* m2-valprint.c: Ditto.
|
||
* m32c-tdep.c: Ditto.
|
||
* m32r-linux-nat.c: Ditto.
|
||
* m32r-rom.c: Ditto.
|
||
* m32r-tdep.c: Ditto.
|
||
* m32r-tdep.h: Ditto.
|
||
* m68hc11-tdep.c: Ditto.
|
||
* m58klinux-nat.c: Ditto.
|
||
* m68k-tdep.c: Ditto.
|
||
* m88k-tdep.c: Ditto.
|
||
* m88k-tdep.h: Ditto.
|
||
* machoread.c: Ditto.
|
||
* macrocmd.c: Ditto.
|
||
* macroexp.c: Ditto.
|
||
* macrotab.c: Ditto.
|
||
* main.c: Ditto.
|
||
* maint.c: Ditto.
|
||
* mdebugread.c: Ditto.
|
||
* mdebugread.h: Ditto.
|
||
* memattr.c: Ditto.
|
||
* memattr.h: Ditto.
|
||
* memory-map.h: Ditto.
|
||
* mep-tdep.c: Ditto.
|
||
* microblaze-rom.c: Ditto.
|
||
* microblaze-tdep.c: Ditto.
|
||
* minsyms.c: Ditto.
|
||
* mips-irix-tdep.c: Ditto.
|
||
* mips-linux-nat.c: Ditto.
|
||
* mips-linux-tdep.c: Ditto.
|
||
* mips-linux-tdep.h: Ditto.
|
||
* mipsnbsd-nat.c: Ditto.
|
||
* mipsnbsd-tdep.c: Ditto.
|
||
* mipsread.c: Ditto.
|
||
* mips-tdep.c: Ditto.
|
||
* mips-tdep.h: Ditto.
|
||
* mn10300-linux-tdep.c: Ditto.
|
||
* mn10300-tdep.c: Ditto.
|
||
* mn10300-tdep.h: Ditto.
|
||
* monitor.c: Ditto.
|
||
* monitor.h: Ditto.
|
||
* moxie-tdep.c: Ditto.
|
||
* moxie-tdep.h: Ditto.
|
||
* mt-tdep.c: Ditto.
|
||
|
||
2011-01-08 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
|
||
|
||
2011-01-08 Robert Millan <rmh@gnu.org>
|
||
|
||
* fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
|
||
|
||
2011-01-07 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* charset.c (_initialize_charset): Fix typo in string.
|
||
|
||
2011-01-07 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
|
||
for i18n.
|
||
* tui/tui-layout.c (tui_set_layout_for_display_command):
|
||
Split line so that operator goes to beginning of line.
|
||
* tui/tui-winsource.c (tui_horizontal_source_scroll): Move
|
||
assignment out of if statement.
|
||
|
||
2011-01-07 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* ada-lang.c: Comment cleanup, mostly periods and spaces.
|
||
* ada-lang.h: Ditto.
|
||
* ada-tasks.c: Ditto.
|
||
* ada-valprint.c: Ditto.
|
||
* aix-threads.c: Ditto.
|
||
* alpha-linux-nat.c: Ditto.
|
||
* alpha-linux-tdep.c: Ditto.
|
||
* alpha-mdebug-tdep.c: Ditto.
|
||
* alpha-nat.c: Ditto.
|
||
* alpha-osf1-tdep.c: Ditto.
|
||
* alpha-tdep.c: Ditto.
|
||
* alphabsd-nat.c: Ditto.
|
||
* alphabsd-tdep.c: Ditto.
|
||
* amd64-darwin-tdep.c: Ditto.
|
||
* amd64-linux-nat.c: Ditto.
|
||
* amd64-linux-tdep.c: Ditto.
|
||
* amd64-sol2-tdep.c: Ditto.
|
||
* amd64-tdep.c: Ditto.
|
||
* amd64-fbsd-tdep.c: Ditto.
|
||
* amd64-nbsd-tdep.c: Ditto.
|
||
* amd64-obsd-tdep.c: Ditto.
|
||
* amd64-linux-nat.c: Ditto.
|
||
* amd64-linux-tdep.c: Ditto.
|
||
* arm-tdep.c: Ditto.
|
||
* arm-tdep.h: Ditto.
|
||
* armnbsd-nat.c: Ditto.
|
||
* avr-tdep.c: Ditto.
|
||
* bfin-tdep.c: Ditto.
|
||
* bsd-kvm.c: Ditto.
|
||
* c-typeprintc: Ditto.
|
||
* c-valprint.c: Ditto.
|
||
* coff-pe-read.h: Ditto.
|
||
* coffreead.c: Ditto.
|
||
* cris-tdep.c: Ditto.
|
||
* d-lang.c: Ditto.
|
||
* darwin-nat-info.c: Ditto.
|
||
* darwin-nat.c: Ditto.
|
||
* dbug-rom.c: Ditto.
|
||
* dbxread.c: Ditto.
|
||
* dcache.c: Ditto.
|
||
* dcache.h: Ditto.
|
||
* dec-thread.c: Ditto.
|
||
* defs.h: Ditto.
|
||
* demangle.c: Ditto.
|
||
* dicos-tdep.c: Ditto.
|
||
* dictionary.c: Ditto.
|
||
* dictionary.h: Ditto.
|
||
* dink32-rom.c: Ditto.
|
||
* disasm.c: Ditto.
|
||
* doublest.c: Ditto.
|
||
* dsrec.c: Ditto.
|
||
* dummy-frame.c: Ditto.
|
||
* dwarf2-frame.c: Ditto.
|
||
* dwarf2expr.c: Ditto.
|
||
* dwarf2loc.c: Ditto.
|
||
* dwarf2read.c: Ditto.
|
||
* elfread.c: Ditto.
|
||
* environ.c: Ditto.
|
||
* eval.c: Ditto.
|
||
* event-top.h: Ditto.
|
||
* exceptions.c: Ditto.
|
||
* exceptions.h: Ditto.
|
||
* exec.c: Ditto.
|
||
* expprint.c: Ditto.
|
||
* expression.h: Ditto.
|
||
* f-exp.y: Ditto.
|
||
* f-lang.c: Ditto.
|
||
* f-lang.h: Ditto.
|
||
* f-typeprint.c: Ditto.
|
||
* f-valprint.c: Ditto.
|
||
* fbsd-nat.c: Ditto.
|
||
* findvar.c: Ditto.
|
||
* fork-child.c: Ditto.
|
||
* frame.c: Ditto.
|
||
* frame.h: Ditto.
|
||
* frv-linux-tdep.c: Ditto.
|
||
* frv-tdep.c: Ditto.
|
||
* gcore.c: Ditto.
|
||
* gdb-stabs.h: Ditto.
|
||
* gdb_assert.h: Ditto.
|
||
* gdb_string.h: Ditto.
|
||
* gdb_thread_db.h: Ditto.
|
||
* gdb_wait.h: Ditto.
|
||
* gdbarch.sh: Ditto.
|
||
* gdbcore.h: Ditto.
|
||
* gdbthread.h: Ditto.
|
||
* gdbtypes.c: Ditto.
|
||
* gdbtypes.h: Ditto.
|
||
* gnu-nat.c: Ditto.
|
||
* gnu-nat.h: Ditto.
|
||
* gnu-v2-abi.c: Ditto.
|
||
* gnu-v3-abi.c: Ditto.
|
||
* go32-nat.c: Ditto.
|
||
* gdbarch.c: Regenerate.
|
||
* gdbarch.h: Regenerate.
|
||
|
||
2011-01-07 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* ax-gdb.c: Adjust some long output strings.
|
||
* breakpoint.c: Ditto.
|
||
* charset.c: Ditto.
|
||
* cp-abi.c: Ditto.
|
||
* infcall.c: Ditto.
|
||
* infrun.c: Ditto.
|
||
* linux-nat.c: Ditto.
|
||
* solib-pa64.c: Ditto.
|
||
* solib-som.c: Ditto.
|
||
|
||
2011-01-06 Tom Tromey <tromey@redhat.com>
|
||
|
||
PR python/12367:
|
||
* NEWS: Add item.
|
||
* python/python.c (GdbMethods): Add "newest_frame" method.
|
||
* python/python-internal.h (gdbpy_newest_frame): Declare.
|
||
* python/py-frame.c (gdbpy_newest_frame): New function.
|
||
|
||
2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||
|
||
* jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
|
||
* jit.c (jit_debug): New variable.
|
||
(show_jit_debug): New function.
|
||
(struct target_buffer): Use ULONGEST.
|
||
(bfd_open_from_target_memory): Likewise.
|
||
(jit_register_code, jit_inferior_init): Add debug output.
|
||
(_initialize_jit): Register "debug jit" command.
|
||
|
||
2011-01-06 Tom Tromey <tromey@redhat.com>
|
||
|
||
* frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
|
||
* python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
|
||
and ARCH_FRAME.
|
||
|
||
2011-01-06 Tom Tromey <tromey@redhat.com>
|
||
|
||
* python/py-frame.c (frapy_block): Use get_frame_block.
|
||
|
||
2011-01-06 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Do not stop on SIGPRIO signals by default
|
||
* infrun.c (_initialize_infrun): Unset signal_stop and
|
||
signal_print for TARGET_SIGNAL_PRIO.
|
||
|
||
2011-01-06 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* ada-tasks.c: Fix style violation in comment.
|
||
|
||
2011-01-06 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* linespec.c (decode_compound, find_method): Remove trailing \n
|
||
at end of error string.
|
||
* solib-irix.c (irix_current_sos): Likewise.
|
||
* varobj.c (uninstall_variable): Likewise.
|
||
|
||
2011-01-06 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* copyright.py: New script.
|
||
* copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
|
||
Launch emacs without exec'ing. Call copyright.py afterwards.
|
||
|
||
2011-01-05 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* addrmap.c: Shorten lines of >= 80 columns.
|
||
* arch-utils.c: Ditto.
|
||
* arch-utils.h: Ditto.
|
||
* ax-gdb.c: Ditto.
|
||
* ax-general.c: Ditto.
|
||
* bcache.c: Ditto.
|
||
* blockframe.c: Ditto.
|
||
* breakpoint.c: Ditto.
|
||
* buildsym.c: Ditto.
|
||
* c-lang.c: Ditto.
|
||
* c-typeprint.c: Ditto.
|
||
* charset.c: Ditto.
|
||
* coffread.c: Ditto.
|
||
* command.h: Ditto.
|
||
* corelow.c: Ditto.
|
||
* cp-abi.c: Ditto.
|
||
* cp-namespace.c: Ditto.
|
||
* cp-support.c: Ditto.
|
||
* dbug-rom.c: Ditto.
|
||
* dbxread.c: Ditto.
|
||
* defs.h: Ditto.
|
||
* dfp.c: Ditto.
|
||
* dfp.h: Ditto.
|
||
* dictionary.c: Ditto.
|
||
* disasm.c: Ditto.
|
||
* doublest.c: Ditto.
|
||
* dwarf2-frame.c: Ditto.
|
||
* dwarf2expr.c: Ditto.
|
||
* dwarf2loc.c: Ditto.
|
||
* dwarf2read.c: Ditto.
|
||
* elfread.c: Ditto.
|
||
* eval.c: Ditto.
|
||
* event-loop.c: Ditto.
|
||
* event-loop.h: Ditto.
|
||
* exceptions.h: Ditto.
|
||
* exec.c: Ditto.
|
||
* expprint.c: Ditto.
|
||
* expression.h: Ditto.
|
||
* f-lang.c: Ditto.
|
||
* f-valprint.c: Ditto.
|
||
* findcmd.c: Ditto.
|
||
* frame-base.c: Ditto.
|
||
* frame-unwind.c: Ditto.
|
||
* frame-unwind.h: Ditto.
|
||
* frame.c: Ditto.
|
||
* frame.h: Ditto.
|
||
* gcore.c: Ditto.
|
||
* gdb-stabs.h: Ditto.
|
||
* gdb_assert.h: Ditto.
|
||
* gdb_dirent.h: Ditto.
|
||
* gdb_obstack.h: Ditto.
|
||
* gdbcore.h: Ditto.
|
||
* gdbtypes.c: Ditto.
|
||
* gdbtypes.h: Ditto.
|
||
* inf-ttrace.c: Ditto.
|
||
* infcall.c: Ditto.
|
||
* infcmd.c: Ditto.
|
||
* inflow.c: Ditto.
|
||
* infrun.c: Ditto.
|
||
* inline-frame.h: Ditto.
|
||
* language.c: Ditto.
|
||
* language.h: Ditto.
|
||
* libunwind-frame.c: Ditto.
|
||
* libunwind-frame.h: Ditto.
|
||
* linespec.c: Ditto.
|
||
* linux-nat.c: Ditto.
|
||
* linux-nat.h: Ditto.
|
||
* linux-thread-db.c: Ditto.
|
||
* machoread.c: Ditto.
|
||
* macroexp.c: Ditto.
|
||
* macrotab.c: Ditto.
|
||
* main.c: Ditto.
|
||
* maint.c: Ditto.
|
||
* mdebugread.c: Ditto.
|
||
* memattr.c: Ditto.
|
||
* minsyms.c: Ditto.
|
||
* monitor.c: Ditto.
|
||
* monitor.h: Ditto.
|
||
* objfiles.c: Ditto.
|
||
* objfiles.h: Ditto.
|
||
* osabi.c: Ditto.
|
||
* p-typeprint.c: Ditto.
|
||
* p-valprint.c: Ditto.
|
||
* parse.c: Ditto.
|
||
* printcmd.c: Ditto.
|
||
* proc-events.c: Ditto.
|
||
* procfs.c: Ditto.
|
||
* progspace.c: Ditto.
|
||
* progspace.h: Ditto.
|
||
* psympriv.h: Ditto.
|
||
* psymtab.c: Ditto.
|
||
* record.c: Ditto.
|
||
* regcache.c: Ditto.
|
||
* regcache.h: Ditto.
|
||
* remote-fileio.c: Ditto.
|
||
* remote.c: Ditto.
|
||
* ser-mingw.c: Ditto.
|
||
* ser-tcp.c: Ditto.
|
||
* ser-unix.c: Ditto.
|
||
* serial.c: Ditto.
|
||
* serial.h: Ditto.
|
||
* solib-frv.c: Ditto.
|
||
* solib-irix.c: Ditto.
|
||
* solib-osf.c: Ditto.
|
||
* solib-pa64.c: Ditto.
|
||
* solib-som.c: Ditto.
|
||
* solib-sunos.c: Ditto.
|
||
* solib-svr4.c: Ditto.
|
||
* solib-target.c: Ditto.
|
||
* solib.c: Ditto.
|
||
* somread.c: Ditto.
|
||
* source.c: Ditto.
|
||
* stabsread.c: Ditto.
|
||
* stabsread.c: Ditto.
|
||
* stack.c: Ditto.
|
||
* stack.h: Ditto.
|
||
* symfile-mem.c: Ditto.
|
||
* symfile.c: Ditto.
|
||
* symfile.h: Ditto.
|
||
* symmisc.c: Ditto.
|
||
* symtab.c: Ditto.
|
||
* symtab.h: Ditto.
|
||
* target-descriptions.c: Ditto.
|
||
* target-memory.c: Ditto.
|
||
* target.c: Ditto.
|
||
* target.h: Ditto.
|
||
* terminal.h: Ditto.
|
||
* thread.c: Ditto.
|
||
* top.c: Ditto.
|
||
* tracepoint.c: Ditto.
|
||
* tracepoint.h: Ditto.
|
||
* ui-file.c: Ditto.
|
||
* ui-file.h: Ditto.
|
||
* ui-out.h: Ditto.
|
||
* user-regs.c: Ditto.
|
||
* user-regs.h: Ditto.
|
||
* utils.c: Ditto.
|
||
* valarith.c: Ditto.
|
||
* valops.c: Ditto.
|
||
* valprint.c: Ditto.
|
||
* valprint.h: Ditto.
|
||
* value.c: Ditto.
|
||
* varobj.c: Ditto.
|
||
* varobj.h: Ditto.
|
||
* vec.h: Ditto.
|
||
* xcoffread.c: Ditto.
|
||
* xcoffsolib.c: Ditto.
|
||
* xcoffsolib.h: Ditto.
|
||
* xml-syscall.c: Ditto.
|
||
* xml-tdesc.c: Ditto.
|
||
|
||
2011-01-05 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* cli/cli-cmds.c: Shorten lines of >= 80 columns.
|
||
* cli/cli-decode.c: Ditto.
|
||
* cli/cli-dump.c: Ditto.
|
||
* cli/cli-logging.c: Ditto.
|
||
* cli/cli-script.c: Ditto.
|
||
* cli/cli-setshow.c: Ditto.
|
||
* common/signals.c: Ditto.
|
||
* mi/mi-cmd-break.c: Ditto.
|
||
* mi/mi-cmd-disas.c: Ditto.
|
||
* mi/mi-cmd-stack.c: Ditto.
|
||
* mi/mi-cmd-var.c: Ditto.
|
||
* mi/mi-cmds.c: Ditto.
|
||
* mi/mi-common.h: Ditto.
|
||
* mi/mi-console.c: Ditto.
|
||
* mi/mi-interp.c: Ditto.
|
||
* mi/mi-main.c: Ditto.
|
||
* osf-share/cma_attr.c: Ditto.
|
||
* osf-share/cma_deb_core.h: Ditto.
|
||
* osf-share/cma_debug_client.h: Ditto.
|
||
* osf-share/cma_handle.h: Ditto.
|
||
* osf-share/cma_mutex.h: Ditto.
|
||
* osf-share/cma_stack_int.h: Ditto.
|
||
* osf-share/cma_tcb_defs.h: Ditto.
|
||
* python/py-auto-load.c: Ditto.
|
||
* python/py-breakpoint.c: Ditto.
|
||
* python/py-cmd.c: Ditto.
|
||
* python/py-frame.c: Ditto.
|
||
* python/py-objfile.c: Ditto.
|
||
* python/py-param.c: Ditto.
|
||
* python/py-progspace.c: Ditto.
|
||
* python/py-symbol.c: Ditto.
|
||
* python/py-value.c: Ditto.
|
||
* python/python-internal.h: Ditto.
|
||
* python/python.c: Ditto.
|
||
* tui/tui-data.c: Ditto.
|
||
* tui/tui-disasm.c: Ditto.
|
||
* tui/tui-hooks.c: Ditto.
|
||
* tui/tui-io.c: Ditto.
|
||
* tui/tui-layout.c: Ditto.
|
||
* tui/tui-regs.c: Ditto.
|
||
* tui/tui-source.c: Ditto.
|
||
* tui/tui-stack.c: Ditto.
|
||
* tui/tui-win.c: Ditto.
|
||
* tui/tui-windata.c: Ditto.
|
||
* tui/tui-winsource.c: Ditto.
|
||
|
||
2011-01-05 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* configure.ac, gdb.1: Copyright year update.
|
||
|
||
2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
|
||
this_pc_in_block, morestack_msym and morestack_name. Check for
|
||
"__morestack" minimal symbol there.
|
||
|
||
2011-01-03 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* symfile.c (find_sym_fns): Add call to dont_repeat.
|
||
|
||
2011-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
Copyright year update in most files (performed by copyright.sh).
|
||
|
||
2011-01-01 Joel Brobecker <brobecker@adacore.com>
|
||
|
||
* top.c (print_gdb_version): Update copyright year in version output.
|
||
|
||
For older changes see ChangeLog-2010.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
coding: utf-8
|
||
End:
|