aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2002-02-14 * arm-tdep.c (arm_push_arguments): Eliminate special float typeCorinna Vinschen3-21/+10
handling. * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call standard_coerce_float_to_double().
2002-02-14* config/i386/xm-cygwin.h: Revert inadvertent reinclusion of GDBINIT_FILENAME.Christopher Faylor2-2/+5
2002-02-14Replace 'arch' field with 'mach'.Nick Clifton2-40/+47
2002-02-142002-02-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-16/+11
* rs6000-tdep.c (rs6000_gdbarch_init): Don't call find_variant_by_name, because it confuses the multiarch framework. Return NULL if there isn't an architecture with the user supplied name, instead of forcing a different one without recording the change with the multiarch machinery. (find_variant_by_name): Delete.
2002-02-14Updated translationNick Clifton2-65/+124
2002-02-14 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed byPeter Schauer2-2/+7
i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
2002-02-142002-02-13 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-11/+21
* config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into a sequence of indpendent 'if' statements for easier debugging and future modification.
2002-02-142002-02-13 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-1/+9
* stack.c (print_frame_info_base): When calling print_frame_info_listing_hook, set current_source_symtab.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz9-13/+26
* gdb.base/a2-run.exp: Check for a remote target properly. * gdb.base/annota1.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/shlib-call.exp: Likewise. * gdb.base/term.exp: Likewise. * gdb.c++/annota2.exp: Likewise.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz19-1302/+1060
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, and remove unused $(INCLUDE_DIR). Add regcache.c to OBS. Add generated register protocol files to clean target. Update dependencies for new objects, obsolete old target code. * gdbserver/linux-low.c: Remove all platform-specific code to new files. Remove various dead code. Update to use regcache functionality. * gdbserver/remote-utils.c (fromhex): Add return statement to quiet warning. (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer constant. (input_interrupt): Add integer parameter to match prototype of a signal handler. (outreg): Use register_data (). (prepare_resume_reply): Use gdbserver_expedite_regs. * gdbserver/server.c (main): Dynamically allocate own_buf because PBUFSIZ is no longer constant. Use registers_to_string () and registers_from_string (). * gdbserver/server.h: No longer include "defs.h". Add prototypes for error (), fatal (), and warning (). Update definition of PBUFSIZ to use regcache functionality. Add include guard. * gdbserver/utils.c (fatal): Add missing ``const''. (warning): New function. * regformats/regdat.sh: Include "regcache.h" in generated files. Provide init_registers () function. * regformats/regdef.h: Add prototype for set_register_cache (). Add include guard. * gdbserver/linux-arm-low.c: New file. * gdbserver/linux-i386-low.c: New file. * gdbserver/linux-ia64-low.c: New file. * gdbserver/linux-m68k-low.c: New file. * gdbserver/linux-mips-low.c: New file. * gdbserver/linux-ppc-low.c: New file. * gdbserver/linux-sh-low.c: New file. * gdbserver/regcache.c: New file. * gdbserver/regcache.h: New file. * gdbserver/low-linux.c: Removed obsolete file.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz27-31/+74
* config/arm/linux.mt: Update GDBSERVER_DEPFILES. * config/i386/linux.mt: Likewise. * config/ia64/linux.mt: Likewise. * config/m68k/linux.mh: Likewise. * config/powerpc/linux.mh: Likewise. * config/mips/linux.mt: Likewise. * config/sh/linux.mt: Add GDBSERVER_DEPFILES. * config/i386/i386lynx.mh: Mark gdbserver variables as (currently) obsolete for this target. * config/i386/nbsd.mt: Likewise. * config/i386/nbsdelf.mt: Likewise. * config/m32r/m32r.mt: Likewise. * config/m68k/m68klynx.mh: Likewise. * config/m68k/nbsd.mt: Likewise. * config/m68k/sun3os4.mh: Likewise. * config/mips/vr5000.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/pa/hppabsd.mh: Likewise. * config/pa/hppaosf.mh: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/rs6000/rs6000lynx.mh: Likewise. * config/s390/s390.mt: Likewise. * config/s390/s390x.mt: Likewise. * config/sparc/sparclynx.mh: Likewise. * config/sparc/sun4os4.mh: Likewise. * config/i386/x86-64linux.mt: Likewise. * config/sparc/linux.mh: Likewise.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-63/+79
* configure.tgt: Configure gdbserver only for known working targets. Set ${build_gdbserver} instead of modifying ${configdirs}. * configure.in: Check ${build_gdbserver}. Put gdbserver/ into SUBDIRS if it is configured. Update comment for ${nativefile}. * configure: Regenerated.