aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-02-182002-02-18 David O'Brien <obrien@FreeBSD.org>David O'Brien11-12/+87
* Makefile.in: Add new files earmelf_fbsd, eelf32ppc_fbsd, eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, and eelf64alpha_fbsd. * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): use a FreeBSD-specific emulation rather than the psABI one. * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value for all FreeBSD ELF systems. * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI emulation. * emulparams/elf32ppc_fbsd.sh: Likewise. * emulparams/elf64_ia64_fbsd.sh: Likewise. * emulparams/elf64_sparc_fbsd.sh: Likewise. * emulparams/elf64alpha_fbsd.sh: Likewise. * emulparams/elf_i386_fbsd.sh: Likewise. * emulparams/elf_x86_64_fbsd.sh: Likewise. Approved by: Nick Clifton <nickc@cambridge.redhat.com> <m3pu33yy0b.fsf@north-pole.nickc.cambridge.redhat.com>
2002-02-18Fix dateHans-Peter Nilsson1-1/+1
2002-02-18 * binutils-all/objcopy.expHans-Peter Nilsson2-0/+15
(strip_executable_with_saving_a_symbol): Prune symbol Main in nm output for mmix-knuth-mmixware.
2002-02-18Updated translationsNick Clifton4-895/+952
2002-02-18 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:Kevin Buettner2-3/+9
* ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use of ``current_gdbarch''.
2002-02-182002-02-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-5/+10
* ld-elfvsb/sh1.c: Use #pragma weak.
2002-02-182002-02-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+5
* vers.exp: Do not call diff -q.
2002-02-18 * cli/cli-cmds.c (compare_strings): New function.Tom Tromey4-200/+261
(complete_command): Only print each unique item once. * completer.h (complete_line): Declare. * completer.c (complete_line): New function. (line_completion_function): Use it.
2002-02-18*** empty log message ***gdbadmin1-1/+1
2002-02-17daily updateAlan Modra1-1/+1
2002-02-17 * ld.texinfo (Output Section Fill): Fix amateur texinfo.Alan Modra2-5/+10
(FILL): Likewise.
2002-02-17 * emultempl/mmo.em (mmo_after_open): Don't callHans-Peter Nilsson2-5/+18
_bfd_mmix_check_all_relocs when producing ELF output.
2002-02-17 * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbolHans-Peter Nilsson9-4/+79
output. * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
2002-02-17 * mmo.c: Correct and improve comments.Hans-Peter Nilsson2-77/+176
(mmo_write_chunk): Store trailing byte in bfd buffer; don't zero-pad. Use input to fill up non-empty bfd buffer. (mmo_flush_chunk): New function. (mmo_write_loc_chunk): Add parameter last_vmap, all callers changed. Don't emit location specifier if VMA is same as *LAST_VMAP after omitting leading zero contents. Call mmo_flush_chunk before emitting location specifier. (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished with mmo_write_loc_chunk calls. (mmo_internal_write_section): Call mmo_flush_chunk after mmo_write_chunk. (mmo_write_symbols_and_terminator): Move :Main to first position in symbol array. Add faked one if it does not exist if there are other symbols. Don't add it if there are no symbols at all. Move out test for value of :Main from symbol loop. Rename table fakemain to maintable and variable mainsym to fakemain.
2002-02-17 * ld-mmix/bpo-22.d: New test.Hans-Peter Nilsson2-0/+30
2002-02-17 * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,Hans-Peter Nilsson2-3/+8
and .bss.
2002-02-17*** empty log message ***gdbadmin1-1/+1
2002-02-16* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.Andrew Cagney4-3/+8
* gdbarch.h, gdbarch.c: Re-generate.
2002-02-16daily updateAlan Modra1-1/+1
2002-02-162002-02-16 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-6/+26
* valarith.c (value_x_unop): Fix decrement; support post-decrement. 2002-02-16 Daniel Jacobowitz <drow@mvista.com> From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: * valops.c (value_arg_coerce): Don't take the address of a reference to convert an argument to a reference.
2002-02-16Fix typo: MMIX used instead of CRIS.Nick Clifton2-1/+6
2002-02-16* win32-nat.c (get_image_name): New function.Christopher Faylor3-176/+297
(handle_load_dll): Use get_image_name function. (get_child_debug_event): Avoid registering debug events until possibly execed process is started. (child_create_inferior): Allow invocation via shell so that command line redirection, etc. works ok. (_initialize_inftarg): Add new command: "set shell" to control whether a shell is used to start a process.
2002-02-16*** empty log message ***gdbadmin1-1/+1
2002-02-15 * emulparams/elf64alpha.sh (NOP): Adjust for big-endianRichard Henderson2-1/+8
definition. Emit a unop+nop pair.
2002-02-152002-02-15 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+8
* config/tc-mips.c (md_estimate_size_before_relax): Really make sure we treat weak like extern only for ELF. (Fixes patch from 2001-07-25.)
2002-02-15daily updateAlan Modra1-1/+1
2002-02-152002-02-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-13/+11
* gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno instead of find_register_by_number. (cannot_store_register): Likewise.
2002-02-152002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-13/+18
* dwarf2read.c: Replace fprintf (stderr, ...) by fprintf_unfiltered (gdb_stderr, ...).
2002-02-15 * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A targetRichard Henderson2-14/+13
section with no got matches any got. Simplify error generaion.
2002-02-15 * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudoRichard Henderson2-1/+6
disassembly mask.
2002-02-152002-02-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+17
* gdbserver/gdbserver.1: Document --attach.
2002-02-152002-02-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+15
* gdb.texinfo: Document gdbserver ``--attach'' command.
2002-02-15* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpointRichard Earnshaw8-77/+165
descriptions. * arm-tdep.c (arm_default_arm_le_breakpoint) (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) (arm_default_thumb_be_breakpoint): New. Initialize them from traditional breakpoint defines. (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. (arm_gdbarch_init): Initialize new breakpoint variables. * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. (arm_linux_init_abi): Initialize linux-specific breakpoint. * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common code out to ... (arm_netbsd_init_abi_common): ... here; new function. * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
2002-02-15* arm-tdep.h (enum arm_abi): New enum.Richard Earnshaw9-19/+453
(struct gdbarch_tdep): New structure. (LOWEST_PC): Provide a default. (arm_gdbarch_register_os_abi): Declare new function. * arm-tdep.c (arm_abi_names): New array. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (arm_gdbarch_register_os_abi): New function. (arm_gdbarch_init): Try to determine the ABI of the inferior. If support for that ABI has been built in, then call the appropriate configuration routine. Use gdbarch_num_regs() to get the number of registers. (arm_dump_tdep): New function. (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New place-holder functions. (_initialize_arm_tdep): Register them. * config/arm/tm-arm.h (LOWEST_PC): Delete. * armnbsd-tdep.c: New file. * Makefile.in (armnbsd-tdep.o): Add dependencies. * config/arm/nbsd.mt (TDEPFILES): Add it. * config/arm/tm-nbsd.h (LOWEST_PC): Delete. * armnbsd-nat.c: Include regcache.h. * Makefile.in (armnbsd-nat.o): Update dependency list. * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
2002-02-15 * doc/as.texinfo: Add duplicate directory entry so that "info gas"Ben Elliston2-0/+6
works as expected.
2002-02-15 * alpha-opc.c (alpha_opcodes): Add simple pseudos forRichard Henderson2-0/+11
lda, ldah, jmp, ret.
2002-02-15Tweak wording in comment in last changeHans-Peter Nilsson1-9/+10
2002-02-15 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also checkHans-Peter Nilsson2-1/+18
for presence of .MMIX.reg_contents.linker_allocated before early exit.
2002-02-15 * NEWS: Mention support for MMIX.Hans-Peter Nilsson6-0/+18
2002-02-152002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-6/+10
* gdbserver/Makefile.in: Fix typos in target rules.
2002-02-15 * ld.texinfo (Output Section Fill): Describe fill expressions.Alan Modra2-5/+14
(FILL): Refer to the above.
2002-02-15 Support arbitrary length fill patterns.Alan Modra15-93/+277
* ldexp.h (etree_value_type): Add "str" field. (union etree_union): Add "str" to "value" struct. (exp_bigintop): Declare. (exp_get_fill): Declare. * ldexp.c: Include "safe-ctype.h". (exp_intop): Set value.str to NULL. (exp_bigintop): New function. (new_rel): Pass in "str", and set new.str from it. (new_rel_from_section): Set new.str to NULL. (fold_name): Adjust calls to new_rel. (exp_fold_tree): Likewise. (exp_get_fill): New function. * ldgram.y (struct big_int bigint, fill_type *fill): New. (INT): Returns a "bigint". Adjust all code handling INTs. (fill_opt): Returns a "fill". (fill_exp): Split out of fill_opt, use for FILL. * ldlang.h (struct _fill_type): New. (fill_type): Move typedef to ldexp.h. (lang_output_section_statement_type): "fill" is now a pointer. (lang_fill_statement_type): Likewise. (lang_padding_statement_type): Likewise. (lang_add_fill): Now takes a "fill_type *" param. (lang_leave_output_section_statement): Likewise. (lang_do_assignments): Likewise. (lang_size_sections): Likewise. (lang_leave_overlay_section): Likewise. (lang_leave_overlay): Likewise. * ldlang.c: Include ldgram.h after ldexp.h. (lang_output_section_statement_lookup): Adjust for fill_type change. (print_fill_statement): Likewise. (print_padding_statement): Likewise. (insert_pad): Now takes a "fill_type *" arg. (size_input_section): Likewise. (lang_size_sections_1): Likewise. (lang_size_sections): Likewise. (lang_do_assignments): Likewise. (lang_add_fill): Likewise. (lang_leave_output_section_statement): Likewise. (lang_leave_overlay_section): Likewise. (lang_leave_overlay): Likewise. Adjust all callers of the above function. * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers starting with "0X" as well as "0x". Return bigint.str for hex numbers starting with "0x" or "0X", zero bigint.str otherwise. Always use base 16 for numbers starting with "$". * ldmain.c: Include ldgram.h after ldexp.h. * ldwrite.c (build_link_order): Use bfd_data_link_order in place of bfd_fill_link_order. * pe-dll.c: Adjust lang_do_assignments calls. * emultempl/elf32.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust lang_add_assignment call. * emultempl/pe.em: Likewise.
2002-02-15 Support arbitrary length fill patterns.Alan Modra5-42/+57
* linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. (_bfd_default_link_order): Remove bfd_fill_link_order code. Call default_data_link_order. (default_fill_link_order): Delete. (default_data_link_order): New function. * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences of bfd_fill_link_order with bfd_data_link_order. * elf64-alpha.c (elf64_alpha_final_link): Likewise. * elf64-mips.c (mips_elf64_final_link): Likewise.
2002-02-15 Support arbitrary length fill patterns.Alan Modra2-9/+13
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order. (struct bfd_link_order): Remove fill. Add data.size.
2002-02-15 * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.Alan Modra2-24/+46
Correct value returned in "end" for "0x<non-hex>".
2002-02-15*** empty log message ***gdbadmin1-1/+1
2002-02-14Revert accidental commit.Daniel Jacobowitz1-1/+1
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+39
Fix part of PR gdb/267. * linespec.c (find_methods): Handle constructors specially for now.
2002-02-14daily updateAlan Modra1-1/+1
2002-02-14xcoff versions of the altivec test.Tom Rix6-1/+77