Commit Graph

69472 Commits

Author SHA1 Message Date
Yao Qi 3eb2ef34ff 2011-05-04 Yao Qi <yao@codesourcery.com>
* gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
	and __thumb2__.
2011-05-04 06:40:28 +00:00
Yao Qi f70bd40b64 2011-05-04 Yao Qi <yao@codesourcery.com>
* gdb_wait.h: remove WAITTYPE and WCOREDUMP.
2011-05-04 06:28:45 +00:00
Alan Modra 9507a174f5 PR ld/12727
* elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear
	was_undefined on dot-symbols.
2011-05-04 00:31:41 +00:00
gdbadmin 7efa8b093e *** empty log message *** 2011-05-04 00:00:32 +00:00
Alan Modra 631a6e6f4e daily update 2011-05-04 00:00:08 +00:00
Marek Polacek aaaf81a302 Fix races in gdb.base/pr10179.exp. 2011-05-03 18:02:00 +00:00
Joel Brobecker dd3295eed0 Revert "elfread.c (elf_symtab_read): Stop memory leak"
It turns out that this change is not correct, and it causes a crash
on sparc-solaris while trying to load ld.so.  This is because the
memory is actually still referenced after elf_symtab_read completes.

gdb/ChangeLog:

        * elfread.c (elf_symtab_read): Revert the previous change
        that tried to stop a memory leak.
2011-05-03 16:22:39 +00:00
Joel Brobecker 9ed350ad08 Fix uses of litteral `GDB' in `In Memoriam' appendix.
@value{GDBN} should be used in place of GDB, so this patch fixes it.

gdb/doc/ChangeLog:

        * gdb.texinfo (In Memoriam): Replace litteral uses of `GDB' with
        `@value{GDBN}'.
2011-05-03 15:18:10 +00:00
Joel Brobecker 4ceed12377 new `In Memoriam' appendix in GDB Manual
This change removes the dedication of the manual to Fred Fish.
It also creates a new `In Memoriam' appendix, where Fred Fish
and Michael Snyder are mentioned.

gdb/doc/ChangeLog:

        * gdb.texinfo (titlepage): Remove dedication.
        (In Memoriam): New appendix.
2011-05-03 15:09:01 +00:00
Alan Modra 2f65ac726a PR ld/12726
* ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
	* ldexp.c (exp_fold_tree_1): Correct assign to dot comment.  Don't
	assign to dot when lang_assigning_phase_enum.
	* ldlang.h (lang_do_assignments): Update prototype.
	* ldlang.c (lang_do_assignments): Add phase parameter.  Update all
	callers.
	* pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
	lang_do_assignments calls.
2011-05-03 14:56:14 +00:00
Paul Brook 2fbb87f627 2011-05-03 Paul Brook <paul@codesourcery.com>
bfd/
	* elf32-tic6x.c (elf32_tic6x_howto_table,
	elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook,
	elf32_tic6x_relocate_section, elf32_tic6x_check_relocs):
	Add R_C6000_EHTYPE.

	gas/
	* config/tc-tic6x.c (s_ehtype): New function.
	(md_pseudo_table): Add "ehtype".
	(tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
	* doc/c-tic6x.texi: Document .ehtype directive.

	ld/testsuite/
	* ld-tic6x/ehtype-reloc-1-rel.d: New test.
	* ld-tic6x/ehtype-reloc-1.d: New test.
	* ld-tic6x/ehtype-reloc-1.s: New test.
2011-05-03 11:17:22 +00:00
Tristan Gingold f83a48cea0 2011-05-03 Tristan Gingold <gingold@adacore.com>
* rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
	SYMNMLEN.
2011-05-03 09:21:05 +00:00
Pierre Muller 90375a0e4d * nto-tdep.c (nto_target): Replace deprecated call to
cygwin_conv_to_posix_path functions by cygwin_conv_path calls.
2011-05-03 08:46:06 +00:00
Jakub Jelinek 0892011df2 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
	and DW_OP_GNU_reinterpret.
2011-05-03 08:43:14 +00:00
Jakub Jelinek 1cd48f989a * MAINTAINERS: Add myself as DWARF2 maintainer. 2011-05-03 08:33:42 +00:00
Jan Kratochvil d07205c2f7 gdb/
Fix false GCC warning.
	* breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state.
2011-05-03 07:29:17 +00:00
Thiago Jung Bauermann 1e718ff1cc * breakpoint.c (update_watchpoint): Move code to change
the enable state of breakpoint from here ...
	(do_enable_breakpoint): ... to here.
2011-05-03 05:02:54 +00:00
Alan Modra 007247d891 daily update 2011-05-03 00:00:06 +00:00
gdbadmin c22cf4aea8 *** empty log message *** 2011-05-03 00:00:03 +00:00
Pedro Alves c4cbc0dffd 2011-05-02 Pedro Alves <pedro@codesourcery.com>
PR testsuite/12649
	Fix races.

	* gdb.base/completion.exp: Remove all sleep calls.  Remove
	unnecessary regexs.  Don't explicitly expect anything after the
	prompt.  Eat the prompt if necessary.
2011-05-02 17:52:28 +00:00
Edjunior Barbosa Machado b4cbb4a365 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
accept to show the caller line again as well as the line after.
2011-05-02 17:07:10 +00:00
H.J. Lu fde6f1fc67 Add testcases for "ar -d" and "ar -m".
2011-05-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/12720
	* binutils-all/ar.exp (delete_an_element): New.
	(move_an_element): Likewise.
	Run delete_an_element and move_an_element.
2011-05-02 12:47:47 +00:00
Alan Modra 4510857d06 PR binutils/12720
Revert the following change
	Michael Snyder  <msnyder@vmware.com>
	* ar.c (move_members): Plug memory leak.
	(delete_members): Plug memory leak.
2011-05-02 06:04:11 +00:00
Paul Pluzhnikov f33edef842 Properly TABify ChangeLog; take 2 2011-05-02 00:21:28 +00:00
Paul Pluzhnikov 7829026487 Properly TABify ChangeLog 2011-05-02 00:18:41 +00:00
gdbadmin c73f336eb9 *** empty log message *** 2011-05-02 00:00:33 +00:00
Alan Modra 60cc583b24 daily update 2011-05-02 00:00:05 +00:00
H.J. Lu 2abca860af Add testcases for PR ld/12718.
2011-05-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12718
	* ld-i386/i386.exp: Run pr12718.
	* ld-x86-64/x86-64.exp: Likewise.

	* ld-i386/pr12718.d: New.
	* ld-i386/pr12718.s: Likewise.
	* ld-x86-64/pr12718.d: Likewise.
	* ld-x86-64/pr12718.s: Likewise.
2011-05-01 13:38:22 +00:00
Alan Modra 9d4057ee3b PR ld/12718
* elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before
	creating ifunc sections.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
2011-05-01 12:04:10 +00:00
Alan Modra dee71c492f daily update 2011-05-01 00:00:05 +00:00
gdbadmin eff750b8ca *** empty log message *** 2011-05-01 00:00:04 +00:00
H.J. Lu 71e7aa7dc6 Correct parameter names for elf_x86_64_merge_symbol.
2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>

	* elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter
	names.
2011-04-30 17:56:35 +00:00
H.J. Lu e17de01501 Update binutils-all/x86-64/compressed-1a.d.
2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>

	* binutils-all/x86-64/compressed-1a.d: Adjust for change in output
	format.
2011-04-30 13:17:19 +00:00
Jakub Jelinek d46ab8325e * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
2011-04-30 11:01:35 +00:00
gdbadmin a432eb7e3d *** empty log message *** 2011-04-30 00:00:33 +00:00
Alan Modra 0b0743f9fc daily update 2011-04-30 00:00:10 +00:00
Tom Tromey 35bef4fd1d 2011-04-26 Andrew Gontarek <andrewg@cray.com>
* valprint.c (val_print_array_elements): Fixed poor performance
       of printing very large arrays with repeat_count_threshold set
       to unlimited.  New comment.
2011-04-29 19:23:39 +00:00
Tom Tromey 38a714bb6f * mi/mi-parse.c (mi_parse): Remove incorrect sizeof.
(mi_parse): Likewise.
	* breakpoint.c (break_range_command): Use sizeof char*, not
	char**.
	(create_breakpoint): Likewise.
	(parse_breakpoint_sals): Likewise.
2011-04-29 18:44:15 +00:00
Pedro Alves eb73ad1353 * linux-nat.c (linux_child_remove_fork_catchpoint)
(linux_child_remove_vfork_catchpoint)
	(linux_child_remove_exec_catchpoint): New functions.
	(linux_target_install_ops): Install them.
2011-04-29 15:54:12 +00:00
Phil Muldoon d65aec65d9 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
PR mi/12531

	* varobj.c (install_default_visualizer): Do not install a
	visualizer if the varobj is CPLUS_FAKE_CHILD.
	(construct_visualizer): Likewise.

2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>

	PR mi/12531

	* gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
	compile target.
	* gdb.python/py-prettyprint.exp: Add C++ object for
	CPLUS_FAKE_CHILD test.
2011-04-29 12:45:46 +00:00
Hans-Peter Nilsson b15d6aa360 * binutils-all/i386/compressed-1a.d: Adjust for change in output
format.
2011-04-29 01:45:51 +00:00
Hans-Peter Nilsson b8bbfecaed * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
output format.
	* gas/i386/dw2-compress-1.d: Ditto.
2011-04-29 01:45:06 +00:00
Alan Modra 06324896f3 daily update 2011-04-29 00:00:05 +00:00
gdbadmin b236bd73c5 *** empty log message *** 2011-04-29 00:00:03 +00:00
Tom Tromey b5dee4ead1 * bfdio.c (memory_bstat): Pass correct size to memset. 2011-04-28 20:36:50 +00:00
Jan Kratochvil 165195f46b gdb/
* symtab.c (expand_partial_symbol_name): New variable NCMP.  Support
	case insensitive comparison.
2011-04-28 17:37:06 +00:00
Tom Tromey fd2f003344 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
dwarf-mode.el.
	* objdump.c (suppress_bfd_header): New global.
	(usage): Update.
	(OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
	(options): Add dwarf-depth and dwarf-start entries.
	(dump_bfd): Use suppress_bfd_header.
	(main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
	* doc/binutils.texi (objcopy): Document --dwarf-depth and
	--dwarf-start.
	(readelf): Likewise.
	* dwarf-mode.el: New file.
	* dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
	(read_and_display_attr_value): Also check debug_info_p.
	(process_debug_info): Handle dwarf_start_die and
	dwarf_cutoff_level.
	* dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
	* readelf.c (usage): Update.
	(OPTION_DWARF_DEPTH): New macro.
	(OPTION_DWARF_START): Likewise.
	(options): Add dwarf-depth and dwarf-start entries.
	(parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
testsuite
	* binutils-all/objdump.W: Correct output.
2011-04-28 17:23:17 +00:00
Joseph Myers 82ae827f9b * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*,
	arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove
	cases in libgcj-disabling case statement.
	(hppa*64*-*-linux*): Set unsupported_languages instead of
	disabling target-zlib.
	(hppa*64*-*-*): Restrict case in libgcj-disabling case statement
	to hppa*64*-*-hpux*.
	(hppa*-*-*): Restrict case in libgcj-disabling case statement to
	hppa*-*-hpux*.
	(ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf,
	i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*,
	i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* |
	fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* |
	powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*,
	sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* |
	sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* |
	*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in
	libgcj-disabling case statement.
	* configure: Regenerate.
2011-04-28 16:46:34 +00:00
Ulrich Weigand 3085278312 gdb/
* infrun.c (proceed): Revert previous change.
	(resume): Instead, handle the case of signal delivery while stepping
	off a breakpoint location here, and only if software single-stepping
	is used.  Handle nested signals.

	gdb/testsuite/
	* gdb.base/signest.exp: New file.
	* gdb.base/signest.c: Likewise.
2011-04-28 15:53:00 +00:00
Alan Modra e0605dbe1c PR ld/12614
* emultempl/pe.em (_after_open): Correctly check whether symbol is
	in undef list.
2011-04-28 15:29:42 +00:00