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
Michael Snyder
5b92b49f16
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
2011-02-28 22:49:57 +00:00
Michael Snyder
91e8df85d8
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* p-valprint.c (pascal_val_print): Discard unused value.
2011-02-28 22:45:16 +00:00
Michael Snyder
899500d6a4
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* utils.c (nquery): Call va_end before return;
(yquery): Ditto.
(query): Ditto.
2011-02-28 22:20:05 +00:00
Michael Snyder
0480cefa09
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* proc-service.c (ps_plog): Call va_end before return.
2011-02-28 22:11:02 +00:00
Tom Tromey
fb6a3ed393
* 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 19:38:34 +00:00
Michael Snyder
e463f58791
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* python/py-cmd.c (cmdpy_init): Fix memory leak.
2011-02-28 18:55:22 +00:00
Michael Snyder
c38eea1ac5
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* breakpoint.c (catch_syscall_completer): Free malloced list.
2011-02-28 18:48:18 +00:00
Michael Snyder
3ef09ab522
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* jv-lang.c (java_primitive_type_from_name): Add missing break.
2011-02-28 18:43:27 +00:00
Michael Snyder
8f9a01eece
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* opencl-lang.c (lval_func_check_validity): Rename inner variables.
(lval_func_check_synthetic_pointer): Ditto.
2011-02-28 18:40:31 +00:00
Michael Snyder
c05202a107
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* opencl-lang.c (lval_func_free_closure): Fix use-after-free.
2011-02-28 18:31:36 +00:00
Michael Snyder
92e961922a
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* python/py-param.c (set_parameter_value): Add missing
break statement.
2011-02-28 18:28:19 +00:00
Tom Tromey
477d0d57b0
* psymtab.c (expand_partial_symbol_tables): Use
...
ALL_OBJFILE_PSYMTABS.
2011-02-28 18:16:59 +00:00
Jan Kratochvil
2093702991
gdb/
...
* objc-lang.c (selectors_info): Error on too long REGEXP.
2011-02-28 18:14:34 +00:00