aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-10-17 * po/POTFILES.in: Regenerate.Alan Modra4-6/+14
2001-10-17 * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place soAlan Modra4-229/+199
that autoheader doesn't duplicate config.in entries. (DEFAULT_ARCH): Ditto. * configure: Regenerate. * config.in: Regenerate.
2001-10-172001-10-16 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+5
* internal.h (elf_internal_shdr): Make contents a unsigned char *.
2001-10-172001-10-16 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-2/+7
* elflink.h (elf_link_sort_relocs): Remove unnecessary pointer casts.
2001-10-17daily updateAlan Modra1-1/+1
2001-10-16 * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.Alan Modra2-3/+8
2001-10-16* filenames.h: Add cygwin to the list of dosish style path systems.Christopher Faylor2-2/+6
2001-10-162001-10-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+11
* elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE for relocations against discarded link-once section.
2001-10-16* win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load ofChristopher Faylor3-18/+32
already loaded DLL. (register_loaded_dll): Convert loaded DLL name to "posix" format or it will confuse subsequent opening of the filename due to dos paths. (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
2001-10-162001-10-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+5
* symtab.c (lookup_block_symbol): Update comment.
2001-10-16merge from gccDJ Delorie24-298/+944
2001-10-16 * gas/sh/err-le.s, gas/sh/err-be.s: New tests.Hans-Peter Nilsson3-0/+24
2001-10-16 * config/tc-sh.c (shl): Remove.Hans-Peter Nilsson5-192/+223
(big): New function. (little): Remove shl handling. Emit error for endian mismatch. (md_show_usage): Add description of -big. (md_parse_option): Handle OPTION_BIG. Remove shl handling. (OPTION_BIG): Add. (md_pseudo_table): Add .big. (md_longopts): Add -big. (md_begin): Don't set target_big_endian here. * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove. (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian. (shl): Remove. * configure.in (endian): Default is big. (sh-*-pe*): Little endian. (cpu_type): Set sh for target sh*. * configure: Regenerate.
2001-10-16* value.h (value_as_address): Rename value_as_pointer.Andrew Cagney16-39/+51
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c, jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c, values.c: Update.
2001-10-16202001-10-15 Jim Ingham <jingham@inghji.apple.com>Andrew Cagney2-1/+6
* valarith.c (value_sub): Don't pass a raw type to value_from_pointer, it has to go through check_typedef first.
2001-10-16daily updateAlan Modra1-1/+1
2001-10-15 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' fromAlan Modra2-14/+19
-z nocopyreloc and -z nocombreloc usage strings.
2001-10-15Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS.Andrew Cagney3-2/+8
2001-10-15 * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABIThiemo Seufer2-0/+20
relocations.
2001-10-15Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that doAndrew Cagney10-34/+201
funnies to integer to address conversions.
2001-10-15 * elf32-i386.c (elf_i386_relocate_section): Report some detail onAlan Modra2-29/+34
bfd_reloc_outofrange and similar errors.
2001-10-15 * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.typeAlan Modra7-6/+16
rather than ind->weakdef. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
2001-10-15 * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_relocAlan Modra8-15/+125
counts for aliases instead of aborting. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset to -1 for non-function symbols. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to plt.offset instead of plt.refcount when setting to -1.
2001-10-15daily updateAlan Modra1-1/+1
2001-10-15 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run onHans-Peter Nilsson4-2/+6
sh*-*-elf.
2001-10-14* config/s390/nm-linux.h: Don't include <signal.h>.Mark Kettenis2-10/+4
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis1-0/+22
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis9-138/+40
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14* sparc-nat.c (fetch_core_registers): Remove redundant prototype.Mark Kettenis2-2/+2
2001-10-14 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.Hans-Peter Nilsson2-1/+3
2001-10-14 * ld-sh/rd-sh.exp: New framework file.Hans-Peter Nilsson10-0/+183
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New test files.
2001-10-14* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.Mark Kettenis2-1/+3
2001-10-14Fix attaching to cloned processes. This fixes PR gdb/61.Mark Kettenis3-19/+132
* lin-lwp.c (struct lwp_info): Add new member `cloned'. (is_cloned) Removed. (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call waitpid explicitly. Mark the LWP as cloned if waitpid fails and retry with __WCLONE flag. (lin_lwp_attach): Likewise. Warn if attaching to a cloned process. (detach_callback): Replace use of is_cloned with explicit check on LWP id and process id. (stop_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. [CHILD_WAIT] (child_wait): New function. (lin_lwp_wait): Replace use of is_cloned with check if LWP is marked as cloned. Mark newly detected LWPs as cloned if detected by waitpid with __WCLONE flag. (kill_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. * config/i386/nm-linux.h (struct target_waitstatus): Add forward declaration. (child_wait): Add prototype. (CHILD_WAIT): Define.
2001-10-14[gas/testsuite/ChangeLog]Matthew Green5-5/+56
* gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba, mbar): New BookE tests. * gas/ppc/booke.d: Update for new BookE tests. [opcodes/ChangeLog] * ppc-opc.c (MO): New macro for MO field of mbar instruction. (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
2001-10-14daily updateAlan Modra1-1/+1
2001-10-13S/390 31 & 64 bit target and GNU/Linux native support.Andrew Cagney12-0/+2141
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM. * s390-nat.c, s390-tdep.c: New file. * config/s390/nm-linux.h, config/s390/s390.mh: New file. * config/s390/s390.mt, config/s390/s390x.mt: New file. * config/s390/tm-linux.h, config/s390/tm-s390.h: New file. * config/s390/xm-linux.h: New file. * NEWS: Update. * MAINTAINERS: Update.
2001-10-13From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:Andrew Cagney3-3/+10
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check CALL_DUMMY_BREAKPOINT_OFFSET_P. * gdbarch.c: Regenerate.
2001-10-13* thread-db.c: Fix a few formatting mistakes.Mark Kettenis2-25/+23
2001-10-13support multiple options to the -w switchNick Clifton2-36/+45
2001-10-13Replace CONST with constNick Clifton2-51/+53
2001-10-13Fix formattingNick Clifton2-64/+70
2001-10-13Use safe-ctype.h not ctype.hNick Clifton13-116/+117
2001-10-13 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.Corinna Vinschen2-2/+6
2001-10-13Fix capitalization.Christopher Faylor1-1/+1
2001-10-13oops, fix an error in the previous entry.Matthew Green1-2/+3
2001-10-13[gas/ChangeLog]Matthew Green16-34/+735
* config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455 flags, equivalent to -m7400. New -maltivec to enable AltiVec instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable 64-bit and 32-bit BookE support, respectively. Change -m403 and -m405 to set PPC403 option. (md_show_usage): Adjust for new options. * doc/all.texi: Set PPC. * doc/as.texinfo: Add PPC support and pull in c-ppc.texi. * doc/c-ppc.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi. * doc/Makefile.in: Regenerate. [gas/testsuite/ChangeLog] * gas/ppc/booke.s: New test for Motorola BookE. * gas/ppc/booke.d: New file. * gas/ppc/ppc.exp: Test booke.s. [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for BookE and PowerPC403 instructions. [opcodes/ChangeLog] * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New instruction field instruction/extraction functions for new BookE DE form instructions. (CT): New macro for CT field in an X form instruction. (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form instructions. (PPC64): Don't include PPC_OPCODE_PPC. (403): New opcode macro for PPC403 processors. (BOOKE): New opcode macro for BookE processors. (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions. (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise. (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise. (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise. (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise. (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise. (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise. (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise. (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise. (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise. (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise. (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise. (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise. (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise. * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look for a disassembler option of `booke', `booke32' or `booke64' to enable BookE support in the disassembler.
2001-10-13* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked listChristopher Faylor3-2/+7
pointer to beginning rather than one beyond beginning.
2001-10-13daily updateAlan Modra1-1/+1
2001-10-122001-10-12 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz13-68/+63
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro. * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. (make_symbol_completion_list): Likewise. (make_symbol_overload_list): Likewise. * buildsym.c (finish_block): Likewise. * breakpoint.c (get_catch_sals): Likewise. * mdebugread.c (mylookup_symbol): Likewise. * objfiles.c (objfile_relocate): Likewise. * printcmd.c (print_frame_args): Likewise. * stack.c (print_block_frame_locals): Likewise. (print_block_frame_labels): Likewise. (print_frame_arg_vars): Likewise. * symmisc.c (dump_symtab): Likewise. * tracepoint.c (add_local_symbols): Likewise. (scope_info): Likewise. 2001-10-12 Daniel Jacobowitz <drow@mvista.com> * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS. 2001-10-12 Daniel Jacobowitz <drow@mvista.com> * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS. * generic/gdbtk-stack.c (gdb_block_vars): Likewise. (gdb_get_blocks): Likewise. (gdb_get_vars_command): Likewise. 5~
2001-10-12* Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recentJim Blandy2-1/+6
version of texi2html (1.64) doesn't support this flag any more.