aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2011-03-032011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+3
* maint.c (maintenance_do_deprecate): No need to check for NULL.
2011-03-032011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+3
* cli/cli-script.c (script_from_file): Add break for lint.
2011-03-03*** empty log message ***gdbadmin1-1/+1
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* mdebugread.c (parse_partial_symbols): Fix indent.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc with xmalloc.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* target-descriptions.c (tdesc_gdb_type): No need to call xstrdup, callee saves a copy.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* printcmd.c (print_scalar_formatted): Use strncpy for safety.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+4
* infcall.c (call_function_by_hand): Add break statements for lint.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+5
* utils.c (parse_escape): Escape the escape char.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+12
* python/py-inferior.c (build_inferior_list): Error out if PyList_Append fails. (gdbpy_inferiors): Error out if build_inferior_list fails.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+6
* linux-nat.c (linux_nat_xfer_partial): Preserve errno around a function call.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+7
* record.c (record_restore): Move printf to before error return.
2011-03-02use gdb_test_no_output in gdb.python/py-inferior.expJoel Brobecker2-39/+44
gdb/testsuite/ChangeLog: * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of gdb_test when running a test where we expected no output back.
2011-03-022011-03-02 Yao Qi <yao@codesourcery.com>Yao Qi3-10/+74
* 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-022011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
2011-03-022011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+2
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
2011-03-022011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
2011-03-02*** empty log message ***gdbadmin1-1/+1
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* ada-lang.c (ada_make_symbol_completion_list): Replace malloc with xmalloc.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+7
* ada-lang.c (aggregate_assign_others): Rename inner scope variable which shadows function parameter.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* tracepoint.c (create_tsv_from_upload): Superfluous call to xstrdup. Callee already calls xstrdup.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-8/+7
* linespec.c (decode_line_1): Remove unnecessary null check.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+5
* tracepoint.c (scope_info): Fix mem leak, remove underused variable.
2011-03-012011-03-01 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder2-12/+12
* python/py-prettyprint.c (apply_val_pretty_printer): Remove superfluous null check.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+3
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. (value_of_builtin_frame_fp_reg): Ditto.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+4
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+4
* event-top.c (display_gdb_prompt): Remove superfluous null check.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may be null.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-6/+11
* linespec.c (decode_line_1): Check for null before dereference.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+5
* reverse.c (record_restore): Move null-check to before pointer dereference.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+2
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+7
* objc-lang.c (selectors_info): Add explanitory comment. (classes_info): Ditto.
2011-03-01 * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.Ulrich Weigand4-3/+56
(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-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* ui-out.c (ui_out_field_core_addr): Make local char buffer a little bigger, to avoid possibility of an overflow.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+7
* breakpoint.c (breakpoint_adjustment_warning): Make local char buffers a little bigger, to avoid possibility of an overflow.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* coffread.c (coff_getfilename): Add check to avoid overflow.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* objc-lang.c (selectors_info): Add a small safety margin to avoid overflow. (classes_info): Error out on too long REGEXP.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+2
* infrun.c (handle_inferior_event): Remove unused function call.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-6/+4
* fork-child.c (fork_inferior): Remove ifdef'd code and unused variable.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* linux-thread-db.c (attach_thread): Discard unused value.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+4
* linux-nat.c (linux_handle_extended_wait): Delete unused variable.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+9
* remote.c (remote_get_noisy_reply): Discard unused value. (remote_vcont_resume): Ditto. (remote_stop_ns): Ditto.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+4
* linespec.c (decode_objc): Delete unused variable.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+2
* tui/tui-regs.c (tui_register_format): Delete unused variable.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-32/+33
* dwarf2read.c (add_partial_symbol): Discard unused values. (read_base_type): Delete unused variable.
2011-03-01*** empty log message ***gdbadmin1-1/+1
2011-02-282011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+3
* dbxread.c (read_dbx_symtab): Discard unused value.
2011-02-282011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-6/+8
* eval.c (evaluate_subexp_standard): Delete unused variable, and discard unused values.
2011-02-282011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+5
* infcmd.c (_initialize_infcmd): Discard unused values.