Commit Graph

55226 Commits

Author SHA1 Message Date
Daniel Jacobowitz 609ca2b957 * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to
determine the file's FPU type.
2007-08-22 15:16:56 +00:00
Daniel Jacobowitz 8d26208a1e gdb/testsuite/
* gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
	and t_int_double.
	* gdb.base/callfuncs.c (t_double_int, t_int_double): New.

	gdb/
	* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New.
	(mips_n32n64_push_dummy_call): Always increment float_argreg along
	with argreg.  Use mips_n32n64_fp_arg_chunk_p.
2007-08-22 15:13:04 +00:00
Daniel Jacobowitz 65728c2698 * solib-svr4.c (scan_dyntag): Only read target memory when necessary.
Fix formatting.
	(elf_locate_base): Look for DT_MIPS_RLD_MAP first.  Expand comments.
	(elf_lookup_lib_symbol): Fix formatting.
2007-08-22 14:22:02 +00:00
H.J. Lu 9a2e389ab0 2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c: Remove trailing whitespace.
	* elfxx-ia64.c: Likewise.
2007-08-22 13:44:37 +00:00
Ian Lance Taylor a6badf5a97 Add support for -E/--export-dynamic. Also clean up --help output a bit. 2007-08-22 05:06:38 +00:00
Michael Snyder 6b2d86bda4 2007-08-21 Michael Snyder <msnyder@access-company.com>
* dbxread.c (read_dbx_symtab): Guard null deref.
	Break up long line.
2007-08-22 01:57:05 +00:00
Michael Snyder a2ca50ae64 2007-08-21 Michael Snyder <msnyder@access-company.com>
* valops.c (find_overload_match): Guard against NULL.
2007-08-22 01:53:19 +00:00
Daniel Jacobowitz 54e116dd35 * MAINTAINERS (Patch Champions): Remove self. 2007-08-22 01:21:45 +00:00
Alan Modra ebbdfe3f43 daily update 2007-08-22 00:00:05 +00:00
gdbadmin 2096b6d6b8 *** empty log message *** 2007-08-22 00:00:02 +00:00
Ian Lance Taylor 4973341a7d Implement --whole-archive. 2007-08-21 23:37:56 +00:00
chatham 72a2eed757 Make relative references in linker scripts absolute and update a
comment about relocate() being called.
2007-08-21 21:29:12 +00:00
Ian Lance Taylor 0496d5e5b4 Force PT_LOAD segments to be aligned to the page size. 2007-08-21 21:03:50 +00:00
Ian Lance Taylor 41f542e70b Add support for -rpath. 2007-08-21 20:37:32 +00:00
Andreas Krebbel fcb7aa2f6b 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-mkopc.c (struct s390_cond_ext_format): New global struct.
	(s390_cond_ext_format): New global variable.
	(expandConditionalJump): New function.
	(main): Invoke expandConditionalJump for mnemonics containing '*'.
	* s390-opc.txt: Replace mnemonics with conditional
	mask extensions with instructions using the newly introduced '*' tag.
2007-08-21 15:54:30 +00:00
Jim Blandy 3fb6a9822a * gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish.
(title page): Include the dedication in the printed manual, as a
separate page after the copyright notice.
2007-08-21 15:09:59 +00:00
H.J. Lu 2f3bf80a30 2007-08-21 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_tls_transition): Accept a pointer
	to ELF hash entry instead of an integer for local test.
	(elf_i386_check_relocs): Updated.
	(elf_i386_gc_sweep_hook): Likewise.
	(elf_i386_relocate_section): Likewise.

	* elf64-x86-64.c  (elf64_x86_64_tls_transition): Accept a
	pointer to ELF hash entry instead of an integer for local
	test.
	(elf64_x86_64_check_relocs): Updated.
	(elf64_x86_64_gc_sweep_hook): Likewise.
	(elf64_x86_64_relocate_section): Likewise.
2007-08-21 13:52:54 +00:00
Daniel Jacobowitz f429d7d03d 2007-08-21 Chris Smith <chris.smith@st.com>
* cli/cli-script.c (read_command_lines): Call dont_repeat for each
	line.
2007-08-21 13:35:00 +00:00
Ben Elliston 2abc4e65ff Bring over from the GCC tree:
2007-08-21  Richard Guenther  <rguenther@suse.de>

 	* configure.ac: Add types checking to stage1 checking flags.
	* configure: Regenerate.
2007-08-21 04:15:07 +00:00
Alan Modra 6b2f2842e1 daily update 2007-08-21 00:00:05 +00:00
gdbadmin faa925f5d0 *** empty log message *** 2007-08-21 00:00:02 +00:00
Jim Blandy d3bdde981b * gdb.texinfo (The F Reply Packet): Avoid confusing texi2html:
don't break a @var across a line.
2007-08-20 19:31:11 +00:00
H.J. Lu 3bfa9139b4 2007-08-20 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_tls_transition): Break long line.
	* elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.
2007-08-20 19:13:04 +00:00
Nick Clifton 461686a323 Revision of previous delta using bfd_vma cast instead of 1L. 2007-08-20 13:23:41 +00:00
Jan Kratochvil 19ec0de70a 2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE]
	(ELF_MINPAGESIZE): Fixed its size guess.  Sanity checked its size.
	(ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.
2007-08-20 13:05:26 +00:00
Nick Clifton 75ea273619 * elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
into an offset mask in order to avoid a gcc error message.
2007-08-20 08:26:35 +00:00
Alan Modra 80a62b542e daily update 2007-08-20 00:00:05 +00:00
gdbadmin d03c968bfe *** empty log message *** 2007-08-20 00:00:03 +00:00
gdbadmin edd7c692e6 *** empty log message *** 2007-08-19 00:00:34 +00:00
Alan Modra 20e65cddfd daily update 2007-08-19 00:00:05 +00:00
Michael Snyder 31e9f6b6be 2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
* stabsread.c (dbx_lookup_type): Memory leak.
2007-08-18 20:22:27 +00:00
Michael Snyder 32107cd542 2007-08-18 Michael Snyder <msnyder@access-company.com>
* event-loop.c (delete_async_signal_handler): Move pointer null
	test to before pointer dereference.
2007-08-18 20:05:48 +00:00
Michael Snyder 44db85f8e2 2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
* ui-out.c (append_header_to_list): Possible cut and paste error.
2007-08-18 19:45:48 +00:00
Michael Snyder a287cea675 2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
* MAINTAINERS: white space tweak.
2007-08-18 19:39:45 +00:00
Joseph Myers 8a6ee3abcc 2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers  <joseph@codesourcery.com>

	* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
	(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
	* Makefile.in: Regenerate.
	* configure.ac (--with-debug-prefix-map): New.
	* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* mt-gnu (CXXFLAGS_FOR_TARGET): Add
	$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
2007-08-18 15:19:10 +00:00
Joel Brobecker 4fcb9948bf * gdb.base/step-line.c: Switch license to GPL version 3, and
update copyright year.
        * gdb.base/step-line.inp: Likewise.
2007-08-18 02:13:15 +00:00
Alan Modra b4346c091b * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example. 2007-08-18 01:36:57 +00:00
Joel Brobecker b9c34f673c * gdb.base/gdb1555.exp: Make expected output immune to formatting
changes inside gdb1555.c.
        * gdb.base/pending.exp: Likewise.
2007-08-18 01:21:42 +00:00
Michael Snyder f91162e199 2007-08-17 Michael Snyder <msnyder@access-company.com>
* stack.c (print_frame): Memory leak.
2007-08-18 00:21:03 +00:00
Michael Snyder 1e8189fbb5 2007-08-17 Michael Snyder <msnyder@access-company.com>
* completer.c (filename_completer): Avoid memory leak.
	Remove unnecessary nested block.
2007-08-18 00:17:08 +00:00
gdbadmin 67f5fb248e *** empty log message *** 2007-08-18 00:00:33 +00:00
Alan Modra 0b455322f0 daily update 2007-08-18 00:00:06 +00:00
Michael Snyder 348038cd50 2007-08-17 Michael Snyder <msnyder@access-company.com>
* c-exp.y (parse_number): Memory leak.
2007-08-17 23:27:42 +00:00
Michael Snyder 1f20ed9160 2007-08-17 Michael Snyder <msnyder@access-company.com>
* completer.c (location_completer): Must free 'fn_list', except
	in the one case where it is returned (as 'list').
2007-08-17 23:24:18 +00:00
Michael Snyder 74dddad306 2007-08-17 Michael Snyder <msnyder@access-company.com>
* varobj.c (value_of_root): Memory leak.
2007-08-17 23:17:30 +00:00
Michael Snyder 0bd9908d01 2007-08-17 Michael Snyder <msnyder@access-company.com>
* gdbtypes.h (virtual_base_list): Remove export decl.
	* gdbtypes.c (virtual_base_list): Make static.  Not called outside.
	(virtual_base_index): Memory leak.
	(virtual_base_index_skip_primaries): Ditto.
2007-08-17 23:12:47 +00:00
Jakub Jelinek 7e976ae46d * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

	* configure.host: Handle sparcv*-*-linux-* the same as
	sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

	* ld-sparc/tlssunnopic32.dd: Fix up #target.
	* ld-sparc/tlssunnopic32.rd: Likewise.
	* ld-sparc/tlssunnopic32.sd: Likewise.
	* ld-sparc/tlssunnopic64.dd: Likewise.
	* ld-sparc/tlssunnopic64.rd: Likewise.
	* ld-sparc/tlssunnopic64.sd: Likewise.
2007-08-17 22:00:11 +00:00
Maxim Grigoriev bdb4c075a2 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
* xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
	(C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
	(C0_CONST, C0_INEXP, C0_NOSTK): New macros.
	(xtensa_read_register): New function.
	(xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
	(xtensa_insn_kind): New types.
	(xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
	(xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
	(xtensa_verify_config, xtensa_pseudo_register_read)
	(xtensa_pseudo_register_write, xtensa_extract_return_value)
	(xtensa_store_return_value)
	(xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
	(windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
	(xtensa_frame_this_id, xtensa_frame_prev_register)
	(xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
	(call0_frame_cache, call0_frame_get_reg_at_entry)
	(call0_classify_opcode, call0_track_op)
	(call0_analyze_prologue, call0_frame_cache): New functions.
2007-08-17 21:53:29 +00:00
DJ Delorie cefec4092d merge from gcc 2007-08-17 19:31:01 +00:00
Vladimir Prus 198757a8b1 * breakpoint.c (bpstat_free): New.
(bpstat_clear): Use bpstat_free.
	(delete_breakpoint): Document why we cannot
	remove bpstats from stop_bpstat.
	* breakpoint.h (bpstat_free): Declare.
2007-08-17 17:06:04 +00:00