external/binutils.git
24 years agoRemove some forward declarations in ldemul.h and ldfile.h, and
Alan Modra [Tue, 11 Jul 2000 03:42:41 +0000 (03:42 +0000)]
Remove some forward declarations in ldemul.h and ldfile.h, and
re-arrange header include order.
Fix shadowing warnings in ldlang.h
Fix compile errors in mpw-elfmips.c

24 years agoFix formatting
Nick Clifton [Mon, 10 Jul 2000 19:09:51 +0000 (19:09 +0000)]
Fix formatting

24 years ago Fix formatting.
Nick Clifton [Mon, 10 Jul 2000 18:59:26 +0000 (18:59 +0000)]
 Fix formatting.

24 years agoAdd set of bfd_mach_ cases for compatibility with older binutils
Nick Clifton [Mon, 10 Jul 2000 18:29:39 +0000 (18:29 +0000)]
Add set of bfd_mach_ cases for compatibility with older binutils

24 years agoFix a date.
Alan Modra [Mon, 10 Jul 2000 18:07:44 +0000 (18:07 +0000)]
Fix a date.

24 years ago2000-07-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 10 Jul 2000 17:20:35 +0000 (17:20 +0000)]
2000-07-10  H.J. Lu  <hjl@gnu.org>

* emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
DLL_SUPPORT.
(strhash): Likewise.
(compute_dll_image_base): Likewise.
(pe_undef_found_sym): Likewise.
(pe_undef_cdecl_match): Likewise.
(gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
argument "arch" with ATTRIBUTE_UNUSED.

24 years agoWarning fix and remove extraneous hppa*-*-linux-gnu*.
Alan Modra [Mon, 10 Jul 2000 17:15:11 +0000 (17:15 +0000)]
Warning fix and remove extraneous hppa*-*-linux-gnu*.

24 years agoEven more hppa testsuite patches.
Alan Modra [Mon, 10 Jul 2000 17:02:16 +0000 (17:02 +0000)]
Even more hppa testsuite patches.

24 years agoComment the relocs.
Alan Modra [Mon, 10 Jul 2000 15:34:31 +0000 (15:34 +0000)]
Comment the relocs.

24 years agoA few tweaks required to use Readline as part of the DJGPP port of GDB.
Eli Zaretskii [Mon, 10 Jul 2000 15:22:16 +0000 (15:22 +0000)]
A few tweaks required to use Readline as part of the DJGPP port of GDB.

24 years agoYet more hppa testuite tweaks for hppa-linux.
Alan Modra [Mon, 10 Jul 2000 15:21:05 +0000 (15:21 +0000)]
Yet more hppa testuite tweaks for hppa-linux.

24 years agoMore warning fixes, and a tweak in tc-hppa.c to check constant
Alan Modra [Mon, 10 Jul 2000 15:15:01 +0000 (15:15 +0000)]
More warning fixes, and a tweak in tc-hppa.c to check constant
branch offsets a little more thoroughly.

24 years ago* mips-tdep.c (mips_push_arguments): Always align struct_addr on a
Andrew Cagney [Mon, 10 Jul 2000 15:09:23 +0000 (15:09 +0000)]
* mips-tdep.c (mips_push_arguments): Always align struct_addr on a
16 byte boundary. Align allocated argument space using
MIPS_STACK_ARGSIZE.  Reserve space on stack for the struct return
and floating-point registers.  Use fp_register_arg_p to determine
if float_argreg should be aligned.

24 years agoRemove some of the hppa testsuite fudges for hppa-linux.
Alan Modra [Mon, 10 Jul 2000 14:59:48 +0000 (14:59 +0000)]
Remove some of the hppa testsuite fudges for hppa-linux.

24 years agoWarning fixes.
Alan Modra [Mon, 10 Jul 2000 14:51:04 +0000 (14:51 +0000)]
Warning fixes.

24 years ago2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 10 Jul 2000 14:43:37 +0000 (14:43 +0000)]
2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
  sh_store_return_value().
* sh-tdep.c (sh_store_return_value): New function. Store the
  value returned by a function into the appropriate register.

2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * sh-tdep.c (sh_skip_prologue): Before looking at the actual
  instructions, try to see if the symbol table can be of help, by
  calling after_prologue(). If this doesn't work, call
  skip_prologue_hard_way().
(skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
  more instruction pattern matching for pushing of arguments, and
  manipulation of r14.
(after_prologue): New function. Use symbol table info to determine
  the end of the prologue, if possible.

24 years ago2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 10 Jul 2000 06:16:51 +0000 (06:16 +0000)]
2000-07-07  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
        generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
        generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
        generic_target_write_pc, generic_target_read_pc, write_pc_pid,
        read_pc_pid, supply_register, write_register_pid, write_register,
        read_register_pid, read_register, write_register_bytes,
        read_register_bytes, write_register_gen, read_register_gen,
        registers_fetched, registers_changed, find_saved_register,
        read_relative_register_raw_bytes, default_get_saved_register,
        read_relative_register_raw_bytes_for_frame, get_saved_register):
        Move from this file into new file regcache.c.
        (register_valid, registers_pid, registers): Ditto.
        * regcache.c: New file to hold the register cache.
        (register_cached): New function to read register_valid array.
        * value.h (register_cached): Declare.
        * defs.h (default_get_saved_register): Delete decl of static function.
        * Makefile.in: Add regcache module.

24 years agoDummy commit for diff purposes.
Michael Snyder [Mon, 10 Jul 2000 06:14:40 +0000 (06:14 +0000)]
Dummy commit for diff purposes.

24 years agoRyan Bradetich's warning fixes.
Alan Modra [Mon, 10 Jul 2000 05:14:13 +0000 (05:14 +0000)]
Ryan Bradetich's warning fixes.

24 years agoFrom Pierre Muller <muller@ics.u-strasbg.fr>:
Andrew Cagney [Mon, 10 Jul 2000 05:09:51 +0000 (05:09 +0000)]
From Pierre Muller <muller@ics.u-strasbg.fr>:
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.

24 years agoAvoid negative section sequence ids.
Alan Modra [Mon, 10 Jul 2000 02:05:40 +0000 (02:05 +0000)]
Avoid negative section sequence ids.

24 years ago* ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
Geoffrey Keating [Sun, 9 Jul 2000 20:28:51 +0000 (20:28 +0000)]
* ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.

24 years ago2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Sun, 9 Jul 2000 19:11:44 +0000 (19:11 +0000)]
2000-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * TODO: Remove readline 4.1 import item.

24 years agoreadline:
Elena Zannoni [Sun, 9 Jul 2000 17:20:00 +0000 (17:20 +0000)]
readline:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        Locally modified files: Makefile.in, configure.in, configure
        (regenerated), config.h.in (regenerated), readline.h, rltty.c,
  shell.c signals.c.

        Locally added files: acconfig.h, config/*, config.h.bot,
        cross-build/*, doc/inc-hit.texinfo.

        New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        New files: excallback.c, rlfe.c.
doc:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
        inclusion in the gdb manual.

        New file: rluserman.texinfo

24 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Elena Zannoni [Sun, 9 Jul 2000 16:21:23 +0000 (16:21 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

24 years agoImport of readline 4.1
Elena Zannoni [Sun, 9 Jul 2000 16:21:23 +0000 (16:21 +0000)]
Import of readline 4.1

24 years agoAdd several more port specific maintainers
Nick Clifton [Sun, 9 Jul 2000 15:23:00 +0000 (15:23 +0000)]
Add several more port specific maintainers

24 years ago2000-07-09 Koundinya K <kk@ddeorg.soft.net>
Ulf Carlsson [Sun, 9 Jul 2000 13:48:21 +0000 (13:48 +0000)]
2000-07-09  Koundinya K  <kk@ddeorg.soft.net>

        * elf32-mips.c (sort_dynamic_relocs): New Function.
        (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs
via qsort to sort the dynamic relocations in increasing r_symndx
value.

24 years agoForgot to save in emacs.
Alan Modra [Sun, 9 Jul 2000 09:04:39 +0000 (09:04 +0000)]
Forgot to save in emacs.

24 years agohppaelf.em: Merge from elf32.em and implement multiple linker stubs.
Alan Modra [Sun, 9 Jul 2000 08:45:29 +0000 (08:45 +0000)]
hppaelf.em: Merge from elf32.em and implement multiple linker stubs.
Makefile.am: Re-enable ehppaelf.o, add ehppalinux.o
configure.tgt: targ_emul=hppalinux for hppa*linux

24 years agoAdd linux-elf flavour to pseudos in tc-hppa.c and some tidying
Alan Modra [Sun, 9 Jul 2000 08:16:21 +0000 (08:16 +0000)]
Add linux-elf flavour to pseudos in tc-hppa.c and some tidying
and bug fixes.  Handle wide mode relocs.  Don't select target
size based on BFD64.

24 years agoAdd some prototypes, and fix a few warnings.
Alan Modra [Sun, 9 Jul 2000 07:29:39 +0000 (07:29 +0000)]
Add some prototypes, and fix a few warnings.

24 years agoRestore hppa-elf32 to working order.
Alan Modra [Sun, 9 Jul 2000 07:23:07 +0000 (07:23 +0000)]
Restore hppa-elf32 to working order.

24 years ago * Makefile.in (install-info): Find files to install in either the build
Eli Zaretskii [Sun, 9 Jul 2000 05:41:21 +0000 (05:41 +0000)]
* Makefile.in (install-info): Find files to install in either the build
or source directories (adapted from Makefile.am).
(From Chris Faylor.)

24 years ago * gdb.c++/misc.cc (class ClassParam, class_param): Define.
Nicholas Duffek [Sun, 9 Jul 2000 05:16:11 +0000 (05:16 +0000)]
* gdb.c++/misc.cc (class ClassParam, class_param): Define.
(use_methods): New function.
(main): Call use_methods().
* gdb.c++/classes.exp (test_method_param_class): New procedure.
(do_tests): Call test_method_param_class.

24 years ago * gdbtypes.c (is_ancestor): Infer type equivalence from name
Nicholas Duffek [Sun, 9 Jul 2000 05:15:50 +0000 (05:15 +0000)]
* gdbtypes.c (is_ancestor): Infer type equivalence from name
equivalence.
(rank_one_type): Use strcmp instead of == to compare type names.
Don't swap parm with arg when checking TYPE_CODE_REF types.
* valops.c (find_overload_match): Fix indentation.  Compare
parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
and 100.

24 years ago * gdb.c++/classes.exp (test_nonexistant_members): Fix name
Nicholas Duffek [Sun, 9 Jul 2000 05:10:13 +0000 (05:10 +0000)]
* gdb.c++/classes.exp (test_nonexistant_members): Fix name
spelling.
(test_enums): New procedure.  Move enum tests from end of script
to here.  Set breakpoint on function name instead of line number.
* gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
(enums2): New marker function.
(enums1): New function.
(main): Call enums1().  Move enum tests to enums1().

24 years ago2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Sat, 8 Jul 2000 22:07:54 +0000 (22:07 +0000)]
2000-07-08  Ulf Carlsson  <ulfc@engr.sgi.com>

* doc/internals.texi (Expressions): Fix typo.

24 years agoFix formatting
Nick Clifton [Sat, 8 Jul 2000 20:34:43 +0000 (20:34 +0000)]
Fix formatting

24 years agoFix formating
Nick Clifton [Sat, 8 Jul 2000 18:56:38 +0000 (18:56 +0000)]
Fix formating

24 years agoFix formatting
Nick Clifton [Sat, 8 Jul 2000 18:13:58 +0000 (18:13 +0000)]
Fix formatting

24 years agoFix --section-start=xxxx
Alan Modra [Sat, 8 Jul 2000 13:35:05 +0000 (13:35 +0000)]
Fix --section-start=xxxx

24 years agoAdd sequence id field to asection.
Alan Modra [Sat, 8 Jul 2000 12:08:43 +0000 (12:08 +0000)]
Add sequence id field to asection.
Tidy comments and replace deprecated CONST with const.

24 years agoDon't add a space before `/*' when processing comments.
Alan Modra [Sat, 8 Jul 2000 12:00:26 +0000 (12:00 +0000)]
Don't add a space before `/*' when processing comments.

24 years ago * stabs.texinfo: Fix spelling errors.
Nicholas Duffek [Fri, 7 Jul 2000 23:44:16 +0000 (23:44 +0000)]
* stabs.texinfo: Fix spelling errors.
(String Field): FILE-NUMBER starts from 0, not 1.

24 years ago * xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
Nicholas Duffek [Fri, 7 Jul 2000 22:00:09 +0000 (22:00 +0000)]
* xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
* rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.

24 years agominor formatting change
DJ Delorie [Fri, 7 Jul 2000 20:10:28 +0000 (20:10 +0000)]
minor formatting change

24 years ago* ld/emultempl/pe.em: institute the following search order for
DJ Delorie [Fri, 7 Jul 2000 20:09:28 +0000 (20:09 +0000)]
* ld/emultempl/pe.em: institute the following search order for
dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
static lib (libfoo.a) if none of the above are found.

24 years ago* ld/emultempl/pe.em (pe_enable_auto_image_base): New variable.
DJ Delorie [Fri, 7 Jul 2000 20:01:35 +0000 (20:01 +0000)]
* ld/emultempl/pe.em (pe_enable_auto_image_base): New variable.
(longopts): New --{enable,disable}-auto-image-base options.
(gld_${EMULATION_NAME}_list_options): Document.
(gld_${EMULATION_NAME}_parse): Handle.
(strhash): New static function.
(compute_dll_image_base): New static function.
(gld_${EMULATION_NAME}_set_symbols): Use.

24 years agoImport of readline 4.0 readline_4_0
Elena Zannoni [Fri, 7 Jul 2000 19:14:18 +0000 (19:14 +0000)]
Import of readline 4.0

24 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Elena Zannoni [Fri, 7 Jul 2000 19:14:18 +0000 (19:14 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

24 years ago* archive.c (_bfd_write_archive_contents): Add an informative
DJ Delorie [Fri, 7 Jul 2000 17:40:23 +0000 (17:40 +0000)]
* archive.c (_bfd_write_archive_contents): Add an informative
comment.

24 years agoDummy commit before importof 4.1 version
Elena Zannoni [Fri, 7 Jul 2000 17:15:46 +0000 (17:15 +0000)]
Dummy commit before importof 4.1 version

24 years agoFix comments.
Nick Clifton [Fri, 7 Jul 2000 16:58:25 +0000 (16:58 +0000)]
Fix comments.

24 years agofixed another comment formatting problem.
Nick Clifton [Fri, 7 Jul 2000 16:52:31 +0000 (16:52 +0000)]
fixed another comment formatting problem.

24 years agooops - omitted from previous delta
Nick Clifton [Fri, 7 Jul 2000 16:46:38 +0000 (16:46 +0000)]
oops - omitted from previous delta

24 years agoFix formatting.
Nick Clifton [Fri, 7 Jul 2000 16:45:46 +0000 (16:45 +0000)]
Fix formatting.

24 years ago2000-07-07 Andrew Haley <aph@cygnus.com>
Andrew Haley [Fri, 7 Jul 2000 13:52:53 +0000 (13:52 +0000)]
2000-07-07  Andrew Haley  <aph@cygnus.com>

* cplus-dem.c (main): fflush() after emitting last char before
waiting for input.

24 years ago * symlink-tree: Check number of arguments.
Jeff Law [Fri, 7 Jul 2000 13:21:39 +0000 (13:21 +0000)]
    * symlink-tree:  Check number of arguments.

24 years agoMore mult-arch conversions: IEEE_FLOAT, SKIP_PROLOGUE,
Andrew Cagney [Fri, 7 Jul 2000 09:19:03 +0000 (09:19 +0000)]
More mult-arch conversions: IEEE_FLOAT, SKIP_PROLOGUE,
SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC,
INNER_THAN.

24 years ago* config/i386/tm-linux.h: Add longjmp support.
Mark Kettenis [Fri, 7 Jul 2000 00:30:35 +0000 (00:30 +0000)]
* config/i386/tm-linux.h: Add longjmp support.
(JB_ELEMENT_SIZE, JB_PC): New defines.
(GET_LONGJMP_TARGET): Define.
(get_longjmp_target): Add prototype.

24 years ago* breakpoint.c (bpstat_what): Keep returning
Mark Kettenis [Fri, 7 Jul 2000 00:20:29 +0000 (00:20 +0000)]
* breakpoint.c (bpstat_what): Keep returning
BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp()
breakpoints instead of signalling an error by returning
BPSTAT_WHAT_STOP_NOISY.

24 years agoFix formatting
Nick Clifton [Thu, 6 Jul 2000 23:26:55 +0000 (23:26 +0000)]
Fix formatting

24 years ago2000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 6 Jul 2000 23:17:32 +0000 (23:17 +0000)]
2000-07-06  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.

24 years ago* infcmd.c (attach_command): Move "stop_soon_quietly" setting inside
Christopher Faylor [Thu, 6 Jul 2000 20:58:33 +0000 (20:58 +0000)]
* infcmd.c (attach_command): Move "stop_soon_quietly" setting inside
ATTACH_NO_WAIT conditional since we are not about to stop soon if we're not
calling wait_for_inferior.

24 years agooops - omitted frpom previous delta
Nick Clifton [Thu, 6 Jul 2000 17:21:00 +0000 (17:21 +0000)]
oops - omitted frpom previous delta

24 years agoApplied Mark Elbrecht <snowball3@bigfoot.com>'s patch to implement
Nick Clifton [Thu, 6 Jul 2000 17:18:10 +0000 (17:18 +0000)]
Applied Mark Elbrecht <snowball3@bigfoot.com>'s patch to implement
TC_COFF_SECTION_DEFAULT_ATTRIBUTES.

24 years agoAlways NULL terminate long option list.
Andrew Cagney [Thu, 6 Jul 2000 07:25:02 +0000 (07:25 +0000)]
Always NULL terminate long option list.

24 years agoTue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
Andrew Cagney [Thu, 6 Jul 2000 07:01:38 +0000 (07:01 +0000)]
Tue Jul  4 14:08:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>

      * config/tc-d30v.h: Include "write.h" for fixS.
      (d30v_start_line, md_pcrel_from_section): Add function prototypes.

24 years agoUpdate texinfo.tex to version 2000-05-28.15.
Andrew Cagney [Thu, 6 Jul 2000 05:39:36 +0000 (05:39 +0000)]
Update texinfo.tex to version 2000-05-28.15.

24 years agoFix expected results
Nick Clifton [Wed, 5 Jul 2000 22:28:07 +0000 (22:28 +0000)]
Fix expected results

Fix expected results.

24 years agooops - omitted from previous delta
Nick Clifton [Wed, 5 Jul 2000 21:56:08 +0000 (21:56 +0000)]
oops - omitted from previous delta

24 years agoFurther changes to warning messages
Nick Clifton [Wed, 5 Jul 2000 21:55:13 +0000 (21:55 +0000)]
Further changes to warning messages

24 years agoChange minimum loop size limit to 0x10 (103792)
Nick Clifton [Wed, 5 Jul 2000 21:40:11 +0000 (21:40 +0000)]
Change minimum loop size limit to 0x10 (103792)

24 years agoAdd Mike Meissner
Nick Clifton [Wed, 5 Jul 2000 20:11:22 +0000 (20:11 +0000)]
Add Mike Meissner

24 years agoadd MAINTAINERS files
DJ Delorie [Wed, 5 Jul 2000 19:28:06 +0000 (19:28 +0000)]
add MAINTAINERS files

24 years agoRemove \centerline from the blurb. Patch from Brian Youmans.
Eli Zaretskii [Wed, 5 Jul 2000 13:11:41 +0000 (13:11 +0000)]
Remove \centerline from the blurb.  Patch from Brian Youmans.

24 years agoKeep NATDEPFILES on a single line.
Andrew Cagney [Wed, 5 Jul 2000 11:11:58 +0000 (11:11 +0000)]
Keep NATDEPFILES on a single line.

24 years agoSet SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*.
Andrew Cagney [Wed, 5 Jul 2000 10:55:17 +0000 (10:55 +0000)]
Set SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*.

24 years agoReplace command_loop_marker() with null_cleanup().
Andrew Cagney [Wed, 5 Jul 2000 10:36:41 +0000 (10:36 +0000)]
Replace command_loop_marker() with null_cleanup().

24 years agoCheck for <sys/poll.h>.
Andrew Cagney [Wed, 5 Jul 2000 10:25:43 +0000 (10:25 +0000)]
Check for <sys/poll.h>.

24 years agoPass infodir down to sub-makes.
Andrew Cagney [Wed, 5 Jul 2000 08:12:04 +0000 (08:12 +0000)]
Pass infodir down to sub-makes.

24 years agoUpdate TODO.
Andrew Cagney [Wed, 5 Jul 2000 08:05:53 +0000 (08:05 +0000)]
Update TODO.

24 years ago* TODO: Update.
Mark Kettenis [Tue, 4 Jul 2000 22:55:42 +0000 (22:55 +0000)]
* TODO: Update.

24 years ago* armvirt.c (ABORTS): Do not define.
Alexandre Oliva [Tue, 4 Jul 2000 08:00:19 +0000 (08:00 +0000)]
* armvirt.c (ABORTS): Do not define.

24 years ago* armdefs.h (struct ARMul_State): Add is_StrongARM.
Alexandre Oliva [Tue, 4 Jul 2000 07:18:18 +0000 (07:18 +0000)]
* armdefs.h (struct ARMul_State): Add is_StrongARM.
(ARM_Strong_Prop, STRONGARM): Define.
* arminit.c (ARMul_NewState): Reset is_StrongARM.
(ARMul_SelectProcessor): Set is_StrongARM.
* wrapper.c (sim_create_inferior): Use bfd machine type to
determine processor type to emulate.
* armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
when emulating StrongARM.

24 years ago* armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
Alexandre Oliva [Tue, 4 Jul 2000 06:54:48 +0000 (06:54 +0000)]
* armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.

24 years ago* armemu.h (INSN_SIZE): New macro.
Alexandre Oliva [Tue, 4 Jul 2000 06:52:30 +0000 (06:52 +0000)]
* armemu.h (INSN_SIZE): New macro.
(SET_ABORT): Save CPSR in SPSR and set LR.
* armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
(WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
* arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.

24 years ago* armemu.c (LoadSMult): Use WriteR15() to discard the least
Alexandre Oliva [Tue, 4 Jul 2000 06:39:39 +0000 (06:39 +0000)]
* armemu.c (LoadSMult): Use WriteR15() to discard the least
significant bits of PC.

24 years ago* armemu.h (WRITEDESTB): New macro.
Alexandre Oliva [Tue, 4 Jul 2000 06:35:36 +0000 (06:35 +0000)]
* armemu.h (WRITEDESTB): New macro.
* armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
modify PC.  Moved the existing logic...
(WriteR15Branch): ... here.  New function.
(WriteR15, WriteSR15): Drop the two least significant bits.
(LoadSMult): Use WriteR15Branch() to modify PC.
(LoadMult): Use WRITEDESTB() instead of WRITEDEST().

24 years ago* armemu.h (GETSPSR): Call ARMul_GetSPSR().
Alexandre Oliva [Tue, 4 Jul 2000 06:19:29 +0000 (06:19 +0000)]
* armemu.h (GETSPSR): Call ARMul_GetSPSR().
* armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
extracted from state->Cpsr, but preserve the unused bits.
(ARMul_GetCPSR): Get bits preserved in state->Cpsr.
(ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
get the full CPSR word.

24 years ago* armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
Alexandre Oliva [Tue, 4 Jul 2000 06:06:30 +0000 (06:06 +0000)]
* armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
(SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
(SETPSR, SET_INTMODE, SETCC): Removed.
* armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
mask.  Use SETPSR_* to modify PSR.
(ARMul_SetCPSR): Load all bits from value.
* armemu.c (ARMul_Emulate, msr): Do not test bit mask.

24 years ago* config/tc-arm.c (psrs): Accept combinations of flags.
Alexandre Oliva [Tue, 4 Jul 2000 05:49:04 +0000 (05:49 +0000)]
* config/tc-arm.c (psrs): Accept combinations of flags.

24 years ago* arm-dis.c (print_insn_arm): Output combinations of PSR flags.
Alexandre Oliva [Tue, 4 Jul 2000 05:47:22 +0000 (05:47 +0000)]
* arm-dis.c (print_insn_arm): Output combinations of PSR flags.

24 years ago* armemu.c (ARMul_Emulate): Compute writeback value before
Alexandre Oliva [Tue, 4 Jul 2000 05:30:43 +0000 (05:30 +0000)]
* armemu.c (ARMul_Emulate): Compute writeback value before
loading, since the offset register may be the destination
register.

24 years ago* armdefs.h (SYSTEMBANK): Define as USERBANK.
Alexandre Oliva [Tue, 4 Jul 2000 05:16:20 +0000 (05:16 +0000)]
* armdefs.h (SYSTEMBANK): Define as USERBANK.
* armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.

24 years ago* coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
Alexandre Oliva [Tue, 4 Jul 2000 05:11:37 +0000 (05:11 +0000)]
* coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
value of PC-relative offsets.

24 years agoTIc80 simulator.
Andrew Cagney [Tue, 4 Jul 2000 05:00:54 +0000 (05:00 +0000)]
TIc80 simulator.

24 years agoRewrite gdb.asm so that it doesn't assume a C comiler (or any C
Andrew Cagney [Tue, 4 Jul 2000 02:47:08 +0000 (02:47 +0000)]
Rewrite gdb.asm so that it doesn't assume a C comiler (or any C
support).

24 years agoReplace jumbo pattern match with gdb_expect_list().
Andrew Cagney [Tue, 4 Jul 2000 02:38:05 +0000 (02:38 +0000)]
Replace jumbo pattern match with gdb_expect_list().