Michael Snyder
10dd8b5466
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* cli/cli-script.c (script_from_file): Add break for lint.
2011-03-03 00:14:00 +00:00
Michael Snyder
b98bd91194
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* mdebugread.c (parse_partial_symbols): Fix indent.
2011-03-02 23:54:16 +00:00
Michael Snyder
c3e8aadde1
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
with xmalloc.
2011-03-02 23:40:42 +00:00
Michael Snyder
3494b66d76
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* target-descriptions.c (tdesc_gdb_type): No need to call
xstrdup, callee saves a copy.
2011-03-02 23:14:32 +00:00
Michael Snyder
daac021a6c
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* printcmd.c (print_scalar_formatted): Use strncpy for safety.
2011-03-02 22:56:44 +00:00
Michael Snyder
c38d16a719
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* infcall.c (call_function_by_hand): Add break statements for lint.
2011-03-02 22:21:45 +00:00
Michael Snyder
905b671bb7
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* utils.c (parse_escape): Escape the escape char.
2011-03-02 22:11:27 +00:00
Michael Snyder
2d5657570d
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* python/py-inferior.c (build_inferior_list): Error out if
PyList_Append fails.
(gdbpy_inferiors): Error out if build_inferior_list fails.
2011-03-02 21:19:54 +00:00
Michael Snyder
8c6a60d1e6
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* linux-nat.c (linux_nat_xfer_partial): Preserve errno around
a function call.
2011-03-02 18:27:41 +00:00
Michael Snyder
d42de051e7
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* record.c (record_restore): Move printf to before error return.
2011-03-02 18:09:11 +00:00
Yao Qi
4db71c0b79
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-02 05:33:37 +00:00
Michael Snyder
53624a9319
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
2011-03-02 01:09:52 +00:00
Michael Snyder
777666697a
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
2011-03-02 00:42:53 +00:00
Michael Snyder
62d5b8da6a
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
2011-03-02 00:37:29 +00:00
Michael Snyder
5e9e105f92
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
2011-03-01 23:42:44 +00:00
Michael Snyder
dc19db01c1
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* ada-lang.c (ada_make_symbol_completion_list): Replace malloc
with xmalloc.
2011-03-01 23:07:40 +00:00
Michael Snyder
5ce6495039
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* ada-lang.c (aggregate_assign_others): Rename inner scope variable
which shadows function parameter.
2011-03-01 22:42:33 +00:00
Michael Snyder
a0aa28782e
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* tracepoint.c (create_tsv_from_upload): Superfluous call
to xstrdup. Callee already calls xstrdup.
2011-03-01 22:24:30 +00:00
Michael Snyder
e325fb69b4
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* linespec.c (decode_line_1): Remove unnecessary null check.
2011-03-01 22:16:40 +00:00
Michael Snyder
21cbba772b
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* tracepoint.c (scope_info): Fix mem leak, remove underused
variable.
2011-03-01 22:13:48 +00:00
Michael Snyder
63360adcb4
2011-03-01 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
...
* python/py-prettyprint.c (apply_val_pretty_printer): Remove
superfluous null check.
2011-03-01 21:54:53 +00:00
Michael Snyder
23ce9890d5
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
(value_of_builtin_frame_fp_reg): Ditto.
2011-03-01 21:51:35 +00:00
Michael Snyder
18ea20acd4
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
2011-03-01 21:46:42 +00:00
Michael Snyder
d014929c51
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* event-top.c (display_gdb_prompt): Remove superfluous null check.
2011-03-01 21:12:27 +00:00
Michael Snyder
6e9130cf1b
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
be null.
2011-03-01 21:03:22 +00:00
Michael Snyder
5f01dbc03c
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* linespec.c (decode_line_1): Check for null before dereference.
2011-03-01 20:57:52 +00:00
Michael Snyder
d684ab85a3
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* reverse.c (record_restore): Move null-check to before pointer
dereference.
2011-03-01 20:24:48 +00:00
Michael Snyder
bfffb7e32f
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
2011-03-01 19:00:16 +00:00
Michael Snyder
a9dc8dcca3
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* objc-lang.c (selectors_info): Add explanitory comment.
(classes_info): Ditto.
2011-03-01 18:51:06 +00:00
Ulrich Weigand
478fd957f7
* 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-03-01 18:20:23 +00:00
Michael Snyder
ac50ab3b44
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* 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:31:27 +00:00
Michael Snyder
f63fbe86f6
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* breakpoint.c (breakpoint_adjustment_warning): Make local char
buffers a little bigger, to avoid possibility of an overflow.
2011-03-01 02:16:56 +00:00
Michael Snyder
9e91a35206
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* coffread.c (coff_getfilename): Add check to avoid overflow.
2011-03-01 01:58:33 +00:00
Michael Snyder
2828854127
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* objc-lang.c (selectors_info): Add a small safety margin to
avoid overflow.
(classes_info): Error out on too long REGEXP.
2011-03-01 01:44:24 +00:00
Michael Snyder
098ab5127c
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* infrun.c (handle_inferior_event): Remove unused function call.
2011-03-01 01:00:31 +00:00
Michael Snyder
bcbd1de94d
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* fork-child.c (fork_inferior): Remove ifdef'd code and
unused variable.
2011-03-01 00:52:19 +00:00
Michael Snyder
2e45657036
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* linux-thread-db.c (attach_thread): Discard unused value.
2011-03-01 00:46:09 +00:00
Michael Snyder
14571dad8b
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* linux-nat.c (linux_handle_extended_wait): Delete unused variable.
2011-03-01 00:40:22 +00:00
Michael Snyder
a9cbf80297
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* remote.c (remote_get_noisy_reply): Discard unused value.
(remote_vcont_resume): Ditto.
(remote_stop_ns): Ditto.
2011-03-01 00:34:27 +00:00
Michael Snyder
5715d26e12
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* linespec.c (decode_objc): Delete unused variable.
2011-03-01 00:26:14 +00:00
Michael Snyder
4a9bca80ec
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* tui/tui-regs.c (tui_register_format): Delete unused variable.
2011-03-01 00:11:07 +00:00
Michael Snyder
f47fb26507
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* dwarf2read.c (add_partial_symbol): Discard unused values.
(read_base_type): Delete unused variable.
2011-03-01 00:07:20 +00:00
Michael Snyder
e81cff30fa
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* dbxread.c (read_dbx_symtab): Discard unused value.
2011-02-28 23:55:18 +00:00
Michael Snyder
262acaeb48
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* eval.c (evaluate_subexp_standard): Delete unused variable,
and discard unused values.
2011-02-28 23:47:39 +00:00
Michael Snyder
df983543b9
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* infcmd.c (_initialize_infcmd): Discard unused values.
2011-02-28 23:37:07 +00:00
Michael Snyder
89acf84dce
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* stabsread.c (rs6000_builtin_type): Missing break statement.
2011-02-28 23:32:27 +00:00
Michael Snyder
ab8b8acaef
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* dbxread.c (process_one_symbol): Discard unused value.
2011-02-28 23:23:05 +00:00
Michael Snyder
6b4511abfd
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* coffread.c (coff_end_symtab): Delete unused variable.
2011-02-28 23:17:07 +00:00
Michael Snyder
e8e80198e9
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* 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 23:12:56 +00:00
Michael Snyder
976aa66e89
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
2011-02-28 22:55:06 +00:00