Age | Commit message (Collapse) | Author | Files | Lines |
|
* maint.c (maintenance_do_deprecate): No need to check for NULL.
|
|
* cli/cli-script.c (script_from_file): Add break for lint.
|
|
|
|
* mdebugread.c (parse_partial_symbols): Fix indent.
|
|
* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
with xmalloc.
|
|
* target-descriptions.c (tdesc_gdb_type): No need to call
xstrdup, callee saves a copy.
|
|
* printcmd.c (print_scalar_formatted): Use strncpy for safety.
|
|
* infcall.c (call_function_by_hand): Add break statements for lint.
|
|
* utils.c (parse_escape): Escape the escape char.
|
|
* python/py-inferior.c (build_inferior_list): Error out if
PyList_Append fails.
(gdbpy_inferiors): Error out if build_inferior_list fails.
|
|
* linux-nat.c (linux_nat_xfer_partial): Preserve errno around
a function call.
|
|
* record.c (record_restore): Move printf to before error return.
|
|
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.
|
|
* 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.
|
|
* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
|
|
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
|
|
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
|
|
|
|
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
|
|
* ada-lang.c (ada_make_symbol_completion_list): Replace malloc
with xmalloc.
|
|
* ada-lang.c (aggregate_assign_others): Rename inner scope variable
which shadows function parameter.
|
|
* tracepoint.c (create_tsv_from_upload): Superfluous call
to xstrdup. Callee already calls xstrdup.
|
|
* linespec.c (decode_line_1): Remove unnecessary null check.
|
|
* tracepoint.c (scope_info): Fix mem leak, remove underused
variable.
|
|
* python/py-prettyprint.c (apply_val_pretty_printer): Remove
superfluous null check.
|
|
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
(value_of_builtin_frame_fp_reg): Ditto.
|
|
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
|
|
* event-top.c (display_gdb_prompt): Remove superfluous null check.
|
|
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
be null.
|
|
* linespec.c (decode_line_1): Check for null before dereference.
|
|
* reverse.c (record_restore): Move null-check to before pointer
dereference.
|
|
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
|
|
* objc-lang.c (selectors_info): Add explanitory comment.
(classes_info): Ditto.
|
|
(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.
|
|
* ui-out.c (ui_out_field_core_addr): Make local char buffer
a little bigger, to avoid possibility of an overflow.
|
|
* breakpoint.c (breakpoint_adjustment_warning): Make local char
buffers a little bigger, to avoid possibility of an overflow.
|
|
* coffread.c (coff_getfilename): Add check to avoid overflow.
|
|
* objc-lang.c (selectors_info): Add a small safety margin to
avoid overflow.
(classes_info): Error out on too long REGEXP.
|
|
* infrun.c (handle_inferior_event): Remove unused function call.
|
|
* fork-child.c (fork_inferior): Remove ifdef'd code and
unused variable.
|
|
* linux-thread-db.c (attach_thread): Discard unused value.
|
|
* linux-nat.c (linux_handle_extended_wait): Delete unused variable.
|
|
* remote.c (remote_get_noisy_reply): Discard unused value.
(remote_vcont_resume): Ditto.
(remote_stop_ns): Ditto.
|
|
* linespec.c (decode_objc): Delete unused variable.
|
|
* tui/tui-regs.c (tui_register_format): Delete unused variable.
|
|
* dwarf2read.c (add_partial_symbol): Discard unused values.
(read_base_type): Delete unused variable.
|
|
|
|
* dbxread.c (read_dbx_symtab): Discard unused value.
|
|
* eval.c (evaluate_subexp_standard): Delete unused variable,
and discard unused values.
|
|
* infcmd.c (_initialize_infcmd): Discard unused values.
|