2011-03-11 20:38:57 +00:00
|
|
|
|
2011-03-11 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-12 22:59:24 +00:00
|
|
|
|
* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
|
|
|
|
|
* cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
|
|
|
|
|
(lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
|
|
|
|
|
* completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
|
|
|
|
|
* top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
|
|
|
|
|
|
2011-03-11 22:31:44 +00:00
|
|
|
|
* event-loop-c (delete_async_signal_handler): Assert prev_ptr.
|
|
|
|
|
(delete_async_event_handler): Ditto.
|
|
|
|
|
|
2011-03-11 22:01:30 +00:00
|
|
|
|
* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
|
|
|
|
|
|
2011-03-11 21:34:34 +00:00
|
|
|
|
* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
|
|
|
|
|
|
2011-03-11 20:38:57 +00:00
|
|
|
|
* top.c (set_verbose): Assert showcmd was found.
|
|
|
|
|
|
2011-03-11 18:37:45 +00:00
|
|
|
|
2011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.c (warning_once): Correct style issues.
|
|
|
|
|
|
2011-03-11 14:48:55 +00:00
|
|
|
|
2011-03-11 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
|
|
|
|
|
|
2011-03-11 10:11:36 +00:00
|
|
|
|
2011-03-11 Andreas Schwab <schwab@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common/aclocal.m4: Remove.
|
|
|
|
|
|
2011-03-11 02:33:27 +00:00
|
|
|
|
2011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.c (windowing_enabled): Remove inline attribute.
|
|
|
|
|
(xtensa_write_register, xtensa_read_register): Likewise.
|
|
|
|
|
(xtensa_hextochar): Removed.
|
|
|
|
|
(xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
|
|
|
|
|
|
2011-03-11 00:21:42 +00:00
|
|
|
|
2011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.c (xtensa_c0reg_t): Update comments.
|
2011-03-11 00:26:50 +00:00
|
|
|
|
(xtensa_call0_frame_cache_t): Update comments. New fields added.
|
2011-03-11 00:21:42 +00:00
|
|
|
|
(xtensa_alloc_frame_cache): Add initialization for new fields.
|
|
|
|
|
(xtensa_frame_cache): Change the way how call0_frame_cache () is called.
|
|
|
|
|
(warning_once): New function.
|
|
|
|
|
(xtensa_insn_kind): New item c0opc_and.
|
|
|
|
|
(call0_classify_opcode): Add the case for AND instruction.
|
2011-03-11 00:26:50 +00:00
|
|
|
|
(call0_track_op): Change arguments. New local variable litbase.
|
|
|
|
|
Add the case to handle c0opc_and. Update algorithms for c0opc_mov,
|
|
|
|
|
c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments
|
|
|
|
|
in the prologue.
|
2011-03-11 00:21:42 +00:00
|
|
|
|
Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
|
2011-03-11 00:26:50 +00:00
|
|
|
|
(call0_analyze_prologue): Update the comments. Change arguments.
|
2011-03-11 00:21:42 +00:00
|
|
|
|
Add the variety of updates to handle extended prologues, which now can
|
|
|
|
|
conduct dynamic stack adjustments.
|
|
|
|
|
(call0_frame_cache): Likewise.
|
|
|
|
|
(xtensa_skip_prologue): Update call0_analyze_prologue () function call.
|
|
|
|
|
(xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
|
|
|
|
|
|
2011-03-10 20:09:18 +00:00
|
|
|
|
2011-03-10 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-10 20:21:14 +00:00
|
|
|
|
* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
|
|
|
|
|
(cmd_qtframe): Ditto.
|
|
|
|
|
(cmd_qtbuffer): Ditto.
|
|
|
|
|
(cmd_bigqtbuffer): Ditto.
|
|
|
|
|
|
2011-03-10 20:18:42 +00:00
|
|
|
|
* gdbserver/tracepoint.c (tracepoint_finish_step): Fix
|
|
|
|
|
loop variable.
|
|
|
|
|
|
2011-03-10 20:09:18 +00:00
|
|
|
|
* gdbserver/server.c (handle_v_run): Free alloced buffer on early
|
|
|
|
|
return.
|
|
|
|
|
|
2011-03-10 18:33:59 +00:00
|
|
|
|
2011-03-10 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tracepoint.c (trace_actions_command): Update.
|
|
|
|
|
* thread.c (thread_apply_command): Update.
|
|
|
|
|
* reverse.c (delete_bookmark_command): Update.
|
|
|
|
|
(bookmarks_info): Update.
|
|
|
|
|
* printcmd.c (undisplay_command): Update.
|
|
|
|
|
* memattr.c (mem_enable_command): Update.
|
|
|
|
|
(mem_disable_command): Update.
|
|
|
|
|
(mem_delete_command): Update.
|
|
|
|
|
* inferior.c (detach_inferior_command): Update.
|
|
|
|
|
(kill_inferior_command): Update.
|
|
|
|
|
(remove_inferior_command): Update.
|
|
|
|
|
* cli/cli-utils.h (struct get_number_or_range_state): New.
|
|
|
|
|
(init_number_or_range): Declare.
|
|
|
|
|
(get_number_or_range): Update.
|
|
|
|
|
* cli/cli-utils.c (init_number_or_range): New function.
|
|
|
|
|
(get_number_or_range): Change 'pp' parameter to 'state'. Remove
|
|
|
|
|
static variables.
|
|
|
|
|
(number_is_in_list): Update.
|
|
|
|
|
* breakpoint.h (get_tracepoint_by_number): Update.
|
|
|
|
|
* breakpoint.c (map_breakpoint_numbers): Update for change to
|
|
|
|
|
get_number_or_range.
|
|
|
|
|
(find_location_by_number): Use get_number, not
|
|
|
|
|
get_number_or_range.
|
|
|
|
|
(trace_pass_set_count): New function.
|
|
|
|
|
(trace_pass_command): Update for change to get_number_or_range.
|
|
|
|
|
Rework loop logic.
|
|
|
|
|
(get_tracepoint_by_number): Remove 'multi_p' parameter; add
|
|
|
|
|
'state' parameter.
|
|
|
|
|
|
2011-03-10 12:29:08 +00:00
|
|
|
|
2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
|
|
|
|
|
|
|
|
|
|
* python/py-param.c (add_setshow_generic): Add set/show callback
|
|
|
|
|
parameters. Register Python object context.
|
|
|
|
|
(get_show_value): New function.
|
|
|
|
|
(get_set_value): New function.
|
|
|
|
|
(call_doc_function): New function.
|
|
|
|
|
(get_doc_string): Move behind get_show_value/get_set_value.
|
|
|
|
|
|
2011-03-10 11:29:54 +00:00
|
|
|
|
2011-03-10 Andreas Tobler <andreast-list@fgznet.ch>
|
|
|
|
|
|
|
|
|
|
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
|
|
|
|
|
|
2011-03-10 00:15:23 +00:00
|
|
|
|
2011-03-09 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
2011-03-11 00:21:42 +00:00
|
|
|
|
* xtensa-tdep.c (xtensa_read_register): Add comment.
|
2011-03-10 00:15:23 +00:00
|
|
|
|
(xtensa_write_register): Likewise.
|
|
|
|
|
(xtensa_hextochar): Add comment and update to match coding conventions.
|
|
|
|
|
(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
|
|
|
|
|
(execute_l32e, execute_s32e, execute_code): Update comments.
|
|
|
|
|
(xtensa_exception_handler_t): Update to match coding conventions.
|
|
|
|
|
(xtensa_insn_kind): Likewise.
|
|
|
|
|
|
2011-03-09 20:31:50 +00:00
|
|
|
|
2011-03-09 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
|
|
|
|
|
|
2011-03-09 15:01:36 +00:00
|
|
|
|
2011-03-09 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
|
|
|
|
|
|
2011-03-09 14:22:09 +00:00
|
|
|
|
2011-03-09 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* thread.c (restore_selected_frame): Handle frame_level == -1.
|
|
|
|
|
(make_cleanup_restore_current_thread): Use
|
|
|
|
|
get_selected_frame_if_set.
|
|
|
|
|
* frame.h (get_selected_frame_if_set): Declare.
|
|
|
|
|
* frame.c (get_selected_frame_if_set): New function.
|
|
|
|
|
|
2011-03-09 12:48:56 +00:00
|
|
|
|
2011-03-09 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* cli/cli-cmds.c (shell_escape): Use lbasename.
|
|
|
|
|
* coffread.c (coff_start_symtab): Constify parameter.
|
|
|
|
|
(complete_symtab): Constify `name' parameter.
|
|
|
|
|
(coff_symtab_read): Constify `filestring' local.
|
|
|
|
|
(coff_getfilename): Constify return and `result' local.
|
|
|
|
|
Use lbasename.
|
|
|
|
|
* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
|
|
|
|
|
* linux-fork.c (info_checkpoints_command): Use lbasename.
|
|
|
|
|
* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
|
|
|
|
|
* minsyms.c (lookup_minimal_symbol): Use lbasename.
|
|
|
|
|
* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
|
|
|
|
|
* procfs.c (procfs_make_note_section): Use lbasename.
|
|
|
|
|
* tui/tui-io.c (printable_part): Constity return and parameter.
|
|
|
|
|
Use lbasename.
|
|
|
|
|
(print_filename): Constify parameters, and local `s'.
|
|
|
|
|
(tui_rl_display_match_list): Constify local `temp'.
|
|
|
|
|
|
2011-03-09 07:07:55 +00:00
|
|
|
|
2011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Fix DWARF-3+ DW_AT_accessibility default assumption.
|
|
|
|
|
* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
|
|
|
|
|
cu->header.version >= 3.
|
|
|
|
|
|
2011-03-09 06:24:07 +00:00
|
|
|
|
2011-03-09 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/Makefile.in: Remove.
|
|
|
|
|
* common/configure: Remove.
|
|
|
|
|
* common/configure.ac: Remove.
|
|
|
|
|
|
2011-03-09 06:10:40 +00:00
|
|
|
|
2011-03-09 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2011-02-11 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/Makefile.in: Add copyright header.
|
|
|
|
|
|
|
|
|
|
2011-02-11 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Remove signals.o from COMMON_OBS. Link
|
|
|
|
|
libcommon.a.
|
|
|
|
|
* configure.ac: Add common to sub dir.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-03-09 03:28:36 +00:00
|
|
|
|
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.c (call0_ret): New function.
|
|
|
|
|
(xtensa_skip_prologue): Speed up analysis.
|
|
|
|
|
|
2011-03-09 02:56:23 +00:00
|
|
|
|
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
|
|
|
|
|
while executing MI command -data-list-changed-registers.
|
|
|
|
|
|
2011-03-09 02:25:12 +00:00
|
|
|
|
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.c (xtensa_read_register): New function.
|
|
|
|
|
(xtensa_write_register): New function.
|
|
|
|
|
(xtensa_find_register_by_name): New function.
|
|
|
|
|
(xtensa_windowed_frame_cache): Update comments in type description.
|
|
|
|
|
(xtensa_frame_cache): Likewise.
|
|
|
|
|
(xtensa_window_interrupt_insn): New function.
|
|
|
|
|
(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
|
|
|
|
|
(xtensa_insn_kind): Add new instructions.
|
|
|
|
|
(rwx_special_register): New function.
|
|
|
|
|
(call0_classify_opcode): Add new instructions to the analysis.
|
|
|
|
|
(a0_saved, a7_saved, a11_saved): New variables.
|
|
|
|
|
(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
|
|
|
|
|
(execute_l32e): New function.
|
|
|
|
|
(execute_s32e): New function.
|
|
|
|
|
(xtensa_exception_handler_t): New type.
|
|
|
|
|
(execute_code): New function.
|
|
|
|
|
(xtensa_window_interrupt_frame_cache): New function to conduct frame
|
|
|
|
|
analysis for Xtensa Window Exception handlers.
|
|
|
|
|
|
2011-03-08 23:04:07 +00:00
|
|
|
|
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
2011-03-09 00:55:09 +00:00
|
|
|
|
* xtensa-tdep.c (TX_PS): New.
|
|
|
|
|
(windowing_enabled): Update to count for Call0 ABI.
|
|
|
|
|
(xtensa_hextochar): New.
|
|
|
|
|
(xtensa_init_reggroups): Make algorithm generic.
|
|
|
|
|
(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
|
|
|
|
|
|
|
|
|
|
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
|
|
|
|
|
|
|
|
|
|
* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update.
|
2011-03-08 23:04:07 +00:00
|
|
|
|
|
2011-03-08 18:49:16 +00:00
|
|
|
|
2011-03-08 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-08 23:08:55 +00:00
|
|
|
|
* i386-tdep.c (i386_follow_jump): Check return value of
|
|
|
|
|
target_read_memory.
|
|
|
|
|
(i386_analyze_struct_return): Ditto.
|
|
|
|
|
(i386_skip_probe): Ditto.
|
|
|
|
|
(i386_match_insn): Ditto.
|
|
|
|
|
(i386_skip_noop): Ditto.
|
|
|
|
|
(i386_analyze_frame_setup): Ditto.
|
|
|
|
|
(i386_analyze_register_saves): Ditto.
|
|
|
|
|
(i386_skip_prologue): Ditto.
|
|
|
|
|
(i386_skip_main_prologue): Ditto.
|
|
|
|
|
|
2011-03-08 18:58:54 +00:00
|
|
|
|
* target.c (read_whatever_is_readable): Fix memory leak.
|
|
|
|
|
|
2011-03-08 18:49:16 +00:00
|
|
|
|
* i386-tdep.c (i386_process_record): Document fall through.
|
|
|
|
|
|
2011-03-08 17:54:44 +00:00
|
|
|
|
2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix DWARF-3+ DW_AT_accessibility default assumption.
|
|
|
|
|
* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
|
|
|
|
|
cu->header.version >= 3.
|
|
|
|
|
|
2011-03-08 12:46:52 +00:00
|
|
|
|
2011-03-08 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_check_symbols): Skip if the target has no
|
|
|
|
|
execution.
|
|
|
|
|
|
2011-03-08 04:53:36 +00:00
|
|
|
|
2011-03-08 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* target.c (read_whatever_is_readable): Reformat comment,
|
|
|
|
|
with a minor typo fix. Minor reformatting of the code.
|
|
|
|
|
|
2011-03-08 Yao Qi <yao@codesourcery.com>
* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
(displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
Use cached result instead of calling displaced_in_arm_mode again.
(branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
(displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
(cleanup_copro_load_store, copy_copro_load_store): Likewise.
(cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
(cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
(copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
(copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
(cleanup_block_load_all, cleanup_block_store_pc): Likewise.
(cleanup_block_load_pc, copy_block_xfer): Likewise.
* arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
(arm_catch_kernel_helper_return): Likewise.
* gdb/arm-tdep.h : Update function declarations.
2011-03-08 01:04:35 +00:00
|
|
|
|
2011-03-08 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
|
|
|
|
|
(displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
|
|
|
|
|
Use cached result instead of calling displaced_in_arm_mode again.
|
|
|
|
|
(branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
|
|
|
|
|
(displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
|
|
|
|
|
(cleanup_copro_load_store, copy_copro_load_store): Likewise.
|
|
|
|
|
(cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
|
|
|
|
|
(cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
|
|
|
|
|
(copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
|
|
|
|
|
(copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
|
|
|
|
|
(cleanup_block_load_all, cleanup_block_store_pc): Likewise.
|
|
|
|
|
(cleanup_block_load_pc, copy_block_xfer): Likewise.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
|
|
|
|
|
(arm_catch_kernel_helper_return): Likewise.
|
|
|
|
|
* gdb/arm-tdep.h : Update function declarations.
|
|
|
|
|
|
2011-03-08 18:49:16 +00:00
|
|
|
|
2011-03-07 Michael Snyder <msnyder@vmware.com>
|
2011-03-07 18:34:31 +00:00
|
|
|
|
|
2011-03-07 20:06:12 +00:00
|
|
|
|
* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
|
|
|
|
|
|
2011-03-07 19:53:34 +00:00
|
|
|
|
* ser-unix.c (hardwire_get_tty_state): Stop memory leak.
|
|
|
|
|
|
2011-03-07 19:50:22 +00:00
|
|
|
|
* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
|
|
|
|
|
|
2011-03-07 19:44:19 +00:00
|
|
|
|
* elfread.c (elf_symtab_read): Stop memory leak.
|
|
|
|
|
|
2011-03-07 18:34:31 +00:00
|
|
|
|
* main.c (captured_main): Fix memory leak.
|
|
|
|
|
|
2011-03-07 18:29:13 +00:00
|
|
|
|
2011-03-07 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (compare_names): Call is_name_suffix with string1
|
|
|
|
|
instead of string2.
|
|
|
|
|
|
2011-03-07 16:17:29 +00:00
|
|
|
|
2011-03-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* xcoffread.c (xcoff_sym_fns): Update.
|
|
|
|
|
* symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
|
|
|
|
|
(enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
|
|
|
|
|
* symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
|
|
|
|
|
(symbol_file_add_with_addrs_or_offsets): Likewise.
|
|
|
|
|
(reread_symbols): Handle OBJF_PSYMTABS_READ.
|
|
|
|
|
* somread.c (som_sym_fns): Update.
|
|
|
|
|
* psymtab.h (require_partial_symbols): Declare.
|
|
|
|
|
* psymtab.c (require_partial_symbols): New function.
|
|
|
|
|
(ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
|
|
|
|
|
(ALL_OBJFILE_PSYMTABS): Undef.
|
|
|
|
|
(ALL_PSYMTABS): Move from psympriv.h.
|
|
|
|
|
(lookup_partial_symtab, find_pc_sect_psymtab)
|
|
|
|
|
(lookup_symbol_aux_psymtabs, relocate_psymtabs)
|
|
|
|
|
(find_last_source_symtab_from_partial)
|
|
|
|
|
(forget_cached_source_info_partial)
|
|
|
|
|
(print_psymtab_stats_for_objfile, read_symtabs_for_function)
|
|
|
|
|
(expand_partial_symbol_tables, read_psymtabs_with_filename)
|
|
|
|
|
(map_symbol_names_psymtab, map_symbol_filenames_psymtab)
|
|
|
|
|
(find_symbol_file_from_partial, map_matching_symbols_psymtab)
|
|
|
|
|
(expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
|
|
|
|
|
Use ALL_OBJFILE_PSYMTABS_REQUIRED.
|
|
|
|
|
* psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
|
|
|
|
|
* objfiles.h (OBJF_PSYMTABS_READ): New macro.
|
|
|
|
|
* objfiles.c (objfile_has_partial_symbols): Handle lazily-read
|
|
|
|
|
psymtabs.
|
|
|
|
|
* mipsread.c (ecoff_sym_fns): Update.
|
|
|
|
|
* machoread.c (macho_sym_fns): Update.
|
|
|
|
|
* elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
|
|
|
|
|
(read_psyms): New function.
|
|
|
|
|
(elf_sym_fns, elf_sym_fns_gdb_index): Update.
|
|
|
|
|
(elf_sym_fns_lazy_psyms): New global.
|
|
|
|
|
* dwarf2read.c (dwarf2_initialize_objfile): Don't call
|
|
|
|
|
dwarf2_build_psymtabs.
|
|
|
|
|
* dbxread.c (aout_sym_fns): Update.
|
|
|
|
|
* coffread.c (coff_sym_fns): Update.
|
|
|
|
|
|
2011-03-07 16:03:04 +00:00
|
|
|
|
2011-03-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infrun.c (print_exited_reason): Include inferior id and pid in
|
|
|
|
|
message.
|
|
|
|
|
|
2011-03-07 15:58:13 +00:00
|
|
|
|
2011-03-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* target.h (struct target_ops) <to_has_execution>: Add ptid_t
|
|
|
|
|
parameter.
|
|
|
|
|
(target_has_execution_1): Update.
|
|
|
|
|
(target_has_execution_current): Declare.
|
|
|
|
|
(target_has_execution): Call target_has_execution_current.
|
|
|
|
|
(default_child_has_execution): Update.
|
|
|
|
|
* target.c (default_child_has_execution): Add 'the_ptid'
|
|
|
|
|
parameter.
|
|
|
|
|
(target_has_execution_1): Likewise.
|
|
|
|
|
(target_has_execution_current): New function.
|
|
|
|
|
(add_target): Update.
|
|
|
|
|
(init_dummy_target): Update.
|
|
|
|
|
* remote-m32r-sdi.c (m32r_has_execution): New function.
|
|
|
|
|
(init_m32r_ops): Use it.
|
|
|
|
|
* record.c (record_core_has_execution): Now static. Add
|
|
|
|
|
'the_ptid' parameter.
|
|
|
|
|
* inferior.c (have_live_inferiors): Don't save current thread.
|
|
|
|
|
Use target_has_execution_1.
|
|
|
|
|
|
2011-03-07 11:42:54 +00:00
|
|
|
|
2011-03-07 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
|
|
|
|
|
|
2011-03-07 11:13:08 +00:00
|
|
|
|
2011-03-07 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* elfread.c (elf_symtab_read): Minor reformatting.
|
|
|
|
|
|
2011-03-07 10:41:34 +00:00
|
|
|
|
2011-03-07 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c (selectors_info): Minor reformatting.
|
|
|
|
|
|
2011-03-07 10:05:20 +00:00
|
|
|
|
2011-03-07 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (compare_names): Add FALLTHROUGH comment.
|
|
|
|
|
|
2011-03-07 08:57:09 +00:00
|
|
|
|
2011-03-07 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* ada-valprint.c (ada_val_print_array): Move the declaration of
|
|
|
|
|
"byte_order" and "elttype" inside the block where these variables
|
|
|
|
|
are actually used. Remove some special handling for the case
|
|
|
|
|
where "elttype" and "eltlen" are null. Replace by a comment
|
|
|
|
|
and a couple of assertion checks.
|
|
|
|
|
|
2011-03-06 01:32:47 +00:00
|
|
|
|
2011-03-05 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* source.c (add_path): Replace semicolon at end of block.
|
|
|
|
|
* dwarf2expr.c (execute_stack_op): Ditto.
|
|
|
|
|
|
2011-03-06 00:22:38 +00:00
|
|
|
|
2011-03-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h.
|
|
|
|
|
* configure.tgt (bfin-*-*linux*): Define gdb_sim.
|
|
|
|
|
(bfin-*-*): Likewise.
|
|
|
|
|
|
2011-03-05 21:21:32 +00:00
|
|
|
|
2011-03-05 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-05 22:02:47 +00:00
|
|
|
|
* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
|
|
|
|
|
* mdebugread.c (parse_symbol): Ditto.
|
|
|
|
|
* parse.c (parse_exp_in_context): Ditto.
|
|
|
|
|
* source.c (add_path): Ditto.
|
|
|
|
|
* utils.c (gnu_debuglink_crc32): Ditto.
|
|
|
|
|
* varobj.c (variable_language): Ditto.
|
|
|
|
|
|
2011-03-05 21:21:32 +00:00
|
|
|
|
* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
|
|
|
|
|
|
2011-03-04 21:55:45 +00:00
|
|
|
|
2011-03-04 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-05 01:12:05 +00:00
|
|
|
|
* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
|
|
|
|
|
|
2011-03-05 00:52:41 +00:00
|
|
|
|
* symfile.c (simple_overlay_update): Check for null return value
|
|
|
|
|
from lookup_minimal_symbol.
|
|
|
|
|
|
2011-03-05 00:21:10 +00:00
|
|
|
|
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
|
|
|
|
|
|
2011-03-04 21:55:45 +00:00
|
|
|
|
* xml-syscall.c (syscall_start_syscall): Assert name is non null.
|
|
|
|
|
|
2011-03-04 20:07:22 +00:00
|
|
|
|
2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
|
|
|
|
|
|
|
|
|
* eval.c (parse_and_eval_address_1): Remove function.
|
|
|
|
|
* linespec.c (decode_indirect): Call parse_to_comma_and_eval
|
|
|
|
|
instead of parse_and_eval_address_1.
|
|
|
|
|
* value.h (parse_and_eval_address_1): Remove prototype.
|
|
|
|
|
|
2011-03-04 20:02:50 +00:00
|
|
|
|
2011-03-04 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (putpkt_binary): Document that case stmt falls through.
|
|
|
|
|
|
2011-03-04 20:00:34 +00:00
|
|
|
|
2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
|
|
|
|
|
|
|
|
|
* breakpointc (print_it_typical): Move NULL check from here...
|
|
|
|
|
(print_bp_stop_message): ... to here.
|
|
|
|
|
|
2011-03-04 19:57:31 +00:00
|
|
|
|
2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (enable_command): Use break instead of continue,
|
|
|
|
|
and fill in a missing break.
|
|
|
|
|
(disable_command): Ditto.
|
|
|
|
|
|
2011-03-04 19:23:42 +00:00
|
|
|
|
2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
|
|
|
|
|
(terminal_save_ours): Remove misleading comment.
|
|
|
|
|
(inflow_inferior_data_cleanup): Free ttystate.
|
|
|
|
|
(inflow_inferior_exit): Likewise.
|
|
|
|
|
(copy_terminal_info): Copy ttystate.
|
|
|
|
|
|
|
|
|
|
* serial.c (serial_copy_tty_state): New function.
|
|
|
|
|
* serial.h (serial_copy_tty_state): Add prototype.
|
|
|
|
|
(struct serial_ops): Add copy_tty_state callback.
|
|
|
|
|
* ser-base.c (ser_base_copy_tty_state): New function.
|
|
|
|
|
* ser-base.h (ser_base_copy_tty_state): Add prototype.
|
|
|
|
|
* ser-go32.c (dos_copy_tty_state): New function.
|
|
|
|
|
(dos_ops): Install copy_tty_state callback.
|
|
|
|
|
* ser-mingw.c (_initialize_ser_windows): Likewise.
|
|
|
|
|
* ser-pipe.c (_initialize_ser_pipe): Likewise.
|
|
|
|
|
* ser-unix.c (hardwire_copy_tty_state): New function.
|
|
|
|
|
(_initialize_ser_hardwire): Install it.
|
|
|
|
|
|
2011-03-04 18:20:43 +00:00
|
|
|
|
2011-03-04 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-04 18:58:22 +00:00
|
|
|
|
* breakpoint.c (create_breakpoint): Add missing break statement.
|
|
|
|
|
|
2011-03-04 18:31:22 +00:00
|
|
|
|
Reverting this patch:
|
|
|
|
|
* infcall.c (call_function_by_hand): Add break statements for lint.
|
|
|
|
|
|
2011-03-04 18:20:43 +00:00
|
|
|
|
Reverting this patch:
|
|
|
|
|
* cli/cli-script.c (script_from_file): Add break for lint.
|
|
|
|
|
|
2011-03-04 18:02:54 +00:00
|
|
|
|
2011-03-04 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* solib.c (reload_shared_libraries_1): Close memory leak.
|
|
|
|
|
|
2011-03-03 17:33:40 +00:00
|
|
|
|
2011-03-03 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gdb/12538:
|
|
|
|
|
* dwarf2read.c (process_psymtab_comp_unit): Handle case where
|
|
|
|
|
DW_STRING is NULL.
|
|
|
|
|
|
2011-03-03 17:28:45 +00:00
|
|
|
|
2011-03-03 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-03 18:35:32 +00:00
|
|
|
|
* remote-fileio.c (remote_fileio_func_fstat): Initialize all
|
|
|
|
|
fields of struct 'st' to zero.
|
|
|
|
|
|
2011-03-03 17:28:45 +00:00
|
|
|
|
* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
|
|
|
|
|
sal.pspace before calling set_current_source_symtab_and_line.
|
|
|
|
|
|
2011-03-03 04:16:33 +00:00
|
|
|
|
2011-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (configure-common): Remove. Let Makefile
|
|
|
|
|
in dir common to rebuild itself.
|
|
|
|
|
(common/Makefile): Likewise.
|
|
|
|
|
|
2011-03-03 03:51:30 +00:00
|
|
|
|
2011-03-03 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* utils.c (parse_escape): Add i18n markup in error message.
|
|
|
|
|
|
2011-03-03 02:18:24 +00:00
|
|
|
|
2011-03-03 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with
|
|
|
|
|
ARM_PC_REGNUM.
|
|
|
|
|
(thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise.
|
|
|
|
|
(displaced_write_reg, displaced_read_reg): Likewise.
|
|
|
|
|
(copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise.
|
|
|
|
|
(cleanup_block_load_pc, copy_block_xfer): Likewise.
|
|
|
|
|
(cleanup_branch): Replace magic number 14 and 15 with
|
|
|
|
|
ARM_LR_REGNUM and ARM_PC_REGNUM respectively.
|
|
|
|
|
|
2011-03-02 18:09:11 +00:00
|
|
|
|
2011-03-02 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-03 01:15:45 +00:00
|
|
|
|
* maint.c (maintenance_do_deprecate): No need to check for NULL.
|
|
|
|
|
|
2011-03-03 00:14:00 +00:00
|
|
|
|
* cli/cli-script.c (script_from_file): Add break for lint.
|
|
|
|
|
|
2011-03-02 23:54:16 +00:00
|
|
|
|
* mdebugread.c (parse_partial_symbols): Fix indent.
|
|
|
|
|
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
|
2011-03-02 23:40:42 +00:00
|
|
|
|
with xmalloc.
|
|
|
|
|
|
2011-03-02 23:14:32 +00:00
|
|
|
|
* target-descriptions.c (tdesc_gdb_type): No need to call
|
|
|
|
|
xstrdup, callee saves a copy.
|
|
|
|
|
|
2011-03-02 22:56:44 +00:00
|
|
|
|
* printcmd.c (print_scalar_formatted): Use strncpy for safety.
|
|
|
|
|
|
2011-03-02 22:21:45 +00:00
|
|
|
|
* infcall.c (call_function_by_hand): Add break statements for lint.
|
|
|
|
|
|
2011-03-02 22:11:27 +00:00
|
|
|
|
* utils.c (parse_escape): Escape the escape char.
|
|
|
|
|
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* python/py-inferior.c (build_inferior_list): Error out if
|
2011-03-02 21:19:54 +00:00
|
|
|
|
PyList_Append fails.
|
|
|
|
|
(gdbpy_inferiors): Error out if build_inferior_list fails.
|
|
|
|
|
|
2011-03-02 18:27:41 +00:00
|
|
|
|
* linux-nat.c (linux_nat_xfer_partial): Preserve errno around
|
|
|
|
|
a function call.
|
|
|
|
|
|
2011-03-02 18:09:11 +00:00
|
|
|
|
* record.c (record_restore): Move printf to before error return.
|
|
|
|
|
|
2011-03-02 05:33:37 +00:00
|
|
|
|
2011-03-02 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.h (struct displaced_step_closure): Add two new fields
|
|
|
|
|
is_thumb and insn_size.
|
|
|
|
|
* arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset
|
|
|
|
|
on both ARM and Thumb mode.
|
|
|
|
|
(arm_process_displaced_insn): Set is_thumb and insn_size.
|
|
|
|
|
(arm_displaced_init_closure): Handle both 16-bit and 32-bit.
|
|
|
|
|
(arm_displaced_step_fixup): Likewise.
|
|
|
|
|
|
2011-03-01 18:51:06 +00:00
|
|
|
|
2011-03-01 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-02 01:09:52 +00:00
|
|
|
|
* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
|
|
|
|
|
|
2011-03-02 00:42:53 +00:00
|
|
|
|
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
|
|
|
|
|
|
2011-03-02 00:37:29 +00:00
|
|
|
|
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
|
|
|
|
|
|
2011-03-01 23:42:44 +00:00
|
|
|
|
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
|
|
|
|
|
|
2011-03-01 23:07:40 +00:00
|
|
|
|
* ada-lang.c (ada_make_symbol_completion_list): Replace malloc
|
|
|
|
|
with xmalloc.
|
|
|
|
|
|
2011-03-01 22:42:33 +00:00
|
|
|
|
* ada-lang.c (aggregate_assign_others): Rename inner scope variable
|
|
|
|
|
which shadows function parameter.
|
|
|
|
|
|
2011-03-01 22:24:30 +00:00
|
|
|
|
* tracepoint.c (create_tsv_from_upload): Superfluous call
|
|
|
|
|
to xstrdup. Callee already calls xstrdup.
|
|
|
|
|
|
2011-03-01 22:16:40 +00:00
|
|
|
|
* linespec.c (decode_line_1): Remove unnecessary null check.
|
|
|
|
|
|
2011-03-01 22:13:48 +00:00
|
|
|
|
* tracepoint.c (scope_info): Fix mem leak, remove underused
|
|
|
|
|
variable.
|
|
|
|
|
|
2011-03-01 21:54:53 +00:00
|
|
|
|
* python/py-prettyprint.c (apply_val_pretty_printer): Remove
|
|
|
|
|
superfluous null check.
|
|
|
|
|
|
2011-03-01 21:46:42 +00:00
|
|
|
|
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
|
2011-03-01 21:51:35 +00:00
|
|
|
|
(value_of_builtin_frame_fp_reg): Ditto.
|
2011-03-01 21:46:42 +00:00
|
|
|
|
|
2011-03-01 21:12:27 +00:00
|
|
|
|
* event-top.c (display_gdb_prompt): Remove superfluous null check.
|
|
|
|
|
|
2011-03-01 21:03:22 +00:00
|
|
|
|
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
|
|
|
|
|
be null.
|
|
|
|
|
|
2011-03-01 20:57:52 +00:00
|
|
|
|
* linespec.c (decode_line_1): Check for null before dereference.
|
|
|
|
|
|
2011-03-01 20:24:48 +00:00
|
|
|
|
* reverse.c (record_restore): Move null-check to before pointer
|
|
|
|
|
dereference.
|
|
|
|
|
|
2011-03-01 19:00:16 +00:00
|
|
|
|
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
|
|
|
|
|
|
2011-03-01 18:51:06 +00:00
|
|
|
|
* objc-lang.c (selectors_info): Add explanitory comment.
|
|
|
|
|
(classes_info): Ditto.
|
|
|
|
|
|
2011-03-01 18:20:23 +00:00
|
|
|
|
2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org>
|
|
|
|
|
|
|
|
|
|
* arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
|
|
|
|
|
(arm_linux_restart_syscall_init): Handle both on-stack and in-kernel
|
|
|
|
|
versions of the trampoline. Handle Thumb vs. ARM addresses.
|
|
|
|
|
(arm_kernel_linux_restart_syscall_tramp_frame): New global.
|
|
|
|
|
(arm_linux_init_abi): Install it.
|
|
|
|
|
* arm-tdep.c (arm_psr_thumb_bit): Make global.
|
|
|
|
|
* arm-tdep.c (arm_psr_thumb_bit): Add prototype.
|
|
|
|
|
|
2011-02-28 22:11:02 +00:00
|
|
|
|
2011-02-28 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-01 02:31:27 +00:00
|
|
|
|
* ui-out.c (ui_out_field_core_addr): Make local char buffer
|
|
|
|
|
a little bigger, to avoid possibility of an overflow.
|
|
|
|
|
|
2011-03-01 02:16:56 +00:00
|
|
|
|
* breakpoint.c (breakpoint_adjustment_warning): Make local char
|
|
|
|
|
buffers a little bigger, to avoid possibility of an overflow.
|
|
|
|
|
|
2011-03-01 01:58:33 +00:00
|
|
|
|
* coffread.c (coff_getfilename): Add check to avoid overflow.
|
|
|
|
|
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* objc-lang.c (selectors_info): Add a small safety margin to
|
2011-03-01 01:44:24 +00:00
|
|
|
|
avoid overflow.
|
|
|
|
|
(classes_info): Error out on too long REGEXP.
|
|
|
|
|
|
2011-03-01 01:00:31 +00:00
|
|
|
|
* infrun.c (handle_inferior_event): Remove unused function call.
|
|
|
|
|
|
2011-03-01 00:52:19 +00:00
|
|
|
|
* fork-child.c (fork_inferior): Remove ifdef'd code and
|
|
|
|
|
unused variable.
|
|
|
|
|
|
2011-03-01 00:46:09 +00:00
|
|
|
|
* linux-thread-db.c (attach_thread): Discard unused value.
|
|
|
|
|
|
2011-03-01 00:40:22 +00:00
|
|
|
|
* linux-nat.c (linux_handle_extended_wait): Delete unused variable.
|
|
|
|
|
|
2011-03-01 00:34:27 +00:00
|
|
|
|
* remote.c (remote_get_noisy_reply): Discard unused value.
|
|
|
|
|
(remote_vcont_resume): Ditto.
|
|
|
|
|
(remote_stop_ns): Ditto.
|
|
|
|
|
|
2011-03-01 00:26:14 +00:00
|
|
|
|
* linespec.c (decode_objc): Delete unused variable.
|
|
|
|
|
|
2011-03-01 00:11:07 +00:00
|
|
|
|
* tui/tui-regs.c (tui_register_format): Delete unused variable.
|
|
|
|
|
|
2011-03-01 00:07:20 +00:00
|
|
|
|
* dwarf2read.c (add_partial_symbol): Discard unused values.
|
|
|
|
|
(read_base_type): Delete unused variable.
|
|
|
|
|
|
2011-02-28 23:55:18 +00:00
|
|
|
|
* dbxread.c (read_dbx_symtab): Discard unused value.
|
|
|
|
|
|
2011-02-28 23:47:39 +00:00
|
|
|
|
* eval.c (evaluate_subexp_standard): Delete unused variable,
|
|
|
|
|
and discard unused values.
|
|
|
|
|
|
2011-02-28 23:37:07 +00:00
|
|
|
|
* infcmd.c (_initialize_infcmd): Discard unused values.
|
|
|
|
|
|
2011-02-28 23:32:27 +00:00
|
|
|
|
* stabsread.c (rs6000_builtin_type): Missing break statement.
|
|
|
|
|
|
2011-02-28 23:23:05 +00:00
|
|
|
|
* dbxread.c (process_one_symbol): Discard unused value.
|
|
|
|
|
|
2011-02-28 23:17:07 +00:00
|
|
|
|
* coffread.c (coff_end_symtab): Delete unused variable.
|
|
|
|
|
|
2011-02-28 23:12:56 +00:00
|
|
|
|
* dwarf2read.c (dw2_get_file_names): Discard unused value.
|
|
|
|
|
(dwarf2_add_typedef): Delete unused variable.
|
|
|
|
|
(read_namespace): Ditto.
|
|
|
|
|
(dwarf_decode_macros): Ditto.
|
|
|
|
|
|
2011-02-28 22:55:06 +00:00
|
|
|
|
* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
|
|
|
|
|
|
2011-02-28 22:49:57 +00:00
|
|
|
|
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
|
|
|
|
|
|
2011-02-28 22:45:16 +00:00
|
|
|
|
* p-valprint.c (pascal_val_print): Discard unused value.
|
|
|
|
|
|
2011-02-28 22:20:05 +00:00
|
|
|
|
* utils.c (nquery): Call va_end before return;
|
|
|
|
|
(yquery): Ditto.
|
|
|
|
|
(query): Ditto.
|
|
|
|
|
|
2011-02-28 22:11:02 +00:00
|
|
|
|
* proc-service.c (ps_plog): Call va_end before return.
|
|
|
|
|
|
2011-02-28 19:38:34 +00:00
|
|
|
|
2011-02-28 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* python/python.c (gdbpy_value_cst): New global.
|
|
|
|
|
(_initialize_python): Initialize it.
|
|
|
|
|
* python/python-internal.h (gdbpy_value_cst): Declare.
|
|
|
|
|
* python/py-value.c (convert_value_from_python): Use
|
|
|
|
|
gdbpy_value_cst.
|
|
|
|
|
|
2011-02-28 18:31:36 +00:00
|
|
|
|
2011-02-28 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-02-28 18:55:22 +00:00
|
|
|
|
* python/py-cmd.c (cmdpy_init): Fix memory leak.
|
|
|
|
|
|
2011-02-28 18:48:18 +00:00
|
|
|
|
* breakpoint.c (catch_syscall_completer): Free malloced list.
|
|
|
|
|
|
2011-02-28 18:43:27 +00:00
|
|
|
|
* jv-lang.c (java_primitive_type_from_name): Add missing break.
|
|
|
|
|
|
2011-02-28 18:40:31 +00:00
|
|
|
|
* opencl-lang.c (lval_func_check_validity): Rename inner variables.
|
|
|
|
|
(lval_func_check_synthetic_pointer): Ditto.
|
|
|
|
|
(lval_func_free_closure): Fix use-after-free.
|
2011-02-28 18:31:36 +00:00
|
|
|
|
|
2011-02-28 18:16:59 +00:00
|
|
|
|
2011-02-28 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* psymtab.c (expand_partial_symbol_tables): Use
|
|
|
|
|
ALL_OBJFILE_PSYMTABS.
|
|
|
|
|
|
2011-02-28 18:14:34 +00:00
|
|
|
|
2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c (selectors_info): Error on too long REGEXP.
|
|
|
|
|
|
2011-02-28 18:10:30 +00:00
|
|
|
|
2011-02-28 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-02-28 18:28:19 +00:00
|
|
|
|
* python/py-param.c (set_parameter_value): Add missing
|
|
|
|
|
break statement.
|
|
|
|
|
|
2011-02-28 18:10:30 +00:00
|
|
|
|
* linux-record.c (record_linux_system_call): Add missing
|
|
|
|
|
break statement.
|
|
|
|
|
|
2011-02-28 16:20:21 +00:00
|
|
|
|
2011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (print_one_breakpoint_location): Remove unused
|
|
|
|
|
argument PRINT_ADDRESS_BITS. Update callers.
|
|
|
|
|
(print_one_breakpoint): Likewise.
|
|
|
|
|
|
2011-02-28 15:21:21 +00:00
|
|
|
|
2011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (wrap_indent_at_field): New function.
|
|
|
|
|
(print_breakpoint_location): Use it instead of WRAP_INDENT argument.
|
|
|
|
|
Allocate ui_stream locally instead of using STB argument.
|
|
|
|
|
(print_one_breakpoint_location): Update call.
|
|
|
|
|
* ui-out.c (ui_out_query_field): New function.
|
|
|
|
|
* ui-out.h (ui_out_query_field): Add prototype.
|
|
|
|
|
|
2011-02-28 04:33:26 +00:00
|
|
|
|
2011-02-28 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
From Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
* ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.
|
|
|
|
|
|
2011-02-27 21:24:27 +00:00
|
|
|
|
2011-02-27 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-02-28 02:14:50 +00:00
|
|
|
|
* objc-lang.c (selectors_info): Prevent string overrun.
|
|
|
|
|
|
2011-02-28 00:20:49 +00:00
|
|
|
|
* tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
|
|
|
|
|
error in strncpy.
|
|
|
|
|
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* symtab.c (rbreak_command): Move variable 'file_name' to
|
2011-02-27 22:11:06 +00:00
|
|
|
|
outer scope.
|
|
|
|
|
|
2011-02-27 21:24:27 +00:00
|
|
|
|
* d-valprint.c (dynamic_array_type): Avoid shadowing a function
|
|
|
|
|
param with a local variable of the same name.
|
|
|
|
|
|
2011-02-27 20:57:16 +00:00
|
|
|
|
2011-02-27 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* value.c (value_from_history_ref): New function.
|
|
|
|
|
* value.h (value_from_history_ref): Export.
|
|
|
|
|
* cli/cli-utils.c (get_number_trailer): Use value_from_history_ref
|
|
|
|
|
to parse value history references.
|
|
|
|
|
* cli/cli-utils.h (get_number_trailer): Update comment.
|
|
|
|
|
|
|
|
|
|
2011-02-27 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* inferior.c (detach_inferior_command): Use get_number_or_range.
|
|
|
|
|
(kill_inferior_command): Ditto.
|
|
|
|
|
(remove_inferior_command): Ditto.
|
|
|
|
|
(initialize_inferiors): Make command names plural.
|
|
|
|
|
Update help strings.
|
|
|
|
|
|
2011-02-27 16:25:38 +00:00
|
|
|
|
2011-02-27 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* darwin-nat-info.c: Fix comment typo.
|
|
|
|
|
* dwarf2expr.h: Ditto.
|
|
|
|
|
* fbsd-nat.c: Ditto.
|
|
|
|
|
* fbsd-nat.h: Ditto.
|
|
|
|
|
* frame-unwind.h: Ditto.
|
|
|
|
|
* frame.h: Ditto.
|
|
|
|
|
* hppa-hpux-tdep.c: Ditto.
|
|
|
|
|
* i386-linux-nat.c: Ditto.
|
|
|
|
|
* linux-nat.c: Ditto.
|
|
|
|
|
* nbsd-nat.c: Ditto.
|
|
|
|
|
* nbsd-nat.h: Ditto.
|
|
|
|
|
* ppc-linux-tdep.c: Ditto.
|
|
|
|
|
* serial.c: Ditto.
|
|
|
|
|
* ui-file.h: Ditto.
|
|
|
|
|
* tui/tui-winsource.c: Ditto.
|
|
|
|
|
|
2011-02-26 19:41:35 +00:00
|
|
|
|
2011-02-26 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-02-27 01:54:30 +00:00
|
|
|
|
* breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file).
|
|
|
|
|
|
2011-02-27 00:59:07 +00:00
|
|
|
|
* maint.c (maintenance_do_deprecate): Plug a memory leak.
|
|
|
|
|
|
2011-02-27 00:01:12 +00:00
|
|
|
|
* dwarf2loc.c (insert_bits): Avoid shadowing a function param
|
|
|
|
|
with a local variable of the same name.
|
|
|
|
|
|
2011-02-26 23:49:19 +00:00
|
|
|
|
* i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function
|
2011-02-26 23:45:01 +00:00
|
|
|
|
param with a local variable of the same name.
|
2011-02-26 23:49:19 +00:00
|
|
|
|
(i387_supply_xsave): Ditto.
|
2011-02-26 23:45:01 +00:00
|
|
|
|
|
2011-02-26 23:34:44 +00:00
|
|
|
|
* linux-low.c (linux_nat_xfer_osdata): Rename local variable so
|
|
|
|
|
that it does not shadow a function parameter.
|
|
|
|
|
|
2011-02-26 22:04:51 +00:00
|
|
|
|
* i386-nat.c (i386_length_and_rw_bits): Document that case
|
|
|
|
|
statement is meant to fall through.
|
|
|
|
|
|
2011-02-26 21:50:41 +00:00
|
|
|
|
* expprint.c (dump_subexp_body_standard): Document that case
|
|
|
|
|
statement is meant to fall through.
|
|
|
|
|
|
2011-02-26 19:41:35 +00:00
|
|
|
|
* amd64-linux-tdep.c (amd64_linux_syscall_record): Delete
|
|
|
|
|
dead if statement. Condition can't be false.
|
|
|
|
|
|
2011-02-26 02:07:10 +00:00
|
|
|
|
2011-02-25 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c: Fix typos in comments.
|
|
|
|
|
* bsd-uthread.c: Ditto.
|
|
|
|
|
* completer.c: Ditto.
|
|
|
|
|
* corelow.c: Ditto.
|
|
|
|
|
* cp-namespace.c: Ditto.
|
|
|
|
|
* cp-support.c: Ditto.
|
|
|
|
|
* cris-tdep.c: Ditto.
|
|
|
|
|
* dbxread.c: Ditto.
|
|
|
|
|
* dwarf2read.c: Ditto.
|
|
|
|
|
* frame.h: Ditto.
|
|
|
|
|
* gdbtypes.h: Ditto.
|
|
|
|
|
* inferior.h: Ditto.
|
|
|
|
|
* mdebugread.c: Ditto.
|
|
|
|
|
* mips-tdep.c: Ditto.
|
|
|
|
|
* ppc-linux-nat.c: Ditto.
|
|
|
|
|
* ppc-linux-tdep.c: Ditto.
|
|
|
|
|
* printcmd.c: Ditto.
|
|
|
|
|
* sol-thread.c: Ditto.
|
|
|
|
|
* solib-frv.c: Ditto.
|
|
|
|
|
* solist.h: Ditto.
|
|
|
|
|
* sparc64-tdep.c: Ditto.
|
|
|
|
|
* spu-tdep.c: Ditto.
|
|
|
|
|
* stabsread.c: Ditto.
|
|
|
|
|
* symfile.c: Ditto.
|
|
|
|
|
* valops.c: Ditto.
|
|
|
|
|
* varobj.c: Ditto.
|
|
|
|
|
* vax-nat.c: Ditto.
|
|
|
|
|
* python/py-block.c: Ditto.
|
|
|
|
|
* python/py-symbol.c: Ditto.
|
|
|
|
|
* python/py-symtab.c: Ditto.
|
|
|
|
|
* python/py-value.c: Ditto.
|
|
|
|
|
* tui/tui-win.c: Ditto.
|
|
|
|
|
|
2011-02-25 19:19:26 +00:00
|
|
|
|
2011-02-25 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* inferior.c (print_inferior): Accept a string instead of an int
|
|
|
|
|
for requested_inferiors, and use get_number_or_range to parse it.
|
|
|
|
|
(info_inferiors_command): Pass args string to print_inferior.
|
|
|
|
|
(initialize_inferiors): Change help string for info inferiors.
|
|
|
|
|
* inferior.h (print_inferior): Export prototype change.
|
|
|
|
|
|
2011-02-25 14:21:05 +00:00
|
|
|
|
2011-02-25 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common/ax.def (invalid2): Set to 0x31.
|
|
|
|
|
|
2011-02-25 08:35:36 +00:00
|
|
|
|
2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use
|
|
|
|
|
L and plongest.
|
|
|
|
|
(disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset,
|
|
|
|
|
use L and plongest.
|
|
|
|
|
(disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest.
|
|
|
|
|
|
2011-02-24 18:09:51 +00:00
|
|
|
|
2011-02-24 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (clean): Make clean should remove generated files
|
|
|
|
|
observer.h and observer.inc.
|
|
|
|
|
|
2011-02-24 07:39:48 +00:00
|
|
|
|
2011-02-24 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
Revert the following patch (not approved yet):
|
|
|
|
|
2011-02-21 Hui Zhu <teawater@gmail.com>
|
|
|
|
|
* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
|
|
|
|
|
* ax-gdb.c (gen_printf_expr_callback): New function.
|
|
|
|
|
* ax-gdb.h (gen_printf_expr_callback): Forward declare.
|
|
|
|
|
* ax-general.c (ax_memcpy): New function.
|
|
|
|
|
(ax_print): Handle "printf".
|
|
|
|
|
(ax_reqs): Ditto.
|
|
|
|
|
* ax.h (ax_memcpy): Forward declare.
|
|
|
|
|
* common/ax.def (invalid2): Removed.
|
|
|
|
|
(printf): New entry.
|
|
|
|
|
* printcmd.c (printcmd.h): New include.
|
|
|
|
|
(string_printf): New function.
|
|
|
|
|
(ui_printf): Removed.
|
|
|
|
|
(printf_command): Remove static. Call string_printf.
|
|
|
|
|
(eval_command): Call string_printf.
|
|
|
|
|
* printcmd.h: New file.
|
|
|
|
|
* tracepoint.c (validate_actionline,
|
|
|
|
|
encode_actions_1): handle printf_command.
|
|
|
|
|
|
2011-02-23 21:02:47 +00:00
|
|
|
|
2011-02-23 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ax-general.c (ax_pick): Add missing newline.
|
|
|
|
|
|
2011-02-23 19:20:39 +00:00
|
|
|
|
2011-02-23 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (breakpoint_1): Change first argument from an int
|
|
|
|
|
to a char pointer, so that the function now accepts a list of
|
2011-03-11 10:11:36 +00:00
|
|
|
|
breakpoints rather than just one. Use new function
|
2011-02-23 19:20:39 +00:00
|
|
|
|
'number_is_in_list' to implement.
|
|
|
|
|
(breakpoints_info): Pass char * instead of int to breakpoint_1.
|
|
|
|
|
(watchpoints_info): Ditto.
|
|
|
|
|
(tracepoints_info): Ditto.
|
|
|
|
|
(maintenance_info_breakpoints): Ditto.
|
|
|
|
|
(_initialize_breakpoint): Update help strings to reflect the fact
|
|
|
|
|
that these functions can now take more than one argument.
|
|
|
|
|
* cli/cli-utils.c (number_is_in_list): New function.
|
|
|
|
|
* cli/cli-utils.h (number_is_in_list): Export.
|
|
|
|
|
|
|
|
|
|
2011-02-23 Michael Snyder <msnyder@vmware.com>
|
2011-02-23 18:30:22 +00:00
|
|
|
|
|
|
|
|
|
* memattr.c (mem_enable_command): Use get_number_or_range.
|
|
|
|
|
(mem_disable_command): Ditto.
|
|
|
|
|
(mem_delete_command): Ditto.
|
|
|
|
|
(_initialize_mem): Tweak usage message to reflect multiple
|
|
|
|
|
arguments.
|
|
|
|
|
|
2011-02-22 22:48:12 +00:00
|
|
|
|
2011-02-22 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
Add gdb.lookup_global_symbol python function.
|
|
|
|
|
* NEWS: Add entry.
|
|
|
|
|
* python/py-symbol.c (gdbpy_lookup_global_symbol): New function.
|
|
|
|
|
* python/python-internal.h (gdbpy_lookup_global_symbol): Declare it.
|
|
|
|
|
* python/python.c (GdbMethods): Add entry for lookup_global_symbol.
|
|
|
|
|
|
2011-02-22 18:53:45 +00:00
|
|
|
|
2011-02-22 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* language.c (language_class_name_from_physname): Rename
|
|
|
|
|
'curr_language' argument to 'lang'; use in body.
|
|
|
|
|
|
2011-02-22 18:45:05 +00:00
|
|
|
|
2011-02-22 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* cli/cli-utils.c (number_is_in_list): Check for zero return.
|
|
|
|
|
|
2011-02-22 17:51:24 +00:00
|
|
|
|
2011-02-22 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* frame-unwind.h: Fix comment to mention the this frame, not the
|
|
|
|
|
next.
|
|
|
|
|
|
2011-02-22 15:58:37 +00:00
|
|
|
|
2011-02-22 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symfile.c (auto_solib_limit): Remove.
|
|
|
|
|
* symfile.h (auto_solib_limit): Remove.
|
|
|
|
|
|
2011-02-22 08:00:25 +00:00
|
|
|
|
2011-02-22 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (INSTALLED_LIBS): Delete. Update comment.
|
|
|
|
|
|
2011-02-21 23:40:47 +00:00
|
|
|
|
2011-02-21 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* gdbthread.h (print_thread_info): Change prototype.
|
|
|
|
|
* thread.c (print_thread_info): Accept char* instead of int for
|
|
|
|
|
requested_threads argument. Use new function number_is_in_list
|
|
|
|
|
to determine which threads to list.
|
|
|
|
|
(info_threads_command): Pass char* to print_thread_info.
|
|
|
|
|
* cli/cli-utils.c (number_is_in_list): New function.
|
|
|
|
|
* cli/cli-utils.h (number_is_in_list): Export.
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* mi/mi-main.c (mi_cmd_thread_info): Pass char* to
|
2011-02-21 23:40:47 +00:00
|
|
|
|
print_thread_info.
|
|
|
|
|
(print_one_inferior): Ditto.
|
|
|
|
|
(mi_cmd_list_thread_groups): Ditto.
|
|
|
|
|
|
2011-02-21 20:04:25 +00:00
|
|
|
|
2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common/Makefile.in (CFLAGS): New.
|
|
|
|
|
(COMPILE): Add $(CFLAGS).
|
|
|
|
|
|
2011-02-21 18:40:08 +00:00
|
|
|
|
2011-02-21 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (catch_syscall_command_1): Fix typo.
|
|
|
|
|
|
2011-02-21 18:13:17 +00:00
|
|
|
|
2011-02-21 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* reverse.c: Include cli-utils.h.
|
|
|
|
|
* printcmd.c: Include cli-utils.h.
|
|
|
|
|
(string_printf): Use skip_spaces.
|
|
|
|
|
* cli/cli-utils.h: New file.
|
|
|
|
|
* cli/cli-utils.c: New file.
|
|
|
|
|
* cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
|
|
|
|
|
* cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
|
|
|
|
|
* breakpoint.h (get_number, get_number_or_range): Move to
|
|
|
|
|
cli-utils.h.
|
|
|
|
|
* breakpoint.c: Include cli-utils.h.
|
|
|
|
|
(get_number_trailer, get_number, get_number_or_range)
|
|
|
|
|
(ep_skip_leading_whitespace): Move to cli-utils.c.
|
|
|
|
|
(create_breakpoint_sal, find_condition_and_thread)
|
|
|
|
|
(decode_static_tracepoint_spec, watch_command_1)
|
|
|
|
|
(watch_maybe_just_location, ep_parse_optional_if_clause)
|
|
|
|
|
(catch_fork_command_1, catch_exec_command_1)
|
|
|
|
|
(catch_syscall_command_1): Use skip_spaces, skip_to_space.
|
|
|
|
|
* Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
|
|
|
|
|
(SUBDIR_CLI_SRCS): Add cli-utils.c.
|
|
|
|
|
(HFILES_NO_SRCDIR): Add cli-utils.h.
|
|
|
|
|
(cli-utils.o): New target.
|
|
|
|
|
|
2011-02-21 15:56:16 +00:00
|
|
|
|
2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
|
|
|
|
|
before calling discard_all_inferiors.
|
|
|
|
|
|
2011-02-21 15:53:10 +00:00
|
|
|
|
2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
|
|
|
|
|
(struct builtin_opencl_type): Remove.
|
|
|
|
|
(builtin_opencl_type): Change return type to "struct type **".
|
|
|
|
|
(lookup_opencl_vector_type): Update caller.
|
|
|
|
|
(opencl_language_arch_info): Copy primitive type vector from gdbarch.
|
|
|
|
|
(build_opencl_types): Install plain array of "struct type *"
|
|
|
|
|
instead of "struct builtin_opencl_type".
|
|
|
|
|
|
2011-02-21 15:03:38 +00:00
|
|
|
|
2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
|
|
|
|
|
(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
|
|
|
|
|
(struct arm_linux_hwbp_cap): New type.
|
|
|
|
|
(arm_linux_get_hwbp_cap): New function.
|
|
|
|
|
(arm_linux_get_hw_breakpoint_count): Likewise.
|
|
|
|
|
(arm_linux_get_hw_watchpoint_count): Likewise.
|
|
|
|
|
(arm_linux_can_use_hw_breakpoint): Likewise.
|
|
|
|
|
(arm_hwbp_type): New type.
|
|
|
|
|
(arm_hwbp_control_t): Likewise.
|
|
|
|
|
(struct arm_linux_hw_breakpoint): Likewise.
|
|
|
|
|
(struct arm_linux_thread_points): Likewise.
|
|
|
|
|
(arm_threads): New global variable.
|
|
|
|
|
(arm_linux_find_breakpoints_by_tid): New function.
|
|
|
|
|
(arm_hwbp_control_initialize): Likewise.
|
|
|
|
|
(arm_hwbp_control_is_enabled): Likewise.
|
|
|
|
|
(arm_hwbp_control_disable): Likewise.
|
|
|
|
|
(arm_linux_hw_breakpoint_initialize): Likewise.
|
|
|
|
|
(arm_linux_get_hwbp_type): Likewise.
|
|
|
|
|
(arm_linux_hw_watchpoint_initialize): Likewise.
|
|
|
|
|
(arm_linux_hw_breakpoint_equal): Likewise.
|
|
|
|
|
(arm_linux_insert_hw_breakpoint1): Likewise.
|
|
|
|
|
(arm_linux_remove_hw_breakpoint1): Likewise.
|
|
|
|
|
(arm_linux_insert_hw_breakpoint): Likewise.
|
|
|
|
|
(arm_linux_remove_hw_breakpoint): Likewise.
|
|
|
|
|
(arm_linux_region_ok_for_hw_watchpoint): Likewise.
|
|
|
|
|
(arm_linux_insert_watchpoint): Likewise.
|
|
|
|
|
(arm_linux_remove_watchpoint): Likewise.
|
|
|
|
|
(arm_linux_stopped_data_address): Likewise.
|
|
|
|
|
(arm_linux_stopped_by_watchpoint): Likewise.
|
|
|
|
|
(arm_linux_watchpoint_addr_within_range): Likewise.
|
|
|
|
|
(arm_linux_new_thread): Likewise.
|
|
|
|
|
(arm_linux_thread_exit): Likewise.
|
|
|
|
|
(_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
|
|
|
|
|
related target callbacks. Register arm_linux_new_thread and
|
|
|
|
|
arm_linux_thread_exit.
|
|
|
|
|
* arm-tdep.h (arm_pc_is_thumb): Add prototype.
|
|
|
|
|
* arm-tdep.c (arm_pc_is_thumb): Make global.
|
|
|
|
|
(arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
|
|
|
|
|
|
2011-02-21 14:59:34 +00:00
|
|
|
|
2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (update_watchpoint): Do not attempt to recreate
|
|
|
|
|
per-frame locations while within a function epilogue.
|
|
|
|
|
|
2011-02-21 13:40:32 +00:00
|
|
|
|
2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* ser-mingw.c (ser_windows_close): Reformat comment to better conform
|
|
|
|
|
to GNU coding standards.
|
|
|
|
|
|
2011-02-21 11:47:12 +00:00
|
|
|
|
2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
Allow use of mingw native on Windows 95 OS.
|
2011-02-21 13:40:32 +00:00
|
|
|
|
* ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
|
2011-02-21 11:47:12 +00:00
|
|
|
|
(ser_windows_close): Only call CancelIo if function exists.
|
|
|
|
|
(_initialize_ser_windows): Use LoadLirary/GetProcAddress
|
|
|
|
|
to check for existence of CancelIo function in kernel32 DLL.
|
|
|
|
|
|
2011-02-21 08:38:14 +00:00
|
|
|
|
2011-02-21 Hui Zhu <teawater@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
|
|
|
|
|
* ax-gdb.c (gen_printf_expr_callback): New function.
|
|
|
|
|
* ax-gdb.h (gen_printf_expr_callback): Forward declare.
|
|
|
|
|
* ax-general.c (ax_memcpy): New function.
|
|
|
|
|
(ax_print): Handle "printf".
|
|
|
|
|
(ax_reqs): Ditto.
|
|
|
|
|
* ax.h (ax_memcpy): Forward declare.
|
|
|
|
|
* common/ax.def (invalid2): Removed.
|
|
|
|
|
(printf): New entry.
|
|
|
|
|
* printcmd.c (printcmd.h): New include.
|
|
|
|
|
(string_printf): New function.
|
|
|
|
|
(ui_printf): Removed.
|
|
|
|
|
(printf_command): Remove static. Call string_printf.
|
|
|
|
|
(eval_command): Call string_printf.
|
|
|
|
|
* printcmd.h: New file.
|
|
|
|
|
* tracepoint.c (validate_actionline,
|
|
|
|
|
encode_actions_1): handle printf_command.
|
|
|
|
|
|
2011-02-19 19:10:48 +00:00
|
|
|
|
2011-02-19 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* reverse.c (delete_one_bookmark): Argument is now bookmark
|
|
|
|
|
id rather than pointer to bookmark struct.
|
|
|
|
|
(delete_bookmark_command): Use get_number_or_range.
|
|
|
|
|
(goto_bookmark_command): Parse with get_number instead of strtoul.
|
|
|
|
|
(bookmark_1): New function. Print info for one bookmark.
|
|
|
|
|
(bookmarks_info): Use get_number_or_range and bookmark_1.
|
|
|
|
|
|
2011-02-19 01:02:56 +00:00
|
|
|
|
2011-02-18 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* thread.c (info_threads_command): Re-implement using
|
2011-02-19 01:02:56 +00:00
|
|
|
|
get_number_or_range.
|
2011-02-19 01:24:55 +00:00
|
|
|
|
(thread_apply_command): Ditto.
|
2011-02-19 01:02:56 +00:00
|
|
|
|
|
2011-02-18 21:12:07 +00:00
|
|
|
|
2011-02-18 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common/ax.def: New file.
|
|
|
|
|
* ax.h (enum agent_op): Use ax.def.
|
|
|
|
|
* ax-general.c (aop_map): Use ax.def.
|
|
|
|
|
|
2011-02-18 20:55:45 +00:00
|
|
|
|
2011-02-18 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ax-general.c (aop_map): Add pick and rot.
|
|
|
|
|
* dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
|
|
|
|
|
<DW_OP_rot>: Implement.
|
|
|
|
|
* ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
|
|
|
|
|
(ax_pick): Declare.
|
|
|
|
|
* ax-general.c (ax_pick): New function.
|
|
|
|
|
|
2011-02-18 20:31:18 +00:00
|
|
|
|
2011-02-18 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
|
|
|
|
|
|
2011-02-18 19:10:48 +00:00
|
|
|
|
2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cp-support.c (make_symbol_overload_list_namespace): Do not call
|
|
|
|
|
make_symbol_overload_list_block with NULL BLOCK.
|
|
|
|
|
* valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
|
|
|
|
|
|
2011-02-18 16:43:53 +00:00
|
|
|
|
2011-02-18 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (get_number_trailer): No longer accept a NULL PP.
|
|
|
|
|
* breakpoint.h (get_number_or_range): Declare.
|
|
|
|
|
* printcmd.c (ALL_DISPLAYS): Declare.
|
|
|
|
|
(delete_display): Reimplement taking a display pointer.
|
|
|
|
|
(undisplay_command): Accept a range of displays to delete, using
|
|
|
|
|
get_number_or_range.
|
|
|
|
|
|
2011-02-18 14:17:38 +00:00
|
|
|
|
2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* c-valprint.c (c_val_print): Add embedded_offset to address
|
|
|
|
|
for arrays of unspecified length.
|
|
|
|
|
* p-valprint.c (pascal_val_print): Likewise.
|
|
|
|
|
|
2011-02-18 05:01:54 +00:00
|
|
|
|
2011-02-18 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
|
|
|
|
|
(arm_process_displaced_insn): .. here. Remove parameter INSN.
|
|
|
|
|
(thumb_process_displaced_insn): New.
|
|
|
|
|
* gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
|
|
|
|
|
call to arm_process_displaced_insn.
|
|
|
|
|
* gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
|
|
|
|
|
|
2011-02-17 16:20:44 +00:00
|
|
|
|
2011-02-17 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
|
|
|
|
|
* dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
|
|
|
|
|
compile_dwarf_to_ax. No longer static. Call
|
|
|
|
|
dwarf2_compile_cfa_to_ax.
|
|
|
|
|
(locexpr_tracepoint_var_ref): Update.
|
|
|
|
|
(loclist_tracepoint_var_ref): Update.
|
|
|
|
|
* dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
|
|
|
|
|
* dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
|
|
|
|
|
argument; add 'gdbarch' and 'pc'.
|
|
|
|
|
(dwarf2_compile_cfa_to_ax): New function.
|
|
|
|
|
(dwarf2_frame_cache): Update.
|
|
|
|
|
|
2011-02-17 06:42:57 +00:00
|
|
|
|
2011-02-17 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-lang.c (ada_type_of_array): Fix the size of the array
|
|
|
|
|
in the case of an unconstrained packed array.
|
|
|
|
|
|
2011-02-17 02:15:22 +00:00
|
|
|
|
2011-02-17 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/Makefile.in: Add more targets for make.
|
|
|
|
|
|
2011-02-16 21:45:38 +00:00
|
|
|
|
2011-02-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2loc.c (unimplemented): Fix typo.
|
|
|
|
|
|
2011-02-16 21:32:05 +00:00
|
|
|
|
2011-02-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2loc.c (unimplemented): Handle unnamed opcodes.
|
|
|
|
|
(compile_dwarf_to_ax) <default>: Use unimplemented.
|
|
|
|
|
<DW_OP_deref>: Update.
|
|
|
|
|
(disassemble_dwarf_expression): Update.
|
|
|
|
|
* dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
|
|
|
|
|
(decode_locdesc): Update.
|
|
|
|
|
* dwarf2expr.h (dwarf_stack_op_name): Update.
|
|
|
|
|
|
2011-02-16 21:02:29 +00:00
|
|
|
|
2011-02-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ax.h (struct aop_map) <name>: Now const.
|
|
|
|
|
|
2011-02-16 18:07:58 +00:00
|
|
|
|
2011-02-16 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
|
|
|
|
|
than axs_rvalue.
|
|
|
|
|
|
2011-02-17 02:15:22 +00:00
|
|
|
|
2011-02-16 Yao Qi <yao@codesourcery.com>
|
2011-02-16 14:54:42 +00:00
|
|
|
|
|
|
|
|
|
* infrun.c (get_displaced_step_closure_by_addr): New.
|
|
|
|
|
* inferior.h: Declare it.
|
|
|
|
|
* arm-tdep.c: (arm_pc_is_thumb): Call
|
|
|
|
|
get_displaced_step_closure_by_addr. Adjust MEMADDR if it
|
|
|
|
|
returns non-NULL.
|
|
|
|
|
|
2011-02-16 12:59:05 +00:00
|
|
|
|
2011-02-16 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
gdb/
|
|
|
|
|
* tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
|
|
|
|
|
|
2011-02-16 11:55:59 +00:00
|
|
|
|
2011-02-16 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.c (value_contents_copy_raw): Extend describing comment.
|
|
|
|
|
Assert that the destination contents we're overwriting are wholly
|
|
|
|
|
available.
|
2011-02-16 11:57:41 +00:00
|
|
|
|
(value_contents_copy): Extend describing comment.
|
2011-02-16 11:55:59 +00:00
|
|
|
|
|
2011-02-16 10:13:53 +00:00
|
|
|
|
2011-02-16 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.c (value_available_contents_eq): Remove redundant local
|
|
|
|
|
variables. Fix available contents comparision.
|
|
|
|
|
* value.h (value_available_contents_eq): Extend describing
|
|
|
|
|
comment.
|
|
|
|
|
|
2011-02-16 09:46:09 +00:00
|
|
|
|
2011-02-16 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* thread.c (info_threads_command): Add missing i18n markup and remove
|
|
|
|
|
trailing newline.
|
|
|
|
|
|
2011-02-15 21:43:25 +00:00
|
|
|
|
2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (longjmp_names): New variable.
|
|
|
|
|
(struct breakpoint_objfile_data): New type.
|
|
|
|
|
(breakpoint_objfile_key): New variable.
|
|
|
|
|
(msym_not_found): New variable.
|
|
|
|
|
(msym_not_found_p): New predicate.
|
|
|
|
|
(get_breakpoint_objfile_data): New function.
|
|
|
|
|
(create_overlay_event_breakpoint): Check per-objfile cache for
|
|
|
|
|
symbols first.
|
|
|
|
|
(create_longjmp_master_breakpoint): Likewise.
|
|
|
|
|
(create_std_terminate_master_breakpoint): Likewise.
|
|
|
|
|
(create_exception_master_breakpoint): Likewise.
|
|
|
|
|
(_initialize_breakpoint): Register per-objfile data key.
|
|
|
|
|
|
2011-02-15 21:23:34 +00:00
|
|
|
|
2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
|
|
|
|
|
parameter value.
|
|
|
|
|
(create_longjmp_master_breakpoint): Loop over longjmp names.
|
|
|
|
|
(create_std_terminate_master_breakpoint): Const-propagate parameter
|
|
|
|
|
value.
|
|
|
|
|
(update_breakpoints_after_exec): Adjust.
|
|
|
|
|
(breakpoint_re_set): Adjust.
|
|
|
|
|
|
2011-02-15 21:17:53 +00:00
|
|
|
|
2011-02-15 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
2011-02-15 21:25:05 +00:00
|
|
|
|
* thread.c (info_threads_command): Process arg as thread id,
|
|
|
|
|
or list of thread ids.
|
|
|
|
|
(thread_find_command): New command.
|
|
|
|
|
(_initialize_thread): Document argument for info threads.
|
|
|
|
|
Document 'thread find' command.
|
|
|
|
|
* NEWS: Document new command "thread find".
|
2011-02-15 21:17:53 +00:00
|
|
|
|
|
2011-02-15 21:05:54 +00:00
|
|
|
|
2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
|
|
|
|
|
* aclocal.m4: Regenerated with aclocal-1.11.1.
|
|
|
|
|
* common/configure: Regenerate with autoconf-2.64.
|
|
|
|
|
|
2011-02-15 20:10:13 +00:00
|
|
|
|
2011-02-15 Ken Werner <ken.werner@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* opencl-lang.c (build_opencl_types): Set the size of the built-in
|
|
|
|
|
bool data type to a size of one byte.
|
|
|
|
|
|
2011-02-15 17:22:21 +00:00
|
|
|
|
2011-02-15 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* target.c (memory_xfer_live_readonly_partial): Document where to
|
|
|
|
|
look for interface description.
|
|
|
|
|
|
2011-02-15 14:26:34 +00:00
|
|
|
|
2011-02-15 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tdep/12352
|
|
|
|
|
* arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
|
|
|
|
|
order to store PC value on stack instead of text section.
|
|
|
|
|
|
2011-02-15 13:35:23 +00:00
|
|
|
|
2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
|
|
|
|
|
|
|
|
|
* rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
|
|
|
|
|
the EFP register set size.
|
|
|
|
|
(efpr_pseudo_register_read): Use regcache_raw_read_part to read
|
|
|
|
|
data from the VMX register.
|
|
|
|
|
(efpr_pseudo_register_write): Use regcache_raw_write_part to read
|
|
|
|
|
and write data from/to the VMX register.
|
|
|
|
|
|
2011-02-15 21:25:05 +00:00
|
|
|
|
2011-02-14 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* command.h (enum command_class): New class 'no_set_class', for
|
|
|
|
|
"show" commands without a corresponding "set" command.
|
|
|
|
|
* value.c (_initialize_values): Use 'no_set_class' for "show values".
|
|
|
|
|
* copying.c (_initialize_copying): Ditto for "show copying" and
|
|
|
|
|
"show warranty".
|
|
|
|
|
* cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
|
|
|
|
|
"show version".
|
|
|
|
|
* cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
|
|
|
|
|
which there is no corresponding "set" command (eg. "show copying").
|
|
|
|
|
|
2011-02-14 22:08:48 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* exec.c (section_table_available_memory): Change `len' parameter
|
|
|
|
|
type to ULONGEST.
|
|
|
|
|
* exec.h (section_table_available_memory): Ditto.
|
|
|
|
|
* value.h (read_value_memory): Rename the `offset' parameter to
|
|
|
|
|
`embedded_offset'.
|
|
|
|
|
|
2011-02-14 19:19:18 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
2011-02-14 19:20:45 +00:00
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
2011-02-14 19:19:18 +00:00
|
|
|
|
|
|
|
|
|
* memrange.c (compare_mem_ranges): Mention sort order in
|
|
|
|
|
describing comment.
|
|
|
|
|
(normalize_mem_ranges): Add comment. Fix ra->length calculation.
|
|
|
|
|
* tracepoint.c (traceframe_available_memory): Extend comment to
|
|
|
|
|
mention what happens to RESULT when the target does not support
|
|
|
|
|
the query.
|
|
|
|
|
|
2011-02-14 12:54:42 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
|
|
|
|
|
range.
|
|
|
|
|
|
2011-02-14 11:52:48 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.c (value_bits_valid, value_bits_synthetic_pointer):
|
|
|
|
|
No longer handle NULL values.
|
|
|
|
|
|
2011-02-14 11:35:45 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* exceptions.h (NOT_AVAILABLE_ERROR): New error.
|
|
|
|
|
* value.c: Include "exceptions.h".
|
|
|
|
|
(require_available): Throw NOT_AVAILABLE_ERROR instead of a
|
|
|
|
|
generic error.
|
|
|
|
|
* cp-abi.c: Include gdb_assert.h.
|
|
|
|
|
(baseclass_offset): Add `embedded_offset' and `val' parameters.
|
|
|
|
|
Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
|
|
|
|
|
errors.
|
|
|
|
|
* cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
|
|
|
|
|
parameters. No longer returns -1 on error.
|
|
|
|
|
(struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
|
|
|
|
|
`val' parameters.
|
|
|
|
|
* cp-valprint.c: Include exceptions.h.
|
|
|
|
|
(cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
|
|
|
|
|
the baseclass_offset. Handle unavailable base classes. Use
|
|
|
|
|
val_print_invalid_address.
|
|
|
|
|
* p-valprint.c: Include exceptions.h.
|
|
|
|
|
(pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
|
|
|
|
|
when fetching the baseclass_offset. No longer expect
|
|
|
|
|
baseclass_offset returning -1. Handle unavailable base classes.
|
|
|
|
|
Use val_print_invalid_address.
|
|
|
|
|
* valops.c (dynamic_cast_check_1): Rename `contents' parameter to
|
|
|
|
|
`valaddr' parameter, and change its type to gdb_byte pointer. Add
|
|
|
|
|
`embedded_offset' and `val' parameters. Adjust.
|
|
|
|
|
(dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
|
|
|
|
|
parameter, and change its type to gdb_byte pointer. Add
|
|
|
|
|
`embedded_offset' and `val' parameters. Adjust. No longer expect
|
|
|
|
|
baseclass_offset returning -1.
|
|
|
|
|
(value_dynamic_cast): Use value_contents_for_printing rather than
|
|
|
|
|
value_contents. Adjust.
|
|
|
|
|
(search_struct_field): No longer expect baseclass_offset returning
|
|
|
|
|
-1.
|
|
|
|
|
(search_struct_method): If reading memory from the target is
|
|
|
|
|
necessary, wrap it in a new value to pass to baseclass_offset. No
|
|
|
|
|
longer expect baseclass_offset returning -1.
|
|
|
|
|
(find_method_list): No longer expect baseclass_offset returning
|
|
|
|
|
-1. Use value_contents_for_printing rather than value_contents.
|
|
|
|
|
* valprint.c (val_print_invalid_address): New function.
|
|
|
|
|
* valprint.h (val_print_invalid_address): Declare.
|
|
|
|
|
* gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
|
|
|
|
|
and `val' parameters. No longer expect baseclass_offset returning
|
|
|
|
|
-1. Adjust.
|
|
|
|
|
* gnu-v2-abi.c: Include "exceptions.h".
|
|
|
|
|
(gnuv2_baseclass_offset): Add `embedded_offset' and `val'
|
|
|
|
|
parameters. Handle unavailable memory. Recurse through
|
|
|
|
|
gnuv2_baseclass_offset directly, rather than through
|
|
|
|
|
baseclass_offset. No longer returns -1 on not found, instead
|
|
|
|
|
throw an error.
|
|
|
|
|
* gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
|
|
|
|
|
`val' parameters. Adjust.
|
|
|
|
|
|
2011-02-14 11:34:31 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* tracepoint.c (memrange_sortmerge): Don't merge ranges that are
|
|
|
|
|
almost but not quite adjacent.
|
|
|
|
|
|
2011-02-14 11:33:24 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.h (value_entirely_available): Declare.
|
|
|
|
|
* value.c (value_entirely_available): New function.
|
|
|
|
|
* c-valprint.c (c_value_print): Don't try fetching the pointer's
|
|
|
|
|
real type if the pointer is unavailable.
|
|
|
|
|
|
2011-02-14 11:32:17 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* valops.c (value_repeat): Use read_value_memory instead of
|
|
|
|
|
read_memory.
|
|
|
|
|
|
2011-02-14 11:30:37 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.h (value_contents_copy, value_contents_copy_raw): Declare.
|
|
|
|
|
* value.c (value_contents_copy_raw, value_contents_copy): New
|
|
|
|
|
functions.
|
|
|
|
|
(value_primitive_field): Use value_contents_copy_raw instead of
|
|
|
|
|
memcpy.
|
|
|
|
|
* valops.c (value_fetch_lazy): Use value_contents_copy instead of
|
|
|
|
|
memcpy.
|
|
|
|
|
(value_array, value_slice): Ditto.
|
|
|
|
|
* valarith.c (value_subscripted_rvalue): Use
|
|
|
|
|
value_contents_copy_raw instead of memcpy.
|
|
|
|
|
|
2011-02-14 11:27:36 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
<unavailable> references.
|
|
|
|
|
|
|
|
|
|
* valops.c (get_value_at): Use value_from_contents_and_address,
|
|
|
|
|
avoiding read_memory.
|
|
|
|
|
|
2011-02-14 11:26:42 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* c-valprint.c (c_val_print): Print a string with unavailable
|
|
|
|
|
contents as an array.
|
|
|
|
|
|
2011-02-14 11:25:59 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.h (unpack_bits_as_long): Delete declaration.
|
|
|
|
|
(unpack_value_bits_as_long): Declare.
|
|
|
|
|
(unpack_value_field_as_long): Declare.
|
|
|
|
|
(value_field_bitfield): Declare.
|
|
|
|
|
* value.c (unpack_bits_as_long): Rename to...
|
|
|
|
|
(unpack_value_bits_as_long_1): ... this. Add embedded_offset and
|
|
|
|
|
value parameters. Return the extracted result in a new output
|
|
|
|
|
parameter. If the value contents are unavailable, return false,
|
|
|
|
|
otherwise return true.
|
|
|
|
|
(unpack_value_bits_as_long): New.
|
|
|
|
|
(unpack_field_as_long): Rename to...
|
|
|
|
|
(unpack_value_field_as_long_1): ... this. Add embedded_offset and
|
|
|
|
|
Add embedded_offset and value parameters. Return the extracted
|
|
|
|
|
result in a new output parameter. If the value contents are
|
|
|
|
|
unavailable, return false, otherwise return true.
|
|
|
|
|
(unpack_value_field_as_long): New.
|
|
|
|
|
(unpack_field_as_long_1): New.
|
|
|
|
|
(unpack_field_as_long): Reimplement as wrapper around
|
|
|
|
|
unpack_value_field_as_long_1.
|
|
|
|
|
(value_field_bitfield): New function.
|
|
|
|
|
* valops.c (value_fetch_lazy): When fetching a bitfield, use
|
|
|
|
|
unpack_value_bits_as_long. Mark the value as unavailable, if it
|
|
|
|
|
is unavailable.
|
|
|
|
|
* jv-valprint.c (java_print_value_fields): Use
|
|
|
|
|
value_field_bitfield.
|
|
|
|
|
* p-valprint.c (pascal_object_print_value_fields): Use
|
|
|
|
|
value_field_bitfield.
|
|
|
|
|
* cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
|
|
|
|
|
|
2011-02-14 11:25:12 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.c (get_internalvar_integer): Also return the int value of
|
|
|
|
|
TYPE_CODE_INT INTERNALVAR_VALUE values.
|
|
|
|
|
(set_internalvar): Don't special case TYPE_CODE_INT.
|
|
|
|
|
|
2011-02-14 11:24:19 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.c (struct internalvar) <enum internalvar_kind>: Remove
|
|
|
|
|
INTERNALVAR_POINTER.
|
|
|
|
|
<pointer>: Delete.
|
|
|
|
|
(value_of_internalvar): Remove INTERNALVAR_POINTER handling.
|
|
|
|
|
(set_internalvar): Remove special TYPE_CODE_PTR handling.
|
|
|
|
|
(preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
|
|
|
|
|
|
2011-02-14 11:23:33 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* value.h (value_available_contents_eq): Declare.
|
|
|
|
|
* value.c (find_first_range_overlap): New function.
|
|
|
|
|
(value_available_contents_eq): New function.
|
|
|
|
|
* valprint.c (val_print_array_elements): Use
|
|
|
|
|
value_available_contents_eq.
|
|
|
|
|
* ada-valprint.c (val_print_packed_array_elements): Use
|
|
|
|
|
value_available_contents_eq.
|
|
|
|
|
* jv-valprint.c (java_value_print): Use
|
|
|
|
|
value_available_contents_eq.
|
|
|
|
|
|
2011-02-14 11:22:29 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* target.c (target_read_live_memory): New function.
|
|
|
|
|
(memory_xfer_live_readonly_partial): New.
|
|
|
|
|
(memory_xfer_partial): If reading from a traceframe, fallback to
|
|
|
|
|
reading unavailable read-only memory from read-only regions of
|
|
|
|
|
live target memory.
|
|
|
|
|
* tracepoint.c (disconnect_tracing): Adjust.
|
|
|
|
|
(set_current_traceframe): New, factored out from
|
|
|
|
|
set_traceframe_number.
|
|
|
|
|
(set_traceframe_number): Reimplement to only change the traceframe
|
|
|
|
|
number on the GDB side.
|
|
|
|
|
(do_restore_current_traceframe_cleanup): Adjust.
|
|
|
|
|
(make_cleanup_restore_traceframe_number): New.
|
|
|
|
|
(cur_traceframe_number): New global.
|
|
|
|
|
(tfile_open): Set cur_traceframe_number to no traceframe.
|
|
|
|
|
(set_tfile_traceframe): New function.
|
|
|
|
|
(tfile_trace_find): If looking up a traceframe using any method
|
|
|
|
|
other than by number, make sure the current tfile traceframe
|
|
|
|
|
matches gdb's current traceframe. Update the current tfile
|
|
|
|
|
traceframe if the lookup succeeded.
|
|
|
|
|
(tfile_fetch_registers, tfile_xfer_partial)
|
|
|
|
|
(tfile_get_trace_state_variable_value): Make sure the remote
|
|
|
|
|
traceframe matches gdb's current traceframe.
|
|
|
|
|
* remote.c (remote_traceframe_number): New global.
|
|
|
|
|
(remote_open_1): Set it to -1.
|
|
|
|
|
(set_remote_traceframe): New function.
|
|
|
|
|
(remote_fetch_registers, remote_store_registers)
|
|
|
|
|
(remote_xfer_memory, remote_xfer_partial)
|
|
|
|
|
(remote_get_trace_state_variable_value): Make sure the remote
|
|
|
|
|
traceframe matches gdb's current traceframe.
|
|
|
|
|
(remote_trace_find): If looking up a traceframe using any method
|
|
|
|
|
other than by number, make sure the current remote traceframe
|
|
|
|
|
matches gdb's current traceframe. Update the current remote
|
|
|
|
|
traceframe if the lookup succeeded.
|
|
|
|
|
* infrun.c (fetch_inferior_event): Adjust.
|
|
|
|
|
* tracepoint.h (set_current_traceframe): Declare.
|
|
|
|
|
(get_traceframe_number, set_traceframe_number): Add describing
|
|
|
|
|
comments.
|
|
|
|
|
|
2011-02-14 11:21:25 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Mark pieces of values as unavailable if the corresponding memory
|
|
|
|
|
is unavailable.
|
|
|
|
|
|
|
|
|
|
* valops.c: Include tracepoint.h.
|
|
|
|
|
(value_fetch_lazy): Use read_value_memory.
|
|
|
|
|
(read_value_memory): New.
|
|
|
|
|
* value.h (read_value_memory): Declare.
|
|
|
|
|
* dwarf2loc.c (read_pieced_value): Use read_value_memory.
|
|
|
|
|
* exec.c (section_table_available_memory): New function.
|
|
|
|
|
* exec.h (section_table_available_memory): Declare.
|
|
|
|
|
|
2011-02-14 11:20:27 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SFILES): Add memrange.c.
|
|
|
|
|
(HFILES_NO_SRCDIR): Add memrange.h.
|
|
|
|
|
(COMMON_OBS): Add memrange.o.
|
|
|
|
|
* memrange.c: New file.
|
|
|
|
|
* memrange.h: New file.
|
|
|
|
|
* tracepoint.c: Include memrange.h.
|
|
|
|
|
(struct mem_range): Delete.
|
|
|
|
|
(mem_range_s): Delete.
|
|
|
|
|
(traceframe_available_memory): New function.
|
|
|
|
|
* tracepoint.h (traceframe_available_memory): Declare.
|
|
|
|
|
|
2011-02-14 11:13:12 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* target.h (struct traceframe_info): Forward declare.
|
|
|
|
|
(enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
|
|
|
|
|
(struct target_ops) <to_traceframe_info>: New field.
|
|
|
|
|
(target_traceframe_info): New.
|
|
|
|
|
* target.c (update_current_target): Inherit and default
|
|
|
|
|
to_traceframe_info.
|
|
|
|
|
* remote.c (PACKET_qXfer_traceframe_info): New.
|
|
|
|
|
(remote_protocol_features): Register qXfer:traceframe-info:read.
|
|
|
|
|
(remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
|
|
|
|
|
(remote_traceframe_info): New.
|
|
|
|
|
(init_remote_ops): Install it.
|
|
|
|
|
(_initialize_remote): Install "set/show remote traceframe-info"
|
|
|
|
|
commands.
|
|
|
|
|
* tracepoint.h (parse_traceframe_info): Declare.
|
|
|
|
|
* tracepoint.c (struct mem_range): New.
|
|
|
|
|
(mem_range_s): New typedef.
|
|
|
|
|
(struct traceframe_info): New.
|
|
|
|
|
(traceframe_info): New global.
|
|
|
|
|
(free_traceframe_info): New function.
|
|
|
|
|
(clear_traceframe_info): New function.
|
|
|
|
|
(start_tracing, tfind_1, set_traceframe_number): Clear traceframe
|
|
|
|
|
info.
|
|
|
|
|
(build_traceframe_info): New function.
|
|
|
|
|
(tfile_traceframe_info): New function.
|
|
|
|
|
(init_tfile_ops): Install tfile_traceframe_info.
|
|
|
|
|
(traceframe_info_start_memory, free_result): New functions.
|
|
|
|
|
(memory_attributes, traceframe_info_elements): New globals.
|
|
|
|
|
(parse_traceframe_info, get_traceframe_info): New functions.
|
|
|
|
|
* features/traceframe-info.dtd: New file.
|
|
|
|
|
* Makefile.in (XMLFILES): Add traceframe-info.dtd.
|
|
|
|
|
|
2011-02-14 11:10:53 +00:00
|
|
|
|
2011-02-14 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Base support for <unavailable> value contents.
|
|
|
|
|
|
|
|
|
|
* value.h (value_bytes_available): Declare.
|
|
|
|
|
(mark_value_bytes_unavailable): Declare.
|
|
|
|
|
* value.c (struct range): New struct.
|
|
|
|
|
(range_s): New typedef.
|
|
|
|
|
(ranges_overlap): New function.
|
|
|
|
|
(range_lessthan): New function.
|
|
|
|
|
(ranges_contain_p): New function.
|
|
|
|
|
(struct value) <unavailable>: New field.
|
|
|
|
|
(value_bytes_available): New function.
|
|
|
|
|
(mark_value_bytes_unavailable): New function.
|
|
|
|
|
(require_not_optimized_out): Constify parameter.
|
|
|
|
|
(require_available): New function.
|
|
|
|
|
(value_contents_all, value_contents): Require all bytes be
|
|
|
|
|
available.
|
|
|
|
|
(value_free): Free `unavailable'.
|
|
|
|
|
(value_copy): Copy `unavailable'.
|
|
|
|
|
* valprint.h (val_print_unavailable): Declare.
|
|
|
|
|
* valprint.c (valprint_check_validity): Rename `offset' parameter
|
|
|
|
|
to `embedded_offset'. If printing a scalar, check whether the
|
|
|
|
|
value chunk is available.
|
|
|
|
|
(val_print_unavailable): New.
|
|
|
|
|
(val_print_scalar_formatted): Check whether the value is
|
|
|
|
|
available.
|
|
|
|
|
* python/py-prettyprint.c (apply_val_pretty_printer): Refuse
|
|
|
|
|
pretty-printing unavailable values.
|
|
|
|
|
|
2011-02-13 09:15:54 +00:00
|
|
|
|
2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix const/volatile qualifiers of C++ types, PR c++/12328.
|
|
|
|
|
* c-typeprint.c (c_type_print_args): Update the function comment. New
|
|
|
|
|
variable param_type, initialize it. Remove const/volatile qualifiers
|
|
|
|
|
for language_cplus and !show_artificial. Use param_type.
|
|
|
|
|
|
2011-02-13 09:09:36 +00:00
|
|
|
|
2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symtab.c (find_pc_sect_line): New variable objfile, initialize it
|
|
|
|
|
from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
|
|
|
|
|
* symtab.h (struct symtab) <next>: Comment extension.
|
|
|
|
|
|
2011-02-12 13:07:39 +00:00
|
|
|
|
2011-02-12 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (CLEANDIRS): Remove duplicated common dir.
|
|
|
|
|
|
2011-02-15 21:14:02 +00:00
|
|
|
|
2011-02-11 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* common/Makefile.in: Add copyright header.
|
|
|
|
|
|
2011-02-11 15:07:50 +00:00
|
|
|
|
2011-02-11 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* infrun.c (proceed): Move switching out and in of tfind mode from
|
|
|
|
|
here ...
|
|
|
|
|
(fetch_inferior_event): ... to here.
|
|
|
|
|
|
2011-02-11 09:57:25 +00:00
|
|
|
|
2011-02-11 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Remove signals.o from COMMON_OBS. Link
|
|
|
|
|
libcommon.a.
|
|
|
|
|
* configure.ac: Add common to sub dir.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2011-02-15 21:14:02 +00:00
|
|
|
|
2011-02-11 Yao Qi <yao@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Build libcommon.a.
|
|
|
|
|
|
|
|
|
|
* common/Makefile.in: New.
|
|
|
|
|
* common/configure.ac: New.
|
|
|
|
|
* common/aclocal.m4: New.
|
|
|
|
|
* common/configure: Generate.
|
|
|
|
|
|
2011-02-10 18:31:28 +00:00
|
|
|
|
2011-02-10 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
|
|
|
|
|
side of the parenthesis.
|
|
|
|
|
|
|
|
|
|
Merge from GCC:
|
|
|
|
|
2010-07-13 Jakub Jelinek <jakub@redhat.com>
|
2011-02-10 18:40:22 +00:00
|
|
|
|
* vec.h (VEC_block_remove): Fix comment.
|
2011-02-10 18:31:28 +00:00
|
|
|
|
|
2011-02-08 22:35:57 +00:00
|
|
|
|
2011-02-08 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* linux-nat.c (linux_nat_filter_event): Fix typo in comment.
|
|
|
|
|
|
2011-02-08 14:01:47 +00:00
|
|
|
|
2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
|
|
|
|
|
in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
|
|
|
|
|
psubd and paddd.
|
|
|
|
|
|
2011-02-08 13:58:02 +00:00
|
|
|
|
2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 12361.
|
|
|
|
|
* i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
|
|
|
|
|
phsubsw.
|
|
|
|
|
(i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
|
|
|
|
|
(i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
|
|
|
|
|
|
2011-02-08 13:30:10 +00:00
|
|
|
|
2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (read_subroutine_type): Set special calling
|
|
|
|
|
convention flag for functions compiled by IBM XL C for OpenCL.
|
|
|
|
|
* ppc-sysv-tdep.c: Include "dwarf2.h"
|
|
|
|
|
(ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
|
|
|
|
|
calling convention.
|
|
|
|
|
(do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
|
|
|
|
|
IBM OpenCL vector types calling convention.
|
|
|
|
|
(ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
|
|
|
|
|
(ppc_sysv_abi_broken_return_value): Likewise.
|
|
|
|
|
(ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
|
|
|
|
|
types calling convention.
|
|
|
|
|
(ppc64_sysv_abi_return_value): Likewise.
|
|
|
|
|
* spu-tdep.c: Include "dwarf2.h"
|
|
|
|
|
(spu_return_value): Implement IBM OpenCL vector types calling
|
|
|
|
|
convention.
|
|
|
|
|
|
2011-02-08 13:25:01 +00:00
|
|
|
|
2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
|
|
|
|
|
correct ABI for AltiVec vector arguments.
|
|
|
|
|
|
2011-02-07 17:49:32 +00:00
|
|
|
|
2011-02-07 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* valprint.c (val_print): Extend comment.
|
|
|
|
|
* ada-valprint.c (ada_valprint): Rewrite comment deferring
|
|
|
|
|
interface explanation to val_print.
|
|
|
|
|
(ada_val_print_array): Adjust comment to current interface.
|
|
|
|
|
(print_field_values): Adjust comment to current interface.
|
|
|
|
|
* c-valprint.c (c_val_print): Rewrite comment deferring interface
|
|
|
|
|
explanation to val_print.
|
|
|
|
|
* f-valprint.c (f_val_print): Ditto.
|
|
|
|
|
* jv-valprint.c (java_val_print): Ditto.
|
|
|
|
|
* m2-valprint.c (m2_val_print): Ditto.
|
|
|
|
|
* p-valprint.c (pascal_val_print): Ditto.
|
|
|
|
|
|
2011-02-07 13:30:33 +00:00
|
|
|
|
2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (parse_breakpoint_sals): Fix description.
|
|
|
|
|
|
Add Python support for GDB events.
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.python/py-evthreads.c: New file.
* gdb.python/py-evthreads.exp: New file.
* gdb.python/py-events.py: New file.
* gdb.python/py-events.exp: New file.
* gdb.python/py-events.c: New file.
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 21:54:16 +00:00
|
|
|
|
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
|
2011-02-07 13:30:33 +00:00
|
|
|
|
Oguz Kayral <oguzkayral@gmail.com>
|
Add Python support for GDB events.
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.python/py-evthreads.c: New file.
* gdb.python/py-evthreads.exp: New file.
* gdb.python/py-events.py: New file.
* gdb.python/py-events.exp: New file.
* gdb.python/py-events.c: New file.
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 21:54:16 +00:00
|
|
|
|
|
|
|
|
|
* 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 20:33:09 +00:00
|
|
|
|
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 18:45:15 +00:00
|
|
|
|
2011-02-04 David Daney <ddaney@caviumnetworks.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add item for "catch syscall" on mips*-linux* targets.
|
|
|
|
|
|
2011-02-04 18:34:43 +00:00
|
|
|
|
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 18:13:25 +00:00
|
|
|
|
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 17:27:19 +00:00
|
|
|
|
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 15:46:49 +00:00
|
|
|
|
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 18:34:55 +00:00
|
|
|
|
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 14:45:37 +00:00
|
|
|
|
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 19:45:32 +00:00
|
|
|
|
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 19:44:44 +00:00
|
|
|
|
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 18:03:35 +00:00
|
|
|
|
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 17:41:54 +00:00
|
|
|
|
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 16:12:59 +00:00
|
|
|
|
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 13:47:06 +00:00
|
|
|
|
2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
|
|
|
|
|
(BUILD_OCL_VTYPES): Update.
|
|
|
|
|
|
2011-02-02 04:36:21 +00:00
|
|
|
|
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 18:56:34 +00:00
|
|
|
|
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 18:54:01 +00:00
|
|
|
|
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 21:43:12 +00:00
|
|
|
|
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 20:21:02 +00:00
|
|
|
|
2011-01-31 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
|
|
|
|
|
line.
|
|
|
|
|
|
2011-01-31 16:52:35 +00:00
|
|
|
|
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 15:16:59 +00:00
|
|
|
|
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 15:07:49 +00:00
|
|
|
|
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.
|
|
|
|
|
|
allow building GDB with Python support on MinGW
This makes several adjustements to the configure python-config.py
scripts to deal with the differences between a Unix install of Python
and a Windows install of Python (as downloaded from the Python website).
Differences:
- The Python executable is directly in the python prefix directory
as opposed to inside the bin/ subdirectory.
- The name of the python library is does not have a dot in the version
number: On Unix, we have libpython2.7, while on Windows, it's
libpython27. So the regexp extracting the python version from
the Python lib filename had to be adjusted slightly.
Also, the tests checking the name of the libpython had to be
adjusted to allow for that.
- There are no link options following the -lpython<version> switch
on Windows, but the regexp extracting the python version was
using it as a delimiter. It had to be removed.
- python-config.py does not work on Windows, mostly because
some sysconfig variables are missing. They are not necessary
so the script was adapted to skip them if not defined.
- The paths returned by python-config.py follow the Windows filename
convention in terms of the directory separator, and this is causing
trouble when the build environment is cygwin (while the compiler
and Python are MinGW). We could have fixed that in the configure
script, but it felt simpler to do so in python-config.py
gdb/ChangeLog:
* 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 04:42:08 +00:00
|
|
|
|
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.
|
|
|
|
|
|
do not use python<version> subdir when including Python .h file
This is preparation work for being able to build GDB with Python
support on MinGW.
So far, the "python<version>" subdirectory needs to be specified
when including a Python header file. In order to do that, we have
some special configury that tweaks the include path returned by
python-config.py such that the use of the subdirectory in the include
is necessary. This was done in order to protect ourselves from
possible filename conflicts, since some of the filenames chosen by
Python were a little generic.
The problem is that this cannot work with a standard Python install
on MinGW systems. On such systems, the .h files are located in
<python_prefix>/include. So, in preparation for allowing us to build
GDB on MinGW with Python support enabled, this patch changes the
requirement to provide the "python<version>" subdirectory in the
include directive.
The positive consequence is that we no longer need to have a set
of #include directives for each version of Python, since the include
directive is now the same for all versions of Python. However, the
downside is that we are losing the level of protection we were trying
to achieve by forcing the subdirectory in the include directive.
In order to reduce a bit the consequences of a possible conflict,
this patch also changes the location where the -I/path/to/python
switch goes, to be last in the list (suggested by Doug Evans).
One last change is the fact that we are now including Python.h
and all other Python include headers using angle brackets rather
than double-quotes. This fixes a problem on case-insensitive
systems where #include "Python.h" causes our gdb/python/python.h
header to be included instead of Python's <Python.h> header.
gdb/ChangeLog:
* 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 04:41:27 +00:00
|
|
|
|
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 03:12:06 +00:00
|
|
|
|
2011-01-31 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
|
|
|
|
|
in error message.
|
|
|
|
|
|
2011-01-31 03:11:40 +00:00
|
|
|
|
2011-01-31 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
|
|
|
|
|
value test.
|
|
|
|
|
|
2011-01-30 23:16:33 +00:00
|
|
|
|
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 10:30:20 +00:00
|
|
|
|
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 16:32:26 +00:00
|
|
|
|
2011-01-28 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Move myself from Responsible Maintainers to Authorized
|
|
|
|
|
Committers.
|
|
|
|
|
|
2011-01-28 16:18:55 +00:00
|
|
|
|
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 16:00:16 +00:00
|
|
|
|
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 15:42:01 +00:00
|
|
|
|
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 21:39:24 +00:00
|
|
|
|
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 23:13:22 +00:00
|
|
|
|
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 20:58:49 +00:00
|
|
|
|
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 20:53:45 +00:00
|
|
|
|
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-26 01:55:19 +00:00
|
|
|
|
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 18:18:15 +00:00
|
|
|
|
2011-01-25 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* tui/tui-regs.c (tui_register_format): Remove dead code.
|
|
|
|
|
|
2011-01-25 17:59:00 +00:00
|
|
|
|
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 17:43:29 +00:00
|
|
|
|
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 17:25:12 +00:00
|
|
|
|
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 17:00:27 +00:00
|
|
|
|
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 16:26:23 +00:00
|
|
|
|
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 15:47:58 +00:00
|
|
|
|
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 15:18:36 +00:00
|
|
|
|
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 12:47:25 +00:00
|
|
|
|
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 12:13:20 +00:00
|
|
|
|
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 11:54:00 +00:00
|
|
|
|
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 09:49:59 +00:00
|
|
|
|
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 21:34:19 +00:00
|
|
|
|
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 21:28:12 +00:00
|
|
|
|
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.
gdb/
* 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.
gdb/testsuite/
* gdb.base/printcmds.c (some_struct): New struct and instance.
* gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
procedure.
<global scope>: Call it.
2011-01-24 18:54:17 +00:00
|
|
|
|
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 18:56:43 +00:00
|
|
|
|
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 20:41:11 +00:00
|
|
|
|
2011-01-19 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add entry for native ia64-hpux support.
|
|
|
|
|
|
2011-01-19 17:21:39 +00:00
|
|
|
|
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 16:38:59 +00:00
|
|
|
|
2011-01-18 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
|
|
|
|
|
(ada_val_print_1): Likewise.
|
|
|
|
|
|
[powerpc] breakpoint inserted past function end
On powerpc, the prologue scanner reads instruction after instruction,
and just skips instructions that do not affect a frame. This means
that it does not stop if if finds and unexpected instruction (which
could possibly happen with optimization, I presume). To avoid scanning
too many instructions, it tries to establish an upper limit.
The upper limit is first computed using the debugging (line) info,
but if that fails, it falls back on an arbitrary 100 bytes (or 25
instructions). The problem is that, if the function is shorter than
those 25 instructions, we run the risk of skipping the entire function
and returning a PC that's outside our function.
In the event where we can find a symbol for a given PC (and therefore
can determine function start and end addresses), but cannot find an
upper limit using skip_prologue_using_sal, then we can at least limit
make sure that the 25 instructions do not put us beyour our function.
If it does, then further reduce the upper-limit to the end of the function.
gdb/ChangeLog:
* 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-18 16:18:26 +00:00
|
|
|
|
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 16:50:42 +00:00
|
|
|
|
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 16:20:56 +00:00
|
|
|
|
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 10:34:51 +00:00
|
|
|
|
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 20:37:13 +00:00
|
|
|
|
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 19:32:56 +00:00
|
|
|
|
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 18:39:31 +00:00
|
|
|
|
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.
|
2011-03-11 10:11:36 +00:00
|
|
|
|
(get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
|
2011-01-14 18:39:31 +00:00
|
|
|
|
* 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 18:16:34 +00:00
|
|
|
|
2011-01-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (*-*-uclinux*): Match more Linux os targets
|
|
|
|
|
|
2011-01-14 13:53:02 +00:00
|
|
|
|
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 13:47:15 +00:00
|
|
|
|
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 13:38:24 +00:00
|
|
|
|
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 23:55:34 +00:00
|
|
|
|
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* hpux-thread.c (hpux_pid_to_str): Delete.
|
|
|
|
|
|
2011-01-13 23:01:22 +00:00
|
|
|
|
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 23:01:10 +00:00
|
|
|
|
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.
|
|
|
|
|
|
[ia64-hpux] inferior function call support
We have two stacks to deal with on ia64, when making a function call.
The first is the usual stack frame, and the second is the register
stack frame. On ia64-linux, the register frame is setup by adjusting
the BSP register. Unfortunately for us, the HP-UX kernel does not allow
the debugger to change the value of the BSP.
To work around that limitation, the method I am using here is to push
some assembly code on the stack. This assembly code contains, among
other things, a call to the alloc insn, which sets up our frame for us.
An extensive comment in ia64-hpux-tdep.c explains the entire procedure.
Despite this approach, most of the code in ia64-tdep.c which sets up
the function call is still applicable - and only a few things need
to be done differently: For instance, instead of changing the BSP,
we do nothing. We store the parameters at a different location, etc.
So this patch also adjusts the inf-call code in ia64-tdep.c to make it
a little more extensible: I create a new ia64_infcall_ops structure
which allows an ABI to define how the few things that need to be
differentiated.
Another element that turned out to be necessary but is more of a detail
is that the computation of the linkage pointer needs to be handled
specially for symbols inside shared libraries. This is especially
visible when calling malloc, which happens everytime memory needs to
be allocated in inferior memory... The special treatment included
again the necessity to use some routines only available on the host.
So another target object TARGET_OBJECT_HPUX_SOLIB_GOT was created for
that purpose.
gdb/ChangeLog:
* 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 16:24:42 +00:00
|
|
|
|
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 16:24:27 +00:00
|
|
|
|
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 16:24:13 +00:00
|
|
|
|
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.
|
|
|
|
|
|
[hpux/ttrace] Determine attached process LWP immediately after attaching.
When attaching to a process, the ttrace interface was creating a ptid
with a null LWP, because it did not have it yet. This LWP was then
set as soon as we received our first event from our inferior, during
our first wait. Similarly, the allocation of the thread private info
was also defered.
This works on PA/HP-UX, because we immediately perform a wait to pop
the event triggered by the attach. We can use that event to extract
the thread's LWP. But this does not work for IA64/HP-UX, because
the attach no longer triggers an event, and thus a wait should NOT
be performed (such a wait would simply block indefinitely).
It is actually possible, however, to determine the thread's LWP.
This change therefore adjusts the attach code to create a thread with
the correct LWP set, as well as with its private info allocated.
Same thing for all the other threads.
gdb/ChangeLog:
[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 16:23:33 +00:00
|
|
|
|
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 16:23:22 +00:00
|
|
|
|
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 16:23:11 +00:00
|
|
|
|
2011-01-13 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
|
|
|
|
|
not already defined.
|
|
|
|
|
|
2011-01-13 16:23:00 +00:00
|
|
|
|
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 16:22:48 +00:00
|
|
|
|
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 21:09:39 +00:00
|
|
|
|
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 20:09:53 +00:00
|
|
|
|
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 16:16:24 +00:00
|
|
|
|
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 16:10:05 +00:00
|
|
|
|
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.
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
|
2011-01-12 16:10:05 +00:00
|
|
|
|
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
|
2011-03-11 10:11:36 +00:00
|
|
|
|
advance. Move allocate_value to LOC_CONST, LOC_LABEL,
|
2011-01-12 16:10:05 +00:00
|
|
|
|
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 15:02:12 +00:00
|
|
|
|
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-12 10:48:14 +00:00
|
|
|
|
2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
|
|
|
|
|
appropiately.
|
|
|
|
|
|
2011-01-12 02:44:48 +00:00
|
|
|
|
2011-01-11 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* thread.c (do_captured_thread_select): Emit newline before
|
|
|
|
|
printing frame.
|
|
|
|
|
|
2011-01-11 21:53:25 +00:00
|
|
|
|
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-12 01:23:29 +00:00
|
|
|
|
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 19:39:35 +00:00
|
|
|
|
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 19:23:03 +00:00
|
|
|
|
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.
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* breakpoint.h
|
2011-01-11 19:23:03 +00:00
|
|
|
|
(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 19:18:31 +00:00
|
|
|
|
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.
gdb/
* 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.
gdb/testsuite/
* gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
type is not supported.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
2011-01-11 19:16:23 +00:00
|
|
|
|
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.
|
2011-03-11 10:11:36 +00:00
|
|
|
|
(breakpoint_ops) <remove>: Rename to...
|
2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
Convert hardware watchpoints to use breakpoint_ops.
gdb/
* 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.
gdb/testsuite/
* gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
type is not supported.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
2011-01-11 19:16:23 +00:00
|
|
|
|
<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 15:10:03 +00:00
|
|
|
|
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 14:19:34 +00:00
|
|
|
|
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 20:38:51 +00:00
|
|
|
|
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-11 03:01:33 +00:00
|
|
|
|
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 06:07:10 +00:00
|
|
|
|
2011-01-10 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-valprint.c (printstr): Minor comment reformatting.
|
|
|
|
|
|
2011-01-10 02:43:30 +00:00
|
|
|
|
2011-01-08 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
|
|
|
|
|
markup.
|
|
|
|
|
|
2011-01-09 03:08:57 +00:00
|
|
|
|
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-09 03:20:33 +00:00
|
|
|
|
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 20:45:11 +00:00
|
|
|
|
2011-01-08 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
|
|
|
|
|
|
2011-01-08 12:36:27 +00:00
|
|
|
|
2011-01-08 Robert Millan <rmh@gnu.org>
|
|
|
|
|
|
|
|
|
|
* fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
|
|
|
|
|
|
2011-01-08 04:01:11 +00:00
|
|
|
|
2011-01-07 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* charset.c (_initialize_charset): Fix typo in string.
|
|
|
|
|
|
2011-01-07 20:24:18 +00:00
|
|
|
|
2011-01-07 Michael Snyder <msnyder@vmware.com>
|
|
|
|
|
|
|
|
|
|
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
|
|
|
|
|
for i18n.
|
2011-03-11 10:11:36 +00:00
|
|
|
|
* tui/tui-layout.c (tui_set_layout_for_display_command):
|
2011-01-07 20:24:18 +00:00
|
|
|
|
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 19:36:19 +00:00
|
|
|
|
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 17:35:27 +00:00
|
|
|
|
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 21:10:53 +00:00
|
|
|
|
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.
|
|
|
|
|
|
2011-01-06 19:56:44 +00:00
|
|
|
|
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 18:34:16 +00:00
|
|
|
|
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 17:16:58 +00:00
|
|
|
|
2011-01-06 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* python/py-frame.c (frapy_block): Use get_frame_block.
|
|
|
|
|
|
2011-01-06 14:58:58 +00:00
|
|
|
|
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 14:43:37 +00:00
|
|
|
|
2011-01-06 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ada-tasks.c: Fix style violation in comment.
|
|
|
|
|
|
2011-01-06 09:30:35 +00:00
|
|
|
|
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 06:28:39 +00:00
|
|
|
|
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 22:22:53 +00:00
|
|
|
|
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-06 00:57:05 +00:00
|
|
|
|
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 05:09:55 +00:00
|
|
|
|
2011-01-05 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac, gdb.1: Copyright year update.
|
|
|
|
|
|
2011-01-03 13:11:06 +00:00
|
|
|
|
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 07:53:06 +00:00
|
|
|
|
2011-01-03 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* symfile.c (find_sym_fns): Add call to dont_repeat.
|
|
|
|
|
|
2011-01-01 15:34:07 +00:00
|
|
|
|
2011-01-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
Copyright year update in most files (performed by copyright.sh).
|
|
|
|
|
|
2011-01-01 14:14:46 +00:00
|
|
|
|
2011-01-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* top.c (print_gdb_version): Update copyright year in version output.
|
2010-12-31 19:16:37 +00:00
|
|
|
|
|
2011-01-01 14:05:08 +00:00
|
|
|
|
For older changes see ChangeLog-2010.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
2007-08-09 22:44:38 +00:00
|
|
|
|
coding: utf-8
|
1999-04-16 01:35:26 +00:00
|
|
|
|
End:
|