X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=b18b598254eee119dd295c9ffdc4de1d14236e21;hb=98751a4113ee63e980f4a6fa199151f7da617f1f;hp=1591aa621c2a513beef8ad45dcd9f1aad3276128;hpb=bb08c4320780f40a8a5210164fe5f13df795460c;p=binutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1591aa621c2..b18b598254e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,245 @@ +2010-06-28 Jan Kratochvil + + * c-typeprint.c (c_type_print_base): For no fields check include also + TYPE_TYPEDEF_FIELD_COUNT. Print new typedefs section. + * dwarf2read.c (struct typedef_field_list) + (struct field_info) : New. + (dwarf2_add_typedef): New. + (read_structure_type): Call dwarf2_add_typedef for DW_TAG_typedef. + Copy also FI.TYPEDEF_FIELD_LIST. + * gdbtypes.h (struct typedef_field) + (struct cplus_struct_type) + (TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_NAME) + (TYPE_TYPEDEF_FIELD_TYPE, TYPE_TYPEDEF_FIELD_COUNT): New. + +2010-06-28 Jan Kratochvil + + * cp-namespace.c (cp_lookup_nested_type): New variable + concatenated_name. Turn the current return condition into a reverse + one. Call also lookup_static_symbol_aux on the constructed qualified + name. + * symtab.c (lookup_symbol_aux): Move variable objfile and searching in + other files into a called ... + (lookup_static_symbol_aux): ... new function here. + * symtab.h (lookup_static_symbol_aux): New prototype. + * valops.c (value_maybe_namespace_elt): Call also + lookup_static_symbol_aux if we failed otherwise. + +2010-06-28 Jan Kratochvil + + Fix PR c++/11703 and PR gdb/1448. + * c-exp.y (yylex) : Add + FIRST_ITER check. + +2010-06-28 Jan Kratochvil + + Fix modification of cplus_struct_default. + * dwarf2read.c (dwarf2_add_member_fn) : + Call ALLOCATE_CPLUS_STRUCT_TYPE. + * gdbtypes.c (cplus_struct_default): New empty initializer, comment it. + +2010-06-28 Joel Brobecker + + * NEWS: Add entry announcing the python directory. + +2010-06-28 Tom Tromey + + * dwarf2read.c (read_structure_type): Allocate null cleanup later. + +2010-06-28 Doug Evans + + * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused. + All callers updated. + +2010-06-28 Jan Kratochvil + + * cp-valprint.c (cp_print_value_fields) : Call + obstack_begin after each obstack_free. + +2010-06-27 Doug Evans + + * value.c (value_static_field): Use `switch' instead of `if'. + Assert-fail if passed invalid TYPE_FIELD_LOC_KIND. + + * valops.c (search_struct_field): Fix typo in error message. + +2010-06-26 Ulrich Weigand + + * dwarf2expr.c (execute_stack_op): Place preprocessor + directives at the start of the source line. + +2010-06-25 Paul Hilfinger + + * defs.h (make_command_stats_cleanup): Declare. + (set_display_time): Declare. + (set_display_space): Declare. + * event-top.c (command_handler): Use make_command_stats_cleanup. + * main.c (display_time, display_space): Move definitions to utils.c. + (captured_main): Use make_command_stats_cleanup to get start-up + statistics. + Use set_display_time and set_display_space for processing OPT_STATISTICS + case. + * maint.c (maintenance_time_display): Use set_display_time. + (maintenance_space_display): Use set_display_space. + * top.c (execute_command): Remove obsolete 'maint time' code. + (command_loop): Use make_command_stats_cleanup. + * utils.c (struct cmd_stats): Structure for storing initial time + and space usage. + (display_time, display_space): Move definitions here from utils.c. + (set_display_time): New function. + (set_display_space): New function. + (make_command_stats_cleanup): New function. + (report_command_stats): New auxiliary function for + make_command_stats_cleanup. + +2010-06-25 Ulrich Weigand + + * solib-spu.c (append_ocl_sos): Fix xsnprintf statement for + hosts where CORE_ADDR is long long. + +2010-06-25 Tom Tromey + + PR python/10808: + * python/python.c (execute_gdb_command): Add keywords. Accept + "to_string" argument. + (struct restore_ui_file_closure): New. + (restore_ui_file): New function. + (make_cleanup_restore_ui_file): Likewise. + (GdbMethods) : Update. + +2010-06-25 Ulrich Weigand + + * s390-tdep.c (s390_push_dummy_call): Error on stack overflow + during inferior call stack frame setup. + +2010-06-25 Ken Werner + + * solib-spu.c: Include "exception.h". + (ocl_program_data_key): New variable. + (append_ocl_sos): New function. + (ocl_enable_break): Likewise. + (spu_current_sos): Call append_ocl_sos. + (spu_solib_loaded): Call ocl_enable_break. + (_initialize_spu_solib): Register ocl_program_data_key. + +2010-06-25 Ulrich Weigand + + * cp-support.c (reset_directive_searched): New function. + (make_symbol_overload_list_using): Prevent recursive calls. + +2010-06-25 Phil Muldoon + + * printcmd.c (print_variable_and_value): Print error message on + caught exception. + +2010-06-25 Ulrich Weigand + + * dwarf2expr.h (struct dwarf_value_location): Use ULONGEST as type + of stack values. + (struct dwarf_expr_piece): Rename "expr" member to "mem". Add new + "value" member. + (dwarf_expr_push): Change input type to ULONGEST. + (dwarf_expr_fetch): Change return type to ULONGEST. + (dwarf_expr_fetch_address): Add prototype. + (dwarf2_read_address): Remove prototype. + * dwarf2expr.c (dwarf_expr_push): Use ULONGEST as type of stack values. + Truncate stack values to ctx->addr_size bytes. + (dwarf_expr_fetch): Change return value to ULONGEST. + (dwarf_expr_fetch_address): New function. + (add_piece): Use dwarf_expr_fetch_address instead of dwarf_expr_fetch + when appropriate. Update for struct dwarf_expr_piece changes. + (dwarf2_read_address): Remove. + (unsigned_address_type): Remove. + (signed_address_type): Remove. + (execute_stack_op): Use dwarf_expr_fetch_address instead of + dwarf_expr_fetch when appropriate. Use ULONGEST as type of stack + values. Perform operations on ULONGEST instead of on GDB values, + sign-extending from ctx->addr_size bytes as needed. Read DW_OP_addr + values and DW_OP_deref results as unsigned integers. + * dwarf2loc.c (read_pieced_value): Update for struct dwarf_expr_piece + changes. + (write_pieced_value): Likewise. + (dwarf2_evaluate_loc_desc): Use dwarf_expr_fetch_address instead of + dwarf_expr_fetch when appropriate. + (compile_dwarf_to_ax): Read DW_OP_addr values as unsigned integers. + * dwarf2-frame.c (execute_stack_op): Use dwarf_expr_fetch_address + instead of dwarf_expr_fetch when appropriate. + +2010-06-25 Pierre Muller + + * c-typeprint.c (c_print_typedef): Append new type name for typedefs. + +2010-06-24 Joel Brobecker + + * python/python.c (_initialize_python): Add new "constant" + PYTHONDIR in gdb module. Insert this path at the head of + sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and + exec its __init__.py script if it exists in that directory. + +2010-06-24 Kevin Buettner + + * rx-tdep.c (RX_ACC_REGNUM): Define. + (RX_NUM_REGS): Redefine to 26. + (rx_register_name): Add register "acc". Change order of several + registers. Change name of "vct" register to "fintv" to match RX + documentation. + (rx_register_type): Add case for RX_ACC_REGNUM. + +2010-06-24 Tom Tromey + + * psymtab.c (lookup_partial_symbol): Mark definition as static. + +2010-06-24 Jan Kratochvil + Tom Tromey + + Fix GDB startup on readonly filesystem. + * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init. + +2010-06-24 Jan Kratochvil + Pedro Alves + + Fix PR 9436. + * breakpoint.c (handle_jit_event): New function. + (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl, + jit, err, table and bs_class. New variables shlib_event, jit_event, + this_action and bptype. Change bs_class assignments to this_action + assignments. new unhandled bptype internal error. Move here + shlib_event and jit_event handling from handle_inferior_event. + * breakpoint.h (enum bpstat_what_main_action): Extend the comment. + Reorder items. Remove BPSTAT_WHAT_CHECK_SHLIBS and + BPSTAT_WHAT_CHECK_JIT. + * inferior.h (debug_infrun, stop_on_solib_events): New declarations. + * infrun.c (debug_infrun, stop_on_solib_events): Remove static. + (handle_inferior_event): Reinitialize frame and gdbarch after + bpstat_what call. Move BPSTAT_WHAT_CHECK_SHLIBS and + BPSTAT_WHAT_CHECK_JIT handling to bpstat_what. Reinitialize even + gdbarch when frame gets reinitialized. + +2010-06-24 Hui Zhu + + * printcmd.c (ui_printf): New function. + (printf_command): Call ui_printf. + (_initialize_printcmd): New command "eval". + +2010-06-23 Ulrich Weigand + + * infrun.c (handle_inferior_event): Handle presence of single-step + breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED. + Cancel single-step breakpoints for TARGET_WAITKIND_EXITED, + TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD. + * breakpoint.c (detach_single_step_breakpoints): New function. + (detach_breakpoints): Call it. + (cancel_single_step_breakpoints): New function. + * breakpoint.h (cancel_single_step_breakpoints): Add prototype. + + * spu-tdep.c (spu_memory_remove_breakpoint): New function. + (spu_gdbarch_init): Install it. + +2010-06-23 Jan Kratochvil + + * configure.ac: Always set RDYNAMIC at least as `-rdynamic'. + * configure: Regenerate. + 2010-06-22 Hui Zhu * i386-tdep.c (i386_record_lea_modrm): Change warning to query. @@ -5919,7 +6161,7 @@ PR gdb/9067 * cp-valprint.c (cp_print_value_fields) Fix use of obstacks. - cp_print_static_field) Fix use of obstacks. + (cp_print_static_field) Fix use of obstacks. 2010-02-08 Pedro Alves