Commit Graph

45750 Commits

Author SHA1 Message Date
H.J. Lu dc4f76f869 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
* genscripts.sh (libpath.exp): Really generate for first
	emulation only.
2004-10-21 15:20:35 +00:00
Joel Brobecker 43360365b4 * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
(ARCH_SET_FS): Likewise.
        (ARCH_GET_FS): Likewise.
        (ARCH_GET_GS): Likewise.
2004-10-21 04:10:48 +00:00
Joel Brobecker ca7d6a0cb5 * gdb.ada/null_record.exp: Check where we stopped after
sending the start command, instead of where the associated
        temporary breakpoint was inserted.
2004-10-21 03:55:08 +00:00
Joel Brobecker 5bccb4d1df * symtab.h: Fix typo in comment. 2004-10-21 00:52:30 +00:00
Alan Modra a6b6b87b69 daily update 2004-10-21 00:00:07 +00:00
gdbadmin a40105afc8 *** empty log message *** 2004-10-21 00:00:06 +00:00
Andreas Schwab 1715e0e33e * elf32-m68k.c (elf_m68k_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
2004-10-20 21:29:45 +00:00
Danny Smith db3d41a858 * config.bfd: Set targ_underscore=yes for PE COFF targets. 2004-10-20 01:58:47 +00:00
Alan Modra 3d7e772352 daily update 2004-10-20 00:00:06 +00:00
gdbadmin ca6b4a3bb9 *** empty log message *** 2004-10-20 00:00:02 +00:00
Mark Kettenis a738430dd6 * dwarf2read.c (struct comp_unit_head): Fix coding style.
(dwarf_decode_line_header): Likewise.
2004-10-19 20:28:56 +00:00
Danny Smith 2a08daf3f5 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
comparison and replacement of filenames.
2004-10-19 20:07:32 +00:00
Michael Chastain f2cb65cafb 2004-10-19 Michael Chastain <mec.gnu@mindspring.com>
* NEWS: GDB works with GCC -feliminate-dwarf2-dups.
2004-10-19 19:43:50 +00:00
H.J. Lu 5ab0c1a196 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_section_groups): Free symtab after use.
2004-10-19 19:30:33 +00:00
Andrew Cagney 1c0f67c194 2004-10-19 Andrew Cagney <cagney@gnu.org>
* src-release (do-djunpack, do-md5sum): Install the generated file
	directly into the proto-toplev/ directory.
2004-10-19 18:52:04 +00:00
Andrew Cagney 09e55376ec 2004-10-19 Andrew Cagney <cagney@gnu.org>
GDB 6.3 branch created.
	* version.in: Bump to version 6.3.50_2004-10-19-cvs.
2004-10-19 18:18:40 +00:00
Andrew Cagney a9cfce9c9d 2004-10-19 Andrew Cagney <cagney@gnu.org>
* src-release (GDB_SUPPORT_DIRS): Remove utils and intl.
2004-10-19 18:11:16 +00:00
H.J. Lu 0e99ae0cc2 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/exclude.exp: Allow cris-*-elf.

	* ld-elf/exclude1.s: Add ".data". Remove "- include_sym".
	* ld-elf/exclude2.s: Add ".data".
2004-10-19 17:14:38 +00:00
H.J. Lu 532345f2da 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR 459
	* ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
	option on linker script as the one for linker script.
2004-10-19 15:44:58 +00:00
Alan Modra 4b85d634bf * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
(ppc64_elf_edit_opd): Likewise.
2004-10-19 12:00:58 +00:00
Mark Mitchell 6df4d94c68 * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT,
	set SEC_ALLOC and SEC_LOAD.
2004-10-19 06:02:46 +00:00
Hans-Peter Nilsson cad5e2c2ac * ld-elf/exclude.exp: Don't run for cris-*-elf. 2004-10-19 05:02:49 +00:00
Alan Modra 1c5a9c8047 daily update 2004-10-19 00:00:05 +00:00
gdbadmin 10408d8807 *** empty log message *** 2004-10-19 00:00:02 +00:00
Nick Clifton d412a550d4 strings.c (usage): Place radix values for -t option into the correct order.
objcopy.c (add_redefine_syms_file): Change error messages to use
  <filename>:<linenumber>: format for easier parsing by automatic tools.

srconv.c (show_usage): Fix spelling typo.

windres.c (format_from_filename): Suggest the use of -J instead	of -I if the
  file type cannot be determined.
2004-10-18 14:04:40 +00:00
Nick Clifton fb608b9209 strings.c: Include <sys/stat.h>. 2004-10-18 13:44:48 +00:00
Alan Modra bb41ade59e * config/tc-i386.c (O_secrel): Delete.
(tc_pe_dwarf2_emit_offset): New function.
	* config/tc-i386.h (O_secrel): Define as O_md1.
	(TC_DWARF2_EMIT_OFFSET): Define.
2004-10-18 12:32:13 +00:00
Nick Clifton 00d962d155 Compute 'name' for relocs against both local and global symbols. 2004-10-18 08:06:31 +00:00
Nick Clifton 87e6234853 Accept and ignore @fptr() directives for 4-byte fixups. 2004-10-18 08:02:25 +00:00
Alan Modra 7f67d4c98a * budemang.c (demangle): Fix thinko. 2004-10-18 07:26:30 +00:00
Alan Modra 2bb2d727c1 * budemang.c (demangle): Handle "@plt" suffix. 2004-10-18 07:08:52 +00:00
Alan Modra 40d98813d0 daily update 2004-10-18 00:00:06 +00:00
gdbadmin febd16c23a *** empty log message *** 2004-10-18 00:00:02 +00:00
Alan Modra e814958604 daily update 2004-10-17 00:00:06 +00:00
gdbadmin 17a20941ba *** empty log message *** 2004-10-17 00:00:02 +00:00
Daniel Jacobowitz b58f81aef6 bfd/
* bfd-in2.h: Regenerate.
	* bfd.c (struct bfd): Add no_export.
	* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
	* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
	(check_excluded_libs): New.
	(load_symbols): Call check_excluded_libs.
	* ldlang.h (add_excluded_libs): New prototype.
	* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
	(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
	(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
	* ld.texinfo (Command Line Variables): Document --exclude-libs.
	(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
	* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.
2004-10-16 18:13:54 +00:00
Daniel Jacobowitz fd5008162e * linux-i386-low.c (ps_get_thread_area): New.
* linux-x86-64-low.c (ps_get_thread_area): New.
	* linux-low.c: Include <sys/syscall.h>.
	(linux_kill_one_process): Don't kill the first thread here.
	(linux_kill): Kill the first thread here.
	(kill_lwp): New function.
	(send_sigstop, linux_send_signal): Use it.
	* proc-service.c: Clean up #ifdefs.
	(fpregset_info): Delete.
	(ps_lgetregs): Update and enable implementation.
	(ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled
	implementations.
	* remote-utils.c (struct sym_cache, symbol_cache): New.
	(input_interrupt): Print a clearer message.
	(async_io_enabled): New variable.
	(enable_async_io, disable_async_io): Use it.  Update comments.
	(look_up_one_symbol): Use the symbol cache.
	* thread-db.c (thread_db_look_up_symbols): New function.
	(thread_db_init): Update comments.  Call thread_db_look_up_symbols.
2004-10-16 17:42:00 +00:00
Daniel Jacobowitz f6de3c42a3 * configure.in: Test for -rdynamic.
* configure: Regenerated.
	* Makefile (INTERNAL_LDFLAGS): New.
	(gdbserver, gdbreplay): Use it.
2004-10-16 16:18:54 +00:00
Joel Brobecker bc5f45f8ff * dwarf2read.c (set_cu_language): Set language to Ada for
DW_LANG_Ada83 and DW_LANG_Ada95.
2004-10-16 00:41:00 +00:00
Alan Modra a872aebf0a daily update 2004-10-16 00:00:07 +00:00
gdbadmin 493d1ce280 *** empty log message *** 2004-10-16 00:00:04 +00:00
Michael Chastain 2941da8cd7 2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
From Andreas Schwab <schwab@suse.de>:
	* Makefile.in (.y.c, .l.c.): Fix the substitutions for
	for xmalloc and xrealloc.
2004-10-15 16:17:34 +00:00
Andrew Cagney 34a17005a8 2004-10-15 Andrew Cagney <cagney@gnu.org>
* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
	* inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
	* Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
	Update dependencies.
2004-10-15 13:29:33 +00:00
Paul N. Hilfinger 714e53abda * ada-lang.c (ada_lookup_symbol): Correct comment.
(ada_evaluate_subexp): Change error message for
OP_FUNCALL case so as not to indicate an internal error.

From Joel Brobecker; committed by Paul Hilfinger.
* ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus
type sizes in XVE/XVU types, and emit a warning when that happens,
instead of rounding up the size of the resulting type.
Some minor reformatting.
(ada_is_aligner_type): Do not consider a type as an aligner type
if there is a corresponding XVS type as well.
(ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we
have several levels of pointer indirection to the array.

From Jerome Guitton; committed by Paul Hilfinger.
* ada-lang.c (check_size): New function.
(coerce_unspec_val_to_type): call check_size to make sure
that the object size is reasonable.
(ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE:
Implements the case when we get a reference when we evaluate
the expression of one of the bounds of the slice.
(ada_value_struct_elt): when a packed array field is
a reference, use ada_coerce_ref to dereference it; use
ada_value_ind only if it is a pointer.
2004-10-15 09:12:24 +00:00
Joel Brobecker 296391227b * mips-tdep.c (mips32_scan_prologue): Move the implementation up
a bit to avoid the necessity of an advance declaration. Remove
        declaration.
        (set_reg_offset): Move implemenation up.
        (mips16_get_imm): Likewise.
        (mips16_scan_prologue): Likewise.
        (reset_saved_regs): Likewise.
        (mips32_scan_prologue): Likewise.
2004-10-15 07:25:04 +00:00
Joel Brobecker a65bbe4404 * mips-tdep.c (mips32_scan_prologue): Add advance declaration.
Remove sp as a parameter, compute it internally instead. Move
        prologue scanning limit from heuristic_proc_desc to here.
        (mips16_scan_prologue): Likewise.
        (mips_insn16_frame_cache): Replace call to heuristic_proc_desc
        by call to mips16_scan_prologue.
        (mips_insn32_frame_cache): Replace call to heuristic_proc_desc
        by call to mips32_scan_prologue.
        (heuristic_proc_desc): Remove code that's no longer necessary.
        Update calls to mips16_scan_prologue and mips32_scan_prologue.
        (mips_skip_prologue): Update calls to mips16_scan_prologue
        and mips32_scan_prologue.
2004-10-15 07:09:10 +00:00
Alan Modra c468c8bcab * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
failing link script assert.
2004-10-15 06:00:15 +00:00
Alan Modra 95c148b400 * ldctor.c (ldctor_add_set_entry): Fix comment typo. 2004-10-15 05:54:11 +00:00
Alan Modra 3c55da702a * Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
2004-10-15 05:49:33 +00:00
Alan Modra 7d3f158fa8 * config.bfd: Whitespace cleanup.
* Makefile.am: Run "make dep-am"
	* Makefile.in: Regenerate.
2004-10-15 05:47:11 +00:00