aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2011-03-112011-03-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+6
* top.c (set_verbose): Assert showcmd was found.
2011-03-112011-03-11 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-1/+6
* xtensa-tdep.c (warning_once): Correct style issues.
2011-03-112011-03-11 Yao Qi <yao@codesourcery.com>Yao Qi2-3/+4
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
2011-03-11* common/aclocal.m4: Remove.Andreas Schwab2-81/+17
2011-03-112011-03-10 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-14/+12
* 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-11Correct bad formatting in the comments. Two spaces must follow '.'.Maxim Grigoriev1-5/+6
2011-03-112011-03-10 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-101/+222
* xtensa-tdep.c (xtensa_c0reg_t): Update comments. (xtensa_call0_frame_cache_t): Update comments. New fields added. (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. (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 prologue. Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. (call0_analyze_prologue): Update the comments. Change arguments. 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-11*** empty log message ***gdbadmin1-1/+1
2011-03-10Revert previous change.Michael Snyder2-11/+8
2011-03-102011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-8/+11
* p-typeprint.c (pascal_type_print_method_args): Don't use pointer until after null-check.
2011-03-102011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-7/+12
* tracepoint.c (cmd_qtv): Discard unused value 'packet'. (cmd_qtframe): Ditto. (cmd_qtbuffer): Ditto. (cmd_bigqtbuffer): Ditto.
2011-03-102011-02-27 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+4
* gdbserver/tracepoint.c (tracepoint_finish_step): Fix loop variable.
2011-03-102011-03-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+7
* gdbserver/server.c (handle_v_run): Free alloced buffer on early return.
2011-03-10 * tracepoint.c (trace_actions_command): Update.Tom Tromey11-108/+224
* 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-102011-03-10 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-81/+339
* 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 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Parameters In Python): Document get_set_string and get_show_string methods. 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-parameter.exp: Update tests to the new Python parameter API. Add "no documentation" test. Add deprecated API backward compatibility test.
2011-03-10gdb/Jan Kratochvil2-1/+5
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
2011-03-10remove subdir_do recursive make command in gdbserver/Makefile.inJoel Brobecker2-1/+5
This fixes: % [...]/gdbserver/configure % make distclean [...] rm -f amd64-avx.c amd64-avx-linux.c rm -f i386-mmx.c i386-mmx-linux.c make[1]: Entering directory `/[...]' make[1]: *** No rule to make target `subdir_do'. Stop. make[1]: Leaving directory `[...]' make: *** [distclean] Error 2 gdb/gdbserver/ChangeLog: * Makefile.in (maintainer-clean realclean distclean): Remove "make ... subdir_do" command.
2011-03-102011-03-09 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-11/+28
* xtensa-tdep.c (xtensa_read_register: Add comment. (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-10*** empty log message ***gdbadmin1-1/+1
2011-03-092011-03-09 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+8
* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
2011-03-09 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather thanTom Tromey2-1/+8
gdb_continue_to_end.
2011-03-09* gdb.base/memattr.exp: Adjust regexps to accept spaces as well asMark Kettenis2-40/+45
tabs.
2011-03-092011-03-09 Michael Snyder <msnyder@vmware.com>Michael Snyder1-1/+1
* gdbserver/tracepoint.c: Fix small comment typo.
2011-03-09 gdb/Pedro Alves2-1/+6
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
2011-03-09 * thread.c (restore_selected_frame): Handle frame_level == -1.Tom Tromey4-1/+34
(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 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap inTom Tromey9-17/+43
parentheses. (gdb_continue_to_end): Add "allow_extra" parameter. Use $command. * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra" argument to gdb_continue_to_end. * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra" argument to gdb_continue_to_end. * gdb.cp/annota3.exp: Fix regex. * gdb.cp/annota2.exp: Fix regex. * gdb.base/shlib-call.exp: Pass "allow_extra" argument to gdb_continue_to_end. * gdb.base/call-signal-resume.exp: Revert earlier patch. * gdb.ada/tasks.exp: Pass "allow_extra" argument to gdb_continue_to_end.
2011-03-09 * cli/cli-cmds.c (shell_escape): Use lbasename.Pedro Alves10-53/+40
* 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-09gdb/Jan Kratochvil2-18/+14
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-09gdb/Yao Qi4-4304/+6
2011-03-09 Yao Qi <yao@codesourcery.com> * common/Makefile.in: Remove. * common/configure: Remove. * common/configure.ac: Remove.
2011-03-09gdb/Yao Qi8-167/+53
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. gdb/gdbserver/ 2011-03-09 Yao Qi <yao@codesourcery.com> Revert: 2011-03-04 Yao Qi <yao@codesourcery.com> * Makefile.in: Remove GNU make feature --directory. 2011-03-05 Yao Qi <yao@codesourcery.com> * Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable. (subdir_do): New make target. Copied from gdb/Makefile. (maintainer-clean, realclean, distclean, clean): Call corresponding make targets in common/Makefile. 2011-02-11 Yao Qi <yao@codesourcery.com> * configure.ac: Call AC_PROG_RANLIB. * Makefile.in: Remove signals.o from OBS. Link libcommon.a. * configure: Regenerate.
2011-03-092011-03-08 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-6/+85
* xtensa-tdep.c (call0_ret): New function. (xtensa_skip_prologue): Speed up analysis.
2011-03-092011-03-08 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-3/+11
* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers while executing MI command -data-list-changed-registers.
2011-03-092011-03-08 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-20/+398
* 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-092011-03-08 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-24/+52
* 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-09*** empty log message ***gdbadmin1-1/+1
2011-03-082011-03-08 Michael Snyder <msnyder@vmware.com>Michael Snyder2-18/+53
* 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-082011-03-08 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-1/+5
* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR) Update.
2011-03-082011-02-27 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* target.c (read_whatever_is_readable): Fix memory leak.
2011-03-082011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* i386-tdep.c (i386_process_record): Document fall through.
2011-03-08gdb/Jan Kratochvil2-6/+24
Fix DWARF-3+ DW_AT_accessibility default assumption. * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for cu->header.version >= 3.
2011-03-08gdb/Pedro Alves4-1/+25
2011-03-08 Pedro Alves <pedro@codesourcery.com> * remote.c (remote_check_symbols): Skip if the target has no execution. gdb/testsuite/ 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.server/ext-run.exp (load new file without any gdbserver inferior): New test.
2011-03-08minor reformatting for target.c:read_whatever_is_readableJoel Brobecker2-22/+28
gdb/ChangeLog: * target.c (read_whatever_is_readable): Reformat comment, with a minor typo fix. Minor reformatting of the code.
2011-03-082011-03-08 Yao Qi <yao@codesourcery.com>Yao Qi4-93/+95
* 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*** empty log message ***gdbadmin1-1/+1
2011-03-07 * Makefile.in (TAGS): Rewrite.Tom Tromey2-2/+6
2011-03-07gdb/testsuite/Jan Kratochvil2-7/+20
* gdb.trace/report.exp (12.1: trace report #1): New match for the initial commands echo. New match for `Found trace'. Anchor all the other matches. Anchor and match for `No trace frame found' the final match.
2011-03-07gdb/gdbserver/Jan Kratochvil2-1/+5
* remote-utils.c (putpkt_binary_1): Calculate BUF2 size dynamically.
2011-03-072011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+3
* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
2011-03-072011-03-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* ser-unix.c (hardwire_get_tty_state): Stop memory leak.
2011-03-072011-03-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+3
* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.