Commit Graph

45067 Commits

Author SHA1 Message Date
Nick Clifton 0367ecfb78 (is_arm_mapping_symbol_name): New function - return true when a symbol name
matches the requirements for an ARM mapping symbol name.
(arm_elf_find_function): New function based on elf_find_function in elf.c but
 skipping ARM mapping symbols and including thumb function symbols.
(elf32_arm_find_nearest_line): Use arm_elf_find_function.
(elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name.
2004-08-17 08:12:26 +00:00
Alan Modra 2441e016ac * elf64-ppc.c (ppc64_elf_branch_reloc): New function.
(ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc.
	(ppc64_elf_brtaken_reloc): Here too.
2004-08-17 07:05:52 +00:00
Alan Modra 82dd044a0d * ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols. 2004-08-17 05:39:32 +00:00
Alan Modra 35b0ce5903 * elf64-ppc.c (add_symbol_adjust): Correct mismatched function
symbol visibility.
	(ppc64_elf_check_directives): Check that we have the right hash
	table before proceeding.
2004-08-17 05:38:28 +00:00
Alan Modra 816881401e * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section".
(adjust_opd_syms): Attach opd syms for deleted entries to one of
	the sections that will be discarded.
2004-08-17 01:25:21 +00:00
Alan Modra 2f4a83ee59 * ld-scripts/cross1.t: Remove .opd section spec. 2004-08-17 01:18:50 +00:00
Alan Modra fb7ebd02de daily update 2004-08-17 00:00:05 +00:00
gdbadmin 149567cc8c *** empty log message *** 2004-08-17 00:00:03 +00:00
Mark Kettenis f8707cace9 * inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
instead of `int' if not already defined.
(call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Revert change that replaced
PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
2004-08-16 15:27:54 +00:00
Nick Clifton 2766e5e41b (macro_set_alternate): Use ISO C90 formatting. 2004-08-16 08:34:28 +00:00
Nick Clifton 4101eec8eb Sort architecture based tables alphabetically. 2004-08-16 08:25:44 +00:00
Nick Clifton 1f216d0994 altmacro.d: Allow for rest of frag being padded to an alignment boundary.
arm.exp: Run bignum test for ELF based targets only.
2004-08-16 08:15:50 +00:00
Alan Modra 80f846b670 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
{ "cc", 68 }, with { "cr", 70 }.
2004-08-16 03:04:47 +00:00
Alan Modra 327c1315a0 * elflink.c (elf_section_complain_discarded): Ignore .fixup. 2004-08-16 01:17:58 +00:00
Alan Modra 45fc9e4ac6 * bfd.c (_bfd_default_error_handler): Account for doubled '%' in
free space available.
2004-08-16 01:14:42 +00:00
Alan Modra 9dadfa79ec * pdp11.c (struct pdp11_aout_reloc_external): Delete. Replace
occurrences with bfd_btye * thoughout file.

	* coff-rs6000.c (do_shared_object_padding): Warning fix.
	(xcoff_write_armap_big): Likewise.
	(xcoff_write_archive_contents_old): Likewise.
	(xcoff_write_archive_contents_big): Likewise.

	* elf64-mmix.c (mmix_elf_get_section_contents): Delete declaration.
2004-08-16 00:25:14 +00:00
Alan Modra d84de024e6 binutils/
* readelf.c (debug_apply_rela_addends): New function, extracted from..
	(display_debug_info): ..here.
	(display_debug_frames): Call debug_apply_rela_addends.  Don't do
	DW_EH_PE_pcrel adjustment for ET_REL.
gas/testsuite/
	* gas/cfi/cfi-alpha-1.d: Adjust for readelf fix.
	* gas/cfi/cfi-alpha-3.d: Likewise.
	* gas/cfi/cfi-i386.d: Likewise.
	* gas/cfi/cfi-m68k.d: Likewise.
	* gas/cfi/cfi-ppc-1.d: Likewise.
	* gas/cfi/cfi-s390-1.d: Likewise.
	* gas/cfi/cfi-s390x-1.d: Likewise.
	* gas/cfi/cfi-sh-1.d: Likewise.
	* gas/cfi/cfi-sparc-1.d: Likewise.
	* gas/cfi/cfi-sparc64-1.d: Likewise.
	* gas/cfi/cfi-x86_64.d: Likewise.
2004-08-16 00:09:20 +00:00
gdbadmin 2a80c17810 *** empty log message *** 2004-08-16 00:00:35 +00:00
Alan Modra 9dca274aeb daily update 2004-08-16 00:00:05 +00:00
Mark Kettenis 156e5ba790 * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.
2004-08-15 16:10:23 +00:00
Mark Kettenis de9a9e516b * linux-nat.c (kill_inferior): Add missing third and fourth
arguments to ptrace call.  Don't use PTRACE_ARG3_TYPE.
2004-08-15 15:51:40 +00:00
Mark Kettenis 888004038c * infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with
PTRACE_TYPE_RET.
2004-08-15 15:33:21 +00:00
Mark Kettenis 849a1d7cc9 * proc-why.c (proc_prettyfprint_why): Fix format string. 2004-08-15 12:12:47 +00:00
Mark Kettenis 61ad16d19e * solib-osf.c (osf_current_sos): Remove unsused label. 2004-08-15 12:08:49 +00:00
Mark Kettenis 00b51b9f52 * gdb.base/unload.c (main): Make local variable msg const. 2004-08-15 10:24:08 +00:00
Michael Chastain 45f07fef90 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
	to bug-gnu@prep.ai.mit.edu.
	* gdb.mi/mi-disassemble.exp: Likewise.
	* gdb.mi/mi-eval.exp: Likewise.
	* gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
	default line number.
	* gdb.mi/mi-return.exp: Likewise.
	* gdb.mi/mi-simplerun.exp: Likewise.
	* gdb.mi/mi-stack.exp: Likewise.
	* gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
	number with explicit range test.
	* gdb.mi/mi-watch.exp: Likewise.
	* gdb.mi/mi2-break.exp: Likewise.
	* gdb.mi/mi2-cli.exp: Likewise.
	* gdb.mi/mi2-disassemble.exp: Likewise.
	* gdb.mi/mi2-eval.exp: Likewise.
	* gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
	default line number.
	* gdb.mi/mi2-return.exp: Likewise.
	* gdb.mi/mi2-simplerun.exp: Likewise.
	* gdb.mi/mi2-stack.exp: Likewise.
	* gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
	number with explicit range test.
	* gdb.mi/mi2-watch.exp: Likewise.
2004-08-15 10:15:58 +00:00
Mark Kettenis a6ed5501f7 * configure.in: Add <ncurses/ncurses.h> to the list of possible
curses headers.
* configure, config.in: Regenerate.
* gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
<ncurses/ncurses.h>.
2004-08-15 10:06:05 +00:00
Michael Chastain dd8c8ee780 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
	* gdb.cp/m-static.exp: Likewise.
	* gdb.cp/rtti.exp: Likewise.
2004-08-15 09:17:30 +00:00
gdbadmin b6eb28d454 *** empty log message *** 2004-08-15 00:00:32 +00:00
Alan Modra 5dac25d0cb daily update 2004-08-15 00:00:07 +00:00
Mark Kettenis 016ddeca84 * config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
* config/nm-nbsd.h: Update copyright year.
(PTRACE_ARG3_TYPE): Remove define.
2004-08-14 23:56:49 +00:00
Mark Kettenis 49ec097fd5 * sparc-nat.c (fetch_inferior_registers)
(store_inferior_registers, sparc_xfer_wcookie):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
2004-08-14 23:44:47 +00:00
Mark Kettenis dfeafa2f1d Really s/PTRACE_ARG3_TYPE/PTRACE_TYPE_ARG3/g 2004-08-14 23:43:33 +00:00
Mark Kettenis 9f8e00890b * alphabsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* amd64bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* armnbsd-nat.c: Update copyright year.
(fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs)
(store_register, store_regs, store_fp_register, store_fp_regs):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* hppabsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* i386bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers, i386bsd_dr_set, i386bsd_dr_get_status):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* m68kbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* m88kbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* mipsnbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* ns32knbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* ppcnbsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* ppcobsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* shnbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* vaxbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
2004-08-14 23:37:04 +00:00
Mark Kettenis 655c546612 * inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace, child_resume, attach, detach)
(U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory)
(udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
2004-08-14 23:14:34 +00:00
Mark Kettenis 73b0368308 * gdbint.texinfo (Host Definition): Delete description of
FCLOSE_PROVIDED and GETENV_PROVIDED.
2004-08-14 21:11:43 +00:00
Mark Kettenis 5cb0ff31a2 * defs.h: Remove out-of-date comment.
[!FCLOSE_PROVIDED] (fclose): Remove prototype.
[!GETENV_PROVIDED] (getenv): Remove prototype.
2004-08-14 20:56:27 +00:00
Mark Kettenis 5f0f34cbdd * standalone.c: Remove file.
* Makefile.in (standalone.o): Remove dependency.
2004-08-14 20:40:15 +00:00
Mark Kettenis 9250410f5d Remove accidentally committed entry. 2004-08-14 20:21:53 +00:00
Mark Kettenis 4e83846489 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
* lib/gdb.exp: Recognize relative path names as well as absolute
ones.
2004-08-14 20:17:43 +00:00
Mark Kettenis 7532965fe1 * i386-linux-nat.c (dummy_sse_values): Remove function and
prototype.
(i386_linux_dr_get): Fix typo in comment.
(LINUX_SYSCALL_REGNUM): Define as I386_EAX_REGNUM.
2004-08-14 16:01:39 +00:00
Mark Kettenis 1bdc6c5323 * config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o. 2004-08-14 13:45:53 +00:00
Mark Kettenis c40d0d10b1 * defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from declaration.
* top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from definition.
2004-08-14 13:37:51 +00:00
Eli Zaretskii 8d8cb83962 * ChangeLog: Prefix Local Variables with semi-colons and indent
the reference to older ChangeLog files, to fix fontification in
	Emacs.
2004-08-14 13:23:24 +00:00
gdbadmin b09df46518 *** empty log message *** 2004-08-14 00:00:33 +00:00
Alan Modra 78d9a2ef5e daily update 2004-08-14 00:00:06 +00:00
Nathanael Nerode 118c4fbab2 2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL,
	which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL.
	The intention is that we will migrate to these bit by bit.
2004-08-13 22:32:31 +00:00
Mark Kettenis 64218d3eae * configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
parenthesis in definition.
* configure: Regenerated.
2004-08-13 20:16:46 +00:00
Nick Clifton caa32fe507 Add and handle new --alternate command line option. 2004-08-13 19:53:52 +00:00
Mark Kettenis a21de0dadf * symconst.h (langMax): Fix typo in comment. 2004-08-13 19:17:39 +00:00