binutils-gdb.git
22 years ago * mmo.c: Correct and improve comments.
Hans-Peter Nilsson [Sun, 17 Feb 2002 21:18:33 +0000 (21:18 +0000)]
* mmo.c: Correct and improve comments.
(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.

22 years ago * ld-mmix/bpo-22.d: New test.
Hans-Peter Nilsson [Sun, 17 Feb 2002 20:13:05 +0000 (20:13 +0000)]
* ld-mmix/bpo-22.d: New test.

22 years ago * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
Hans-Peter Nilsson [Sun, 17 Feb 2002 19:34:12 +0000 (19:34 +0000)]
* ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
and .bss.

22 years ago*** empty log message ***
gdbadmin [Sun, 17 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
Andrew Cagney [Sat, 16 Feb 2002 23:09:16 +0000 (23:09 +0000)]
* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
* gdbarch.h, gdbarch.c: Re-generate.

22 years agodaily update
Alan Modra [Sat, 16 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-16 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 16 Feb 2002 22:25:50 +0000 (22:25 +0000)]
2002-02-16  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years agoFix typo: MMIX used instead of CRIS.
Nick Clifton [Sat, 16 Feb 2002 11:01:58 +0000 (11:01 +0000)]
Fix typo: MMIX used instead of CRIS.

22 years ago* win32-nat.c (get_image_name): New function.
Christopher Faylor [Sat, 16 Feb 2002 02:33:24 +0000 (02:33 +0000)]
* win32-nat.c (get_image_name): New function.
(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.

22 years ago*** empty log message ***
gdbadmin [Sat, 16 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
Richard Henderson [Fri, 15 Feb 2002 23:39:27 +0000 (23:39 +0000)]
    * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
        definition.  Emit a unop+nop pair.

22 years ago2002-02-15 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 15 Feb 2002 23:00:34 +0000 (23:00 +0000)]
2002-02-15  Chris Demetriou  <cgd@broadcom.com>

        * 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.)

22 years agodaily update
Alan Modra [Fri, 15 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 22:59:13 +0000 (22:59 +0000)]
2002-02-15  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
        instead of find_register_by_number.
        (cannot_store_register): Likewise.

22 years ago2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 15 Feb 2002 22:42:33 +0000 (22:42 +0000)]
2002-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>

* dwarf2read.c: Replace fprintf (stderr, ...) by
fprintf_unfiltered (gdb_stderr, ...).

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
Richard Henderson [Fri, 15 Feb 2002 21:26:05 +0000 (21:26 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
        section with no got matches any got.  Simplify error generaion.

22 years ago * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
Richard Henderson [Fri, 15 Feb 2002 21:00:45 +0000 (21:00 +0000)]
    * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
        disassembly mask.

22 years ago2002-02-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 19:08:05 +0000 (19:08 +0000)]
2002-02-15  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/gdbserver.1: Document --attach.

22 years ago2002-02-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 19:06:33 +0000 (19:06 +0000)]
2002-02-15  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.texinfo: Document gdbserver ``--attach'' command.

22 years ago* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
Richard Earnshaw [Fri, 15 Feb 2002 16:12:24 +0000 (16:12 +0000)]
* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
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.

22 years ago* arm-tdep.h (enum arm_abi): New enum.
Richard Earnshaw [Fri, 15 Feb 2002 13:35:27 +0000 (13:35 +0000)]
* arm-tdep.h (enum arm_abi): New enum.
(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.

22 years ago * doc/as.texinfo: Add duplicate directory entry so that "info gas"
Ben Elliston [Fri, 15 Feb 2002 11:24:30 +0000 (11:24 +0000)]
* doc/as.texinfo: Add duplicate directory entry so that "info gas"
works as expected.

22 years ago * alpha-opc.c (alpha_opcodes): Add simple pseudos for
Richard Henderson [Fri, 15 Feb 2002 09:43:16 +0000 (09:43 +0000)]
    * alpha-opc.c (alpha_opcodes): Add simple pseudos for
        lda, ldah, jmp, ret.

22 years agoTweak wording in comment in last change
Hans-Peter Nilsson [Fri, 15 Feb 2002 06:54:22 +0000 (06:54 +0000)]
Tweak wording in comment in last change

22 years ago * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
Hans-Peter Nilsson [Fri, 15 Feb 2002 06:50:19 +0000 (06:50 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
for presence of .MMIX.reg_contents.linker_allocated before early
exit.

22 years ago * NEWS: Mention support for MMIX.
Hans-Peter Nilsson [Fri, 15 Feb 2002 04:04:03 +0000 (04:04 +0000)]
* NEWS: Mention support for MMIX.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 15 Feb 2002 03:58:34 +0000 (03:58 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Fix typos in target rules.

22 years ago * ld.texinfo (Output Section Fill): Describe fill expressions.
Alan Modra [Fri, 15 Feb 2002 03:34:47 +0000 (03:34 +0000)]
* ld.texinfo (Output Section Fill): Describe fill expressions.
(FILL): Refer to the above.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:11:05 +0000 (02:11 +0000)]
Support arbitrary length fill patterns.
* 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.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:35 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* 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.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:03 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order.
(struct bfd_link_order): Remove fill.  Add data.size.

22 years ago * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Alan Modra [Fri, 15 Feb 2002 00:20:17 +0000 (00:20 +0000)]
* bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Correct value returned in "end" for "0x<non-hex>".

22 years ago*** empty log message ***
gdbadmin [Fri, 15 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoRevert accidental commit.
Daniel Jacobowitz [Thu, 14 Feb 2002 23:57:50 +0000 (23:57 +0000)]
Revert accidental commit.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 23:40:23 +0000 (23:40 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        Fix part of PR gdb/267.
        * linespec.c (find_methods): Handle constructors specially for now.

22 years agodaily update
Alan Modra [Thu, 14 Feb 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agoxcoff versions of the altivec test.
Tom Rix [Thu, 14 Feb 2002 22:41:04 +0000 (22:41 +0000)]
xcoff versions of the altivec test.

22 years ago * arm-tdep.c (arm_push_arguments): Eliminate special float type
Corinna Vinschen [Thu, 14 Feb 2002 19:00:58 +0000 (19:00 +0000)]
* arm-tdep.c (arm_push_arguments): Eliminate special float type
handling.
* config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
standard_coerce_float_to_double().

22 years ago* config/i386/xm-cygwin.h: Revert inadvertent reinclusion of GDBINIT_FILENAME.
Christopher Faylor [Thu, 14 Feb 2002 16:32:57 +0000 (16:32 +0000)]
* config/i386/xm-cygwin.h: Revert inadvertent reinclusion of GDBINIT_FILENAME.

22 years agoReplace 'arch' field with 'mach'.
Nick Clifton [Thu, 14 Feb 2002 16:24:20 +0000 (16:24 +0000)]
Replace 'arch' field with 'mach'.

22 years ago2002-02-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 14 Feb 2002 15:13:53 +0000 (15:13 +0000)]
2002-02-14  Elena Zannoni  <ezannoni@redhat.com>

* 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.

22 years agoUpdated translation
Nick Clifton [Thu, 14 Feb 2002 15:06:41 +0000 (15:06 +0000)]
Updated translation

22 years ago * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
Peter Schauer [Thu, 14 Feb 2002 08:14:20 +0000 (08:14 +0000)]
* config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.

22 years ago2002-02-13 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 14 Feb 2002 07:29:22 +0000 (07:29 +0000)]
2002-02-13  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
        a sequence of indpendent 'if' statements for easier debugging
        and future modification.

22 years ago2002-02-13 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 14 Feb 2002 07:24:54 +0000 (07:24 +0000)]
2002-02-13  Martin M. Hunt  <hunt@redhat.com>

* stack.c (print_frame_info_base): When calling
print_frame_info_listing_hook, set current_source_symtab.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 06:25:19 +0000 (06:25 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 06:21:24 +0000 (06:21 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 05:48:40 +0000 (05:48 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years ago2002-02-14 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 14 Feb 2002 05:31:46 +0000 (05:31 +0000)]
2002-02-14  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years ago * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
Alan Modra [Thu, 14 Feb 2002 04:24:33 +0000 (04:24 +0000)]
* ld.texinfo (VERSION scripts):  Symbol names are globbing patterns.
* ldgram.y (lang_new_vers_regex):  Rename to lang_new_vers_pattern;
the pattern in question is not a regexp.
* ldlang.c:  Likewise.
* ldlang.h:  Likewise.
* ldlex.l (V_IDENTIFIER):  Allow '[', ']', '-', '!', and '^' also.

22 years agofix date typo
Alan Modra [Thu, 14 Feb 2002 04:13:55 +0000 (04:13 +0000)]
fix date typo

22 years ago * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD.
Alan Modra [Thu, 14 Feb 2002 04:12:24 +0000 (04:12 +0000)]
* elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD.

22 years ago2002-02-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 14 Feb 2002 01:57:36 +0000 (01:57 +0000)]
2002-02-13  Michael Snyder  <msnyder@redhat.com>

* gcore.c (gcore_command): Use gcore_default_target instead of NULL.
(default_gcore_mach): Just return 0, work around a problem in bfd.
(default_gcore_target): OK to return NULL if exec_bfd is null.
(make_mem_sec): Use a cast, avoid a warning.

* procfs.c (find_memory_regions_callback): Use a cast instead of
calling host_pointer_to_address (which complains if
sizeof (host pointer) != sizeof (target pointer)).
(procfs_make_note_section): Avoid overflow in psargs string.

22 years ago*** empty log message ***
gdbadmin [Thu, 14 Feb 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 13 Feb 2002 23:00:19 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 13 Feb 2002 22:03:46 +0000 (22:03 +0000)]
2002-02-13  Michael Snyder  <msnyder@redhat.com>

* procfs.c (procfs_make_note_section): Make the default
implementation return an error.

2002-02-13  Rodney Brown  <rbrown64@csc.com.au>

* procfs.c (procfs_make_note_section): Provide a default definition
(for alpha-dec-osf4.0f). Fix typos.

2002-02-11  Michael Snyder  <msnyder@redhat.com>

* procfs.c: Include elf-bfd.h (for elfcore_write functions).
(gcore section): Ifdef for Solaris and Unixware only.
(procfs_do_thread_registers): Unixware needs one lwpstatus
per thread (not one prstatus or pstatus).
(procfs_make_note_section): Iterate only over kernel threads (lwps),
not over all gdb threads.  For unixware, call elfcore_write_pstatus
once before iterating over threads.

22 years ago2002-02-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 13 Feb 2002 21:53:31 +0000 (21:53 +0000)]
2002-02-11  Michael Snyder  <msnyder@redhat.com>

* elf-bfd.h (elfcore_write_lwpstatus): Add prototype.
* elf.c (elfcore_grok_pstatus): Add prototype.
(elfcore_grok_lwpstatus): Add prototype.
(elfcore_write_lwpstatus): New function.
(elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy.

22 years ago2002-02-13 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 13 Feb 2002 20:47:17 +0000 (20:47 +0000)]
2002-02-13  Elena Zannoni  <ezannoni@redhat.com>

* linux-proc.c: Add include of regcache.h.
* Makefile.in (linux-proc.o): Add dependency on regcache.h.

22 years agoadd missing filename
Greg McGary [Wed, 13 Feb 2002 19:43:12 +0000 (19:43 +0000)]
add missing filename

22 years ago* MAINTAINERS: Add myself to "Write After Approval" list.
Greg McGary [Wed, 13 Feb 2002 19:22:23 +0000 (19:22 +0000)]
* MAINTAINERS: Add myself to "Write After Approval" list.

22 years agoFrom 2002-01-18 Greg McGary <greg@mcgary.org>:
Andrew Cagney [Wed, 13 Feb 2002 19:00:47 +0000 (19:00 +0000)]
From 2002-01-18 Greg McGary <greg@mcgary.org>:
* (create_mem_region): Disallow useless empty region.  Regions are
half-open intervals, so allow [A..B) [B..C) as non-overlapping.

22 years ago2002-02-13 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 13 Feb 2002 18:49:30 +0000 (18:49 +0000)]
2002-02-13  Michael Chastain <mec@shout.net>

* defs.h: Kill CONST_PTR.
* c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
* c-lang.c (c_builtin_types): Likewise.
* ch-lang.c (ch_builtin_types): Likewise.
* f-lang.c (f_builtin_types): Likewise.
* language.c (unknown_builtin_types): Likewise.
* m2-lang.c (m2_builtin_types): Likewise.
* p-lang.c (pascal_builtin_types): Likewise.
* scm-lang.c (c_builtin_types): Likewise.

22 years agobfd:
Jason Thorpe [Wed, 13 Feb 2002 18:14:48 +0000 (18:14 +0000)]
bfd:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize
EF_M68000.

bintuls:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* readelf.c (get_machine_flags): Recognize EF_M68000.

gas:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* config/tc-m68k.c (md_show_usage): No longer display a
hard-coded "68020" for the default CPU, instead display the
canonical name of the true, configured default CPU.
(m68k_elf_final_processing): Mark objects for sub-68020
CPUs with the new EF_M68000 flag.

include/elf:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* m68k.h (EF_M68000): Define.

22 years ago* gdb.base/watchpoint.exp: Restore previous timeout at end of test.
Richard Earnshaw [Wed, 13 Feb 2002 17:40:42 +0000 (17:40 +0000)]
* gdb.base/watchpoint.exp: Restore previous timeout at end of test.

22 years ago * arm-tdep.h (arm_get_next_pc): Add declaration.
Keith Seitz [Wed, 13 Feb 2002 17:09:07 +0000 (17:09 +0000)]
* arm-tdep.h (arm_get_next_pc): Add declaration.

22 years ago* arm-tdep.c (arm_use_struct_convention): Make static. Move to be
Richard Earnshaw [Wed, 13 Feb 2002 16:32:34 +0000 (16:32 +0000)]
* arm-tdep.c (arm_use_struct_convention): Make static.  Move to be
with other related struct-returning functions.
(arm_extract_struct_value_address): New function.
(arm_gdbarch_init): Initialize the above in multi-arch vector.  Also
initialize float_format, double_format and long_double_format as
appropriate to the endianness of the target.
* config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
(arm_use_struct_convention): Delete declaration.
(USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.

22 years agoArgh! These should also have been committed along with:
Richard Earnshaw [Wed, 13 Feb 2002 16:24:59 +0000 (16:24 +0000)]
Argh!  These should also have been committed along with:

* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Make static.
(arm_software_single_step): Similarly.  Fix types in declaration.
(arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
(arm_store_return_value, arm_store_struct_return): New functions.
(arm_gdbarch_init): Register the above functions.  Also register
call_dummy_start_offset, sizeof_call_dummy_words,
function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
max_register_virtual_size, register_size.  Set up
prologue_cache.saved_regs here, rather than ...
(_initialize_arm_tdep): ... here.
* config/arm/tm-arm.h (struct type, struct value): Delete forward
declarations.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Delete declarations.
(SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
(SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
(DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
(REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
(SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
(SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
(arm_get_next_pc): No-longer static -- these are needed by the RDI
interface.
* arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
* remote-rdi.c remote-rdp.c: Likewise.
* Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
(armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
* config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
definition.

* arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
(ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
(ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
from non-ARM_ prefixed definitions.
* arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
all uses of above.
* remote-rdi.c remote-rdp.c: Likewise.
* arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.

22 years agoI seemed to have not checked this in last night... Updated ChangeLog to
Keith Seitz [Wed, 13 Feb 2002 15:43:37 +0000 (15:43 +0000)]
I seemed to have not checked this in last night... Updated ChangeLog to
reflect real check-in time.

        * defs.h (core_addr_to_string_nz): New function.

22 years agoUpdate copyright.
Andreas Schwab [Wed, 13 Feb 2002 11:19:07 +0000 (11:19 +0000)]
Update copyright.

22 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
Andreas Schwab [Wed, 13 Feb 2002 11:17:48 +0000 (11:17 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
pc-relative relocations to merge sections in 64-bit mode.

22 years agoAccept a physicall address of 0 as valid in a program header
Nick Clifton [Wed, 13 Feb 2002 10:20:59 +0000 (10:20 +0000)]
Accept a physicall address of 0 as valid in a program header

22 years agoDo not expect an explicit ordering of the sections.
Nick Clifton [Wed, 13 Feb 2002 09:48:40 +0000 (09:48 +0000)]
Do not expect an explicit ordering of the sections.

22 years ago* fix date on most recent entry.
Ben Elliston [Wed, 13 Feb 2002 09:00:17 +0000 (09:00 +0000)]
* fix date on most recent entry.

22 years ago2002-02-12 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 13 Feb 2002 08:59:26 +0000 (08:59 +0000)]
2002-02-12  Ben Elliston  <bje@redhat.com>

* NEWS: Document floating point number handling in gasp.
* gasp.c: Include <assert.h> and "xregex.h".
(is_flonum): New function.
(chew_flownum): Likewise.
(change_base): Consume flonums from the input, where possible.
* doc/gasp.texi (Constants): Document floating point numbers.

[testsuite/ChangeLog]

* gasp/flonums.asm: New test.
* gasp/flonums.err: New result.
* gasp/flonums.out: Likewise.

22 years agoApply missing bits of 2002-01-15 patch.
Mark Kettenis [Wed, 13 Feb 2002 08:10:30 +0000 (08:10 +0000)]
Apply missing bits of 2002-01-15 patch.
* i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.

22 years ago * defs.h (core_addr_to_string_nz): New function.
Keith Seitz [Wed, 13 Feb 2002 06:06:26 +0000 (06:06 +0000)]
* defs.h (core_addr_to_string_nz): New function.
* utils.c (core_addr_to_string): Use phex instead of phex_nz.
(core_addr_to_string_nz): New function.

22 years ago*** empty log message ***
gdbadmin [Wed, 13 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 12 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago[ opcodes/ChangeLog ]
Graydon Hoare [Tue, 12 Feb 2002 14:51:54 +0000 (14:51 +0000)]
[ opcodes/ChangeLog ]

2002-02-12  Graydon Hoare  <graydon@redhat.com>

* cgen-asm.in (parse_insn_normal): Change call from
@arch@_cgen_parse_operand to cd->parse_operand, to
facilitate CGEN_ASM_INIT_HOOK doing useful work.

22 years ago * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
Jakub Jelinek [Tue, 12 Feb 2002 14:50:08 +0000 (14:50 +0000)]
* ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
* ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
(exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
* ldexp.c (exp_data_seg): New variable.
(exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
(fold_binary): Handle DATA_SEGMENT_ALIGN.
(exp_fold_tree): Handle DATA_SEGMENT_END.
Pass allocation_done when recursing instead of hardcoding
lang_allocating_phase_enum.
* ldexp.h (exp_data_seg): New.
* ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
(lang_size_sections): New.
* ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
* scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
if COMMONPAGESIZE is defined.
* emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
* emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
* emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
* emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
* emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
libraries only.

22 years agoHmm, this should have been commited along with:
Richard Earnshaw [Tue, 12 Feb 2002 13:36:03 +0000 (13:36 +0000)]
Hmm, this should have been commited along with:

* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Make static.
(arm_software_single_step): Similarly.  Fix types in declaration.
(arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
(arm_store_return_value, arm_store_struct_return): New functions.
(arm_gdbarch_init): Register the above functions.  Also register
call_dummy_start_offset, sizeof_call_dummy_words,
function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
max_register_virtual_size, register_size.  Set up
prologue_cache.saved_regs here, rather than ...
(_initialize_arm_tdep): ... here.
* config/arm/tm-arm.h (struct type, struct value): Delete forward
declarations.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Delete declarations.
(SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
(SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
(DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
(REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
(SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
(SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
(arm_get_next_pc): No-longer static -- these are needed by the RDI
interface.
* arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
* remote-rdi.c remote-rdp.c: Likewise.
* Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
(armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
* config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
definition.

* arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
(ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
(ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
from non-ARM_ prefixed definitions.
* arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
all uses of above.
* remote-rdi.c remote-rdp.c: Likewise.
* arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.

22 years ago * ld-selective/selective.exp: Link against libgcc on
Alan Modra [Tue, 12 Feb 2002 11:10:11 +0000 (11:10 +0000)]
* ld-selective/selective.exp: Link against libgcc on
hppa*-*-linux* targets.

22 years ago * gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit
Alan Modra [Tue, 12 Feb 2002 11:09:41 +0000 (11:09 +0000)]
* gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit
hppa_fix_adjustable change.

22 years ago * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
Alan Modra [Tue, 12 Feb 2002 11:08:54 +0000 (11:08 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
that implicitly use LR and RR selectors.

22 years ago * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped
Alan Modra [Tue, 12 Feb 2002 11:08:27 +0000 (11:08 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): New function stripped
from _bfd_elf_hppa_gen_reloc_type.
(_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype.
* elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype.
* elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h.
* elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype.

22 years ago* MAINTAINERS: Added self as MN10300 co-maintainer.
Alexandre Oliva [Tue, 12 Feb 2002 09:50:55 +0000 (09:50 +0000)]
* MAINTAINERS: Added self as MN10300 co-maintainer.

22 years ago* elf-m10300.c (mn10300_elf_relax_section): Skip section before
Alexandre Oliva [Tue, 12 Feb 2002 09:25:39 +0000 (09:25 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Skip section before
loading its contents if there's nothing to do in it.

22 years ago* config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
Alexandre Oliva [Tue, 12 Feb 2002 07:41:35 +0000 (07:41 +0000)]
* config/tc-mn10300.c (other_registers): Added `epsw'.  Mark `pc'
and `epsw' as available on AM33 and above only.
(other_register_name): Add logic to handle machine type encoded in
reg_number.

22 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
Alan Modra [Tue, 12 Feb 2002 06:34:57 +0000 (06:34 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
64k boundary.

22 years agoAdd DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags
Alan Modra [Tue, 12 Feb 2002 06:31:29 +0000 (06:31 +0000)]
Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags

22 years agoFix minimal-toc with -maix64
Tom Rix [Tue, 12 Feb 2002 03:59:33 +0000 (03:59 +0000)]
Fix minimal-toc with -maix64

22 years ago* arm-linux-nat.c: Really include arm-tdep.h.
Richard Earnshaw [Tue, 12 Feb 2002 00:59:27 +0000 (00:59 +0000)]
* arm-linux-nat.c: Really include arm-tdep.h.
* config/arm/tm-linux.h (struct type, struct value): Declare.

22 years ago*** empty log message ***
gdbadmin [Tue, 12 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-11 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 11 Feb 2002 23:35:07 +0000 (23:35 +0000)]
2002-02-11  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Add some additional comments about supported
        models, and about which instructions go where.
        (BC1b, MFC0, MTC0, RFE): Sort supported models in the same
        order as is used in the rest of the file.

22 years agodaily update
Alan Modra [Mon, 11 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-11 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 11 Feb 2002 22:49:45 +0000 (22:49 +0000)]
2002-02-11  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (ADD, ADDI, DADDI, DSUB, SUB): Add comment
        indicating that ALU32_END or ALU64_END are there to check
        for overflow.
        (DADD): Likewise, but also remove previous comment about
        overflow checking.

22 years ago2002-02-11 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 11 Feb 2002 19:06:49 +0000 (19:06 +0000)]
2002-02-11  Daniel Jacobowitz  <drow@mvista.com>

* MAINTAINERS: List myself as branch maintainer.

22 years ago* arm-tdep.h: New file.
Richard Earnshaw [Mon, 11 Feb 2002 18:34:12 +0000 (18:34 +0000)]
* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Make static.
(arm_software_single_step): Similarly.  Fix types in declaration.
(arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
(arm_store_return_value, arm_store_struct_return): New functions.
(arm_gdbarch_init): Register the above functions.  Also register
call_dummy_start_offset, sizeof_call_dummy_words,
function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
max_register_virtual_size, register_size.  Set up
prologue_cache.saved_regs here, rather than ...
(_initialize_arm_tdep): ... here.
* config/arm/tm-arm.h (struct type, struct value): Delete forward
declarations.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Delete declarations.
(SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
(SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
(DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
(REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
(SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
(SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
(arm_get_next_pc): No-longer static -- these are needed by the RDI
interface.
* arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
* remote-rdi.c remote-rdp.c: Likewise.
* Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
(armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
* config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
definition.

* arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
(ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
(ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
from non-ARM_ prefixed definitions.
* arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
all uses of above.
* remote-rdi.c remote-rdp.c: Likewise.
* arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.

22 years ago* sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
Alexandre Oliva [Mon, 11 Feb 2002 13:24:51 +0000 (13:24 +0000)]
* sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
sign-extended.

22 years ago* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
Alexandre Oliva [Mon, 11 Feb 2002 13:24:06 +0000 (13:24 +0000)]
* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
Use all over.