Commit Graph

68798 Commits

Author SHA1 Message Date
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
Nick Clifton
14aa5a8bf3 * ecoff.c: Incldue filenames.h 2011-03-02 17:23:09 +00:00
Bernd Schmidt
ddcf1fcfb2 * elflink.c (is_reloc_section): Remove function.
(get_dynamic_reloc_section_name): Construct string manually.
2011-03-02 17:07:03 +00:00
Joel Brobecker
9a5193cb85 use gdb_test_no_output in gdb.python/py-inferior.exp
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-02 15:17:01 +00:00
Ian Lance Taylor
d0773f31b4 * configure.ac: Add check for gnu_indirect_function support in
the toolchain building binutils.
	* configure: Rebuild.
2011-03-02 14:51:42 +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
Sebastian Pop
b123da992d Add -lpwl to ppllibs, and -lisl to clooglibs.
2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>

	* configure.ac: Add -lpwl to ppllibs.
	* config/cloog.m4: Add -lisl to clooglibs.
	* configure: Regenerated.
2011-03-02 03:49:38 +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
gdbadmin
85c378b113 *** empty log message *** 2011-03-02 00:00:02 +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
Alan Modra
75c362b84e daily update 2011-03-01 23:00:06 +00:00
H.J. Lu
f4c37f5655 Don't use filename_cmp in plugin test DSO.
2011-03-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12529
	* testplug.c: Don't include "filenames.h".
	(onclaim_file): Don't use filename_cmp.
2011-03-01 22:55:35 +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
Alan Modra
5115b233c7 PR binutils/12523
* readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
2011-03-01 00:02:32 +00:00
gdbadmin
55e58852b9 *** empty log message *** 2011-03-01 00:00:02 +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