deliverable/binutils-gdb.git
26 years agoFri Jun 12 14:03:34 1998 Syd Polk <spolk@cygnus.com>
Syd Polk [Fri, 12 Jun 1998 21:04:33 +0000 (21:04 +0000)] 
Fri Jun 12 14:03:34 1998  Syd Polk  <spolk@cygnus.com>

* Makefile.in: all-snavigator needs all-libgui.

26 years agoMake sure .gcc_except_table fits in the section header table
Michael Meissner [Fri, 12 Jun 1998 21:00:00 +0000 (21:00 +0000)] 
Make sure .gcc_except_table fits in the section header table

26 years agoAdd PowerPC support to readelf; Print machine specific flags; Print endianess; Make...
Michael Meissner [Fri, 12 Jun 1998 20:50:03 +0000 (20:50 +0000)] 
Add PowerPC support to readelf; Print machine specific flags; Print endianess; Make widening more portable

26 years agoFri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Fri, 12 Jun 1998 20:46:23 +0000 (20:46 +0000)] 
Fri June 12 16:24:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
* dv-mn103iop.c: New file for handling am32 io ports.
* configure.in: Add mn103iop to hw_device list.
* configure: Re-generate.
* interp.c (sim_open): Create io port device.

26 years ago * elf.c (swap_out_syms): New arg relocatable_p.
Doug Evans [Fri, 12 Jun 1998 20:37:40 +0000 (20:37 +0000)] 
* elf.c (swap_out_syms): New arg relocatable_p.
Don't add section VMA to symbols for relocatable output.
(_bfd_elf_compute_section_file_positions): Update call to
swap_out_syms.

26 years agoAdd dv-mn103iop.
Joyce Janczyn [Fri, 12 Jun 1998 20:15:43 +0000 (20:15 +0000)] 
Add dv-mn103iop.

26 years ago * sim-engine.c (sim_engine_get_run_state): New function.
Doug Evans [Fri, 12 Jun 1998 20:08:50 +0000 (20:08 +0000)] 
* sim-engine.c (sim_engine_get_run_state): New function.
* sim-engine.h (sim_engine_get_run_state): Declare it.

26 years agoNew file for handling mn1030002 io ports.
Joyce Janczyn [Fri, 12 Jun 1998 20:07:33 +0000 (20:07 +0000)] 
New file for handling mn1030002 io ports.

26 years agoAdd dv-mn103iop.c to list of files to sanitize out.
Joyce Janczyn [Fri, 12 Jun 1998 20:05:08 +0000 (20:05 +0000)] 
Add dv-mn103iop.c to list of files to sanitize out.

26 years agoPR15067
Vladimir Makarov [Fri, 12 Jun 1998 19:54:28 +0000 (19:54 +0000)] 
PR15067

26 years ago * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
Doug Evans [Fri, 12 Jun 1998 19:49:54 +0000 (19:49 +0000)] 
* config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
section vma.

26 years agoPR15067
Vladimir Makarov [Fri, 12 Jun 1998 19:42:17 +0000 (19:42 +0000)] 
PR15067

26 years ago * interp.c: added call to sky_command_options_end() to close
Patrick Macdonald [Fri, 12 Jun 1998 18:58:26 +0000 (18:58 +0000)] 
* interp.c: added call to sky_command_options_end() to close
any open file handles before exiting
* sky-gpuif.[c|h]: add disassembly on the fly code, log and log
file option support
* sky-gdb.[c|h] (sky_command_options_close()): new function, added
some body to the log and log file option sections

26 years agoFri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Fri, 12 Jun 1998 15:13:28 +0000 (15:13 +0000)] 
Fri Jun 12 11:04:06 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

Fix problems when bfd_vma is wider than long.
* i386-dis.c: Make op_address and start_pc unsigned.
(set_op): Make parameter unsigned.
(print_insn_x86): Cast to bfd_vma when passing a value to
print_address_func.
* ns32k-dis.c (CORE_ADDR): Don't define.
  (print_insn_ns32k): Change type of addr to bfd_vma.  Use
bfd_scan_vma to read back address.
(print_insn_arg): Change type of addr to bfd_vma.  Use sprintf_vma
to format it.
* m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow.
(NEXTULONG): New definition.
(print_insn_m68k): Avoid overflow when computing third argument of
print_insn_arg.
(print_insn_arg): Use NEXTULONG to fetch 32 bit address values.
Use disp instead of val to store offset values.
(print_indexed): Use base_disp instead of word to store base
displacement, to avoid overflow.
* m10300-dis.c (disassemble): Cast value to long when computing
pc-relative address, to get correct sign extension.

26 years ago * Makefile.in (stamp-{arch,cpu,decode}): Pass CGEN_FLAGS_TO_PASS
Doug Evans [Fri, 12 Jun 1998 06:40:41 +0000 (06:40 +0000)] 
* Makefile.in (stamp-{arch,cpu,decode}): Pass CGEN_FLAGS_TO_PASS
to recursive makes.
(stamp-{xcpu,xdecode}): Ditto.

26 years ago * configure.in: Add cygmon and libstub support for mn10300.
Mark Alexander [Fri, 12 Jun 1998 02:47:09 +0000 (02:47 +0000)] 
* configure.in: Add cygmon and libstub support for mn10300.

26 years ago * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
Doug Evans [Fri, 12 Jun 1998 01:08:57 +0000 (01:08 +0000)] 
* lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
* sim/sky/sky-defs.tcl (run_trc_test): Update to new way of
environment variables to sim_run.

26 years ago * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
Doug Evans [Fri, 12 Jun 1998 01:08:26 +0000 (01:08 +0000)] 
* lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.

26 years agoFix sunOS build of readelf.
Nick Clifton [Fri, 12 Jun 1998 00:56:39 +0000 (00:56 +0000)] 
Fix sunOS build of readelf.
Fixed -Wall warnigs when built under Linux.

26 years agoAdjust tests and results after applying patch for PR12542
Nick Clifton [Thu, 11 Jun 1998 23:52:11 +0000 (23:52 +0000)] 
Adjust tests and results after applying patch for PR12542

26 years agoFix for PR12542 - if check_range is passed a constant for a shifted operand,
Nick Clifton [Thu, 11 Jun 1998 23:51:16 +0000 (23:51 +0000)] 
Fix for PR12542 - if check_range is passed a constant for a shifted operand,
shift the constant first.

26 years agoFix for PR11938 - display suitable error messages for bogus .byte, .short and .quad...
Nick Clifton [Thu, 11 Jun 1998 22:58:05 +0000 (22:58 +0000)] 
Fix for PR11938 - display suitable error messages for bogus .byte, .short and .quad directives.

26 years ago * sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags.
Doug Evans [Thu, 11 Jun 1998 22:52:40 +0000 (22:52 +0000)] 
* sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags.

26 years ago * sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
Doug Evans [Thu, 11 Jun 1998 22:50:51 +0000 (22:50 +0000)] 
* sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
sim_compile.

26 years ago(sim_compile): Tweak output text.
Doug Evans [Thu, 11 Jun 1998 22:49:25 +0000 (22:49 +0000)] 
(sim_compile): Tweak output text.

26 years ago * stabs.c (struct stab_handle): Add self_crossref field.
Ian Lance Taylor [Thu, 11 Jun 1998 22:45:08 +0000 (22:45 +0000)] 
* stabs.c (struct stab_handle): Add self_crossref field.
(parse_stab_string): If a tag is a cross reference to itself,
don't define it in the tags list.
(parse_stab_type): Set info->self_crossref.

* debug.c (struct debug_type_real_list): Define.
(debug_get_real_type): Add list parameter.  Change all callers.
Check for circularity to avoid crashing when it occurs.

26 years agoOoops - forgopt to check this in with the previous delta!
Nick Clifton [Thu, 11 Jun 1998 22:32:44 +0000 (22:32 +0000)] 
Ooops - forgopt to check this in with the previous delta!

26 years ago * sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
Doug Evans [Thu, 11 Jun 1998 22:28:03 +0000 (22:28 +0000)] 
* sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
(VU0_MEM1_SIZE): New macro.

26 years ago * sim/sky/vu01reg-main.c: New file.
Doug Evans [Thu, 11 Jun 1998 22:27:01 +0000 (22:27 +0000)] 
* sim/sky/vu01reg-main.c: New file.
* sim/sky/vu01reg.dvpasm: New file.
* sim/sky/vu01reg.brn: New file.

26 years agoThu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 11 Jun 1998 22:08:46 +0000 (22:08 +0000)] 
Thu Jun 11 15:05:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * btowc.c: Removed.
        * configure.in: Don't see if we need to replace btowc().
        * Makefile.in: Don't include LIBOBJS.
        * configure: Regenerated.
        * gnu-regex.c (regex_compile): Only support i18n [:foo:] if
        we have btowc().

26 years agoAdd 'readelf' to binutils.
Nick Clifton [Thu, 11 Jun 1998 21:51:56 +0000 (21:51 +0000)] 
Add 'readelf' to binutils.

26 years agoAdd more checks for NULL pointers.
Nick Clifton [Thu, 11 Jun 1998 16:14:19 +0000 (16:14 +0000)] 
Add more checks for NULL pointers.

26 years agoFix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon sections.
Nick Clifton [Thu, 11 Jun 1998 15:58:53 +0000 (15:58 +0000)] 
Fix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon sections.

26 years ago* Moving some sky-specific ChangeLog entries into ChangeLog.sky
Frank Ch. Eigler [Thu, 11 Jun 1998 13:50:28 +0000 (13:50 +0000)] 
* Moving some sky-specific ChangeLog entries into ChangeLog.sky

26 years ago * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
Doug Evans [Thu, 11 Jun 1998 07:55:29 +0000 (07:55 +0000)] 
* sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
* sim-core.c (sim_core_signal): Make extern, always define.

26 years agoRegenerate, gets a_m32r_trap -> m32r_trap renaming.
Doug Evans [Thu, 11 Jun 1998 01:19:28 +0000 (01:19 +0000)] 
Regenerate, gets a_m32r_trap -> m32r_trap renaming.

26 years ago * m32r-sim.h (m32r_trap): Declare.
Doug Evans [Thu, 11 Jun 1998 01:18:13 +0000 (01:18 +0000)] 
* m32r-sim.h (m32r_trap): Declare.

26 years ago * Makefile.in (SIM_OBJS): Add traps.o
Doug Evans [Thu, 11 Jun 1998 01:06:05 +0000 (01:06 +0000)] 
* Makefile.in (SIM_OBJS): Add traps.o

26 years ago * traps.c: New file. Trap support moved here from sim-if.c.
Doug Evans [Thu, 11 Jun 1998 01:05:21 +0000 (01:05 +0000)] 
* traps.c: New file.  Trap support moved here from sim-if.c.
* Makefile.in (SIM_OBJS): Add traps.o
* sim-if.c: Don't include targ-vals.h.
(sim_engine_illegal_insn): Moved to traps.c
* sim-main.h (SIM_CORE_SIGNAL): Define.
(m32r_core_signal): Declare.

* devices.c (device_io_read_buffer): Handle cache purging via MCCR
register.

* m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
(PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
(TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.

26 years agoRegenerate. Updates from cgen for better VoidMode handling.
Doug Evans [Thu, 11 Jun 1998 01:04:47 +0000 (01:04 +0000)] 
Regenerate.  Updates from cgen for better VoidMode handling.

26 years agoCreate v850 special sections upon demand.
Nick Clifton [Thu, 11 Jun 1998 00:27:54 +0000 (00:27 +0000)] 
Create v850 special sections upon demand.

26 years ago * c-exp.y: Fix problems with parsing "'foo.bar'::func". Some languages
Stu Grossman [Wed, 10 Jun 1998 23:29:59 +0000 (23:29 +0000)] 
* c-exp.y:  Fix problems with parsing "'foo.bar'::func".  Some languages
allow symbols with dots.

* gdbtypes.c (check_stub_method):  Cosmetic.  Use more descriptive
names for parameters.

start-sanitize-java
* jv-exp.y:  Parser now accepts primitive types.
* (parse_number):  Use correct ifdef for scanf long double support.
* jv-lang.c (java_array_type):  Initial cut at array support.
end-sanitize-java

* language.c language.h (set_language):  Now returns previous language.

* symtab.c (find_methods):  Make static.  Cosmetic changes, including
indentation, and adding descriptive comments.  Move local variable defs
into the block they are used in.
* Don't call check_stub_method any more.  Use gdb_mangle_name to
generate the full method name.  find_method doesn't need all the other
goobldegook that check_stub_method does.
* (gdb_mangle_name):  Use more descriptive names for parameters.  Fix
comment.
start-sanitize-java
* (lookup_partial_symbol lookup_block_symbol):  Check for java to
ensure we can find mangled names.
end-sanitize-java
* (decode_line_1):  Move local variable defs into the block they are
used in.  (Improves code readability.)

26 years ago * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
Doug Evans [Wed, 10 Jun 1998 23:03:55 +0000 (23:03 +0000)] 
* Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
* cgen-ops.h (ANDIF): New macro.
(ANDIF[BQHSD]I): Delete.

26 years ago * m32r-opc.c: Regenerate.
Doug Evans [Wed, 10 Jun 1998 23:00:10 +0000 (23:00 +0000)] 
* m32r-opc.c: Regenerate.
Updates from better VoidMode handling in cgen.

26 years agoWed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 10 Jun 1998 21:09:45 +0000 (21:09 +0000)] 
Wed Jun 10 14:06:05 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * configure.in: Add some tests for gnu-regex.c's benefit.
        See if btowc() function is provided in C library.
        * configure, config.in: Regenerated.
        * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
        if necessary.
        * btowc.c: New file.

        * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
        benefit.
        Drop namespace preserving defines for now.

26 years agoWed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 10 Jun 1998 21:08:38 +0000 (21:08 +0000)] 
Wed Jun 10 14:06:05 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * configure.in: Add some tests for gnu-regex.c's benefit.
        See if btowc() function is provided in C library.
        * configure, config.in: Regenerated.
        * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
        if necessary.
        * btowc.c: New file.

        * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
        benefit.
        Drop namespace preserving defines for now.

Mods based on the modifications used in GNU grep 2.2 to make gnu-regex.c
compile on other OSes.

26 years agoWed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 10 Jun 1998 18:54:59 +0000 (18:54 +0000)] 
Wed Jun 10 11:53:42 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gnu-regex.c: Include "gnu-regex.h", not "regex.h".

26 years agoWed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Wed, 10 Jun 1998 18:47:09 +0000 (18:47 +0000)] 
Wed June 10 14:34:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
* dv-mn103int.c (external_group): Use enumerated types to access
correct group addresses.
* dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
triggers an interrupt on the higher-numbered timer's port.

26 years agoWed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 10 Jun 1998 18:36:01 +0000 (18:36 +0000)] 
Wed Jun 10 11:34:07 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license
        to stay consistent with the rest of GDB.

26 years agoWed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 10 Jun 1998 18:28:48 +0000 (18:28 +0000)] 
Wed Jun 10 11:27:39 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions.

26 years agoWed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 10 Jun 1998 18:04:36 +0000 (18:04 +0000)] 
Wed Jun 10 10:58:18 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        *printcmd.c (disassemble_command): move overlay mapping code
        "up" into find_pc_partial_function.
        * blockframe.c (find_pc_partial_function): adjust start address
        and end address for overlays (mapped vs. unmapped addresses),
        so that all callers of this function may benefit.
        * m32r-tdep.c (m32r_skip_prologue): adjust indentation.

26 years ago* SKY hardware interrupt tests.
Frank Ch. Eigler [Wed, 10 Jun 1998 17:56:19 +0000 (17:56 +0000)] 
* SKY hardware interrupt tests.
Wed Jun 10 15:56:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
* sim/sky/t-int.c: New file to test sky hardware
interrupts.
* sim/sky/t-int-handler.s: New file for null interrupt
handler.
* sim/sky/t-int.brn: New file to build new test.

26 years ago * sim/m32r/addx.cgs: Add another test.
Doug Evans [Wed, 10 Jun 1998 17:56:18 +0000 (17:56 +0000)] 
* sim/m32r/addx.cgs: Add another test.
* sim/m32r/jmp.cgs: Add another test.
* sim/m32r/bra8-2.cgs: New testcase.
* sim/m32r/hello.ms: Run on m32rx too.

26 years agoWed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 10 Jun 1998 17:42:36 +0000 (17:42 +0000)] 
Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/overlays.exp: fixup compile line for linker script.

26 years ago* Support for sky hardware interrupts. The sky-dma cannot trigger
Frank Ch. Eigler [Wed, 10 Jun 1998 17:07:10 +0000 (17:07 +0000)] 
* Support for sky hardware interrupts.  The sky-dma cannot trigger
  interrupts properly yet (jlemke TODO).
Wed Jun 10 13:22:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
* interp.c (decode_coproc): For TX39, add stub COP0 register #7,
  to allay warnings.
(interrupt_event): Made non-static.
start-sanitize-tx3904
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
  interchange of configuration values for external vs. internal
  clock dividers.
end-sanitize-tx3904
start-sanitize-sky
* sky-device.c (sky_signal_interrupt): New function to generate
interrupt event.
* sky-device.h: Declare it.
* sky-dma.c (check_int1): Call it.
* sky-pke.c (pke_begin_interrupt_stall): Call it.
end-sanitize-sky

26 years ago * Updated several files to place all sky specific runtime options
Patrick Macdonald [Wed, 10 Jun 1998 17:07:09 +0000 (17:07 +0000)] 
* Updated several files to place all sky specific runtime options
  in sky-gdb.c.
* Added two new runtime options --sky-debug and --screen-refresh
* ChangeLog.sky contains a detailed description of the mods

26 years ago * missing: Update to version from automake 1.3.
Ian Lance Taylor [Wed, 10 Jun 1998 16:05:48 +0000 (16:05 +0000)] 
* missing: Update to version from automake 1.3.

26 years agoPR15041
Vladimir Makarov [Wed, 10 Jun 1998 15:50:08 +0000 (15:50 +0000)] 
PR15041

26 years ago * ltmain.sh: On installation, don't get confused if the same name
Ian Lance Taylor [Wed, 10 Jun 1998 15:20:14 +0000 (15:20 +0000)] 
* ltmain.sh: On installation, don't get confused if the same name
appears more than once in the list of library names.

26 years ago* Typo fix for tx3904tmr use of configuration parameters.
Frank Ch. Eigler [Wed, 10 Jun 1998 08:58:42 +0000 (08:58 +0000)] 
* Typo fix for tx3904tmr use of configuration parameters.
  (ChangeLog entry coming later.)

26 years agoTue Jun 9 15:27:09 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Tue, 9 Jun 1998 22:33:46 +0000 (22:33 +0000)] 
Tue Jun  9 15:27:09 1998    Jim Ingham <jingham@cygnus.com>

* gdbtk.c: Added hooks to run gdbtk under the TclPro debugger.
To do this, build gdbtk with:

    make CFLAGS="-g -DTCLPRO_DEBUGGER"

Then set the environment variable TCLPRO_DEBUG_DIR to point to
wherever you have installed the TclPro debugger.  Finally, in
the Alpha of the TclPro Debugger, you have to start up the
TclPro Debugger BEFORE you start gdbtk.  Unfortunately, the
debugger does not understand Itcl 1.5 style classes...
* .Sanitize: Sanitize out references to the TclPro debugger,
since it is not yet released.

26 years ago * gdbtk.c (gdb_get_vars_command): Return static variables and
Keith Seitz [Tue, 9 Jun 1998 22:21:33 +0000 (22:21 +0000)] 
    * gdbtk.c (gdb_get_vars_command): Return static variables and
        variables stored in registers.

        * main.c (main): Call pre/post_add_symbol_hook's when loading
        executables and symbol files.

* symfile.c (symbol_file_add): revert previous change

26 years ago* Handle 10 and 20-bit versions of Break instruction. Move handling
Ian Carmichael [Tue, 9 Jun 1998 22:11:24 +0000 (22:11 +0000)] 
* Handle 10 and 20-bit versions of Break instruction.  Move handling
* of special values from signal_exception() in interp.c into mips.igen.
*
* Modified: ChangeLog gencode.c interp.c mips.igen sim-main.h

26 years agoDisassemble 'add rX, rY, #0' as 'mov rX, rY'.
Nick Clifton [Tue, 9 Jun 1998 21:30:56 +0000 (21:30 +0000)] 
Disassemble 'add rX, rY, #0' as 'mov rX, rY'.

26 years ago * symfile.c (symbol_file_add): Always call the
Keith Seitz [Tue, 9 Jun 1998 21:15:46 +0000 (21:15 +0000)] 
* symfile.c (symbol_file_add): Always call the
pre/post_add_symbol_hooks.

* gdbtk.c (gdb_get_vars_command): Return static variables and
variables stored in registers.

26 years ago * config/tc-dvp.c (assemble_vu): Print better error message if
Doug Evans [Tue, 9 Jun 1998 19:22:21 +0000 (19:22 +0000)] 
* config/tc-dvp.c (assemble_vu): Print better error message if
lower insn is missing.

26 years ago * Makefile.am: Rebuild dependencies.
Ian Lance Taylor [Tue, 9 Jun 1998 17:53:29 +0000 (17:53 +0000)] 
* Makefile.am: Rebuild dependencies.
  (DEP_INCLUDES): Fix reference to intl build directory.
* Makefile.in: Rebuild.

26 years ago* Updates to tx3904 peripheral simulations for ECC.
Frank Ch. Eigler [Tue, 9 Jun 1998 16:54:09 +0000 (16:54 +0000)] 
* Updates to tx3904 peripheral simulations for ECC.
Tue Jun  9 12:29:50 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
  register upon non-zero interrupt event level, clear upon zero
  event value.
* dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
by passing zero event value.
(*_io_{read,write}_buffer): Endianness fixes.
* dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
(deliver_*_tick): Reduce sim event interval to 75% of count interval.
* interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
serial I/O and timer module at base address 0xFFFF0000.

26 years ago* Handle 10 and 20-bit versions of Break instruction. Move handling
Ian Carmichael [Tue, 9 Jun 1998 16:54:08 +0000 (16:54 +0000)] 
* Handle 10 and 20-bit versions of Break instruction.  Move handling
* of special values from signal_exception() in interp.c into mips.igen.
*
* Modified: gencode.c interp.c mips.igen sim-main.h

26 years agoMake 'send' be CONST char * to avoid compiler warning.
Nick Clifton [Tue, 9 Jun 1998 16:38:11 +0000 (16:38 +0000)] 
Make 'send' be CONST char * to avoid compiler warning.

26 years agoAdd definition of EM_ARM
Nick Clifton [Tue, 9 Jun 1998 16:36:31 +0000 (16:36 +0000)] 
Add definition of EM_ARM

26 years agoTue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 9 Jun 1998 16:30:26 +0000 (16:30 +0000)] 
Tue Jun  9 12:20:05 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* doc/c-i386.texi: Update 16 bit documentation.

26 years agoTue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 9 Jun 1998 16:21:35 +0000 (16:21 +0000)] 
Tue Jun  9 12:20:05 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
IgnoreDataSize to IgnoreSize as they are used for address size as
well as data size.
* config/tc-i386.c: Likewise.  Add code to reject addr32/data32 in
32-bit mode, similarly addr16/data16 and variants.

26 years agoTue Jun 9 12:16:01 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 9 Jun 1998 16:18:24 +0000 (16:18 +0000)] 
Tue Jun  9 12:16:01 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h: Change occurences of Data16 to Size16, Data32 to Size32,
IgnoreDataSize to IgnoreSize.  Flag address and data size prefixes
with Size16|IgnoreSize or Size32|IgnoreSize.

26 years ago * sim/sky/dma.h: New file.
Doug Evans [Tue, 9 Jun 1998 16:01:59 +0000 (16:01 +0000)] 
* sim/sky/dma.h: New file.
* sim/sky/vif.h: New file.
* sim/sky/vu.h: New file.
* sim/sky/sce_main.c: Move magic numbers to .h files.

26 years agosky.ld: Remove big endian stuff in OUTPUT_FORMAT
James Lemke [Tue, 9 Jun 1998 15:55:49 +0000 (15:55 +0000)] 
sky.ld: Remove big endian stuff in OUTPUT_FORMAT

26 years ago * mips.igen (SWC1) : Correct the handling of ReverseEndian
Gavin Romig-Koch [Tue, 9 Jun 1998 15:54:05 +0000 (15:54 +0000)] 
* mips.igen (SWC1) : Correct the handling of ReverseEndian
and BigEndianCPU.

26 years ago * configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
Gavin Romig-Koch [Tue, 9 Jun 1998 15:42:04 +0000 (15:42 +0000)] 
* configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
parts.
* configure: Update.

26 years agoUpdated to match latest assembler results.
Nick Clifton [Tue, 9 Jun 1998 01:48:34 +0000 (01:48 +0000)] 
Updated to match latest assembler results.

26 years agoFoixes for PR16116 and ER15940 - improve parallel insn handling.
Nick Clifton [Tue, 9 Jun 1998 01:33:23 +0000 (01:33 +0000)] 
Foixes for PR16116 and ER15940 - improve parallel insn handling.

26 years agoFix for PR16116 - remove FLAG_MUL32 attribute from MULX2H insn.
Nick Clifton [Tue, 9 Jun 1998 01:18:34 +0000 (01:18 +0000)] 
Fix for PR16116 - remove FLAG_MUL32 attribute from MULX2H insn.

26 years ago * sim/m32r/trap.cgs: Test trap 2.
Doug Evans [Mon, 8 Jun 1998 23:09:54 +0000 (23:09 +0000)] 
* sim/m32r/trap.cgs: Test trap 2.

26 years agoTest trap 2.
Doug Evans [Mon, 8 Jun 1998 23:08:49 +0000 (23:08 +0000)] 
Test trap 2.

26 years ago * config/tc-dvp.c (dvp_relax_frag): Adjust target address by stretch.
Doug Evans [Mon, 8 Jun 1998 22:44:03 +0000 (22:44 +0000)] 
* config/tc-dvp.c (dvp_relax_frag): Adjust target address by stretch.
PR 16132.

26 years ago * gas/dvp/relax-1.[sd]: Test .org/relaxing interaction.
Doug Evans [Mon, 8 Jun 1998 22:41:55 +0000 (22:41 +0000)] 
* gas/dvp/relax-1.[sd]: Test .org/relaxing interaction.

26 years agoUse signed comparisons against addend.
Nick Clifton [Mon, 8 Jun 1998 22:22:21 +0000 (22:22 +0000)] 
Use signed comparisons against addend.

26 years ago * objfiles.c (add_to_objfile_sections): All targets to define
Ron Unrau [Mon, 8 Jun 1998 22:10:37 +0000 (22:10 +0000)] 
    * objfiles.c (add_to_objfile_sections): All targets to define
          TARGET_KEEP_SECTION to permit them to retain bfd sections that
          GDB would otherwise have discarded.

26 years agoSupport for timers for mn103002. Still needs more testing/debugging.
Joyce Janczyn [Mon, 8 Jun 1998 21:57:42 +0000 (21:57 +0000)] 
Support for timers for mn103002.  Still needs more testing/debugging.

26 years agoadd test to verify that changes made to the PSW in-parallel-with a trap
David Taylor [Mon, 8 Jun 1998 19:18:21 +0000 (19:18 +0000)] 
add test to verify that changes made to the PSW in-parallel-with a trap
instruction end up in the bPSW and not in the PSW.  (PR 16026).

26 years agoAdd dv-mn103tim.c and dv-mn103ser.c
Joyce Janczyn [Mon, 8 Jun 1998 18:09:40 +0000 (18:09 +0000)] 
Add dv-mn103tim.c and dv-mn103ser.c

26 years agoAdd timer and serial devices (mn103tim and mn103ser), support
Joyce Janczyn [Mon, 8 Jun 1998 17:46:25 +0000 (17:46 +0000)] 
Add timer and serial devices (mn103tim and mn103ser), support
--board=am32 for runtime control of device simulation, and adjust
interrupt settings to support am32 instead of am30.

26 years agoSkeleton file for mn1030002 serial device implementation.
Joyce Janczyn [Mon, 8 Jun 1998 17:34:04 +0000 (17:34 +0000)] 
Skeleton file for mn1030002 serial device implementation.

26 years agoFix typo.
Joyce Janczyn [Mon, 8 Jun 1998 17:28:08 +0000 (17:28 +0000)] 
Fix typo.

26 years agoFix interrupt settings for mn103002, not mn10300 implementation.
Joyce Janczyn [Mon, 8 Jun 1998 17:27:10 +0000 (17:27 +0000)] 
Fix interrupt settings for mn103002, not mn10300 implementation.

26 years ago * interp.c: (mn10300_option_handler): New function parses arguments
Joyce Janczyn [Mon, 8 Jun 1998 17:23:11 +0000 (17:23 +0000)] 
* interp.c: (mn10300_option_handler): New function parses arguments
using sim-options.
start-sanitize-am30
* (board): Add --board option for specifying am32.
* (sim_open): Create new timer and serial devices and control
configuration of other am32 devices via board option.
end-sanitize-am30

26 years agoAdd new devices: mn103tim and mn103ser.
Joyce Janczyn [Mon, 8 Jun 1998 17:18:02 +0000 (17:18 +0000)] 
Add new devices: mn103tim and mn103ser.

26 years agoMon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 8 Jun 1998 17:06:00 +0000 (17:06 +0000)] 
Mon Jun  8 12:20:30 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
likewise for REPE.

* config/tc-i386.c (reloc): Add braces.

* config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
consistent with Intel naming.
* config/tc-i386.h (base_index_byte): Rename to sib_byte.  Don't
use bitfields in sib_byte.
(modrm_byte): Don't use bitfields here either.

* config/tc-i386.c (current_templates): Add const.
(parse_register): Add const to return, param, and char *s.
(i386_operand): Add const to reg_entry *r.
* config/tc-i386.h (templates): Add const to start, end.

Inspired by code for 16 bit gas support from Martynas Kunigelis
<martynas@nm3.ktu.lt>:
* config/tc-i386.c (md_assemble): Add full support for 16 bit
modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
(uses_mem_addrmode): Remove.
(md_estimate_size_before_relax): Add support here too.
(md_relax_table): Rewrite interface to md_relax for 16 bit
support.
(BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
(opcode_suffix_to_type): Remove.
(CODE16, SMALL, SMALL16, BIG, BIG16): Define.
(SIZE_FROM_RELAX_STATE): Modify to suit above.
(md_convert_frag): Likewise.
(i386_operand): Add support for 16 bit base/index regs,
immediates, and displacements.  Remove some unnecessary casts, and
localise end_of_operand_string, displacement_string_start,
displacement_string_end variables.  Add GCC_ASM_O_HACK.
* config/tc-i386.h (NO_BASE_REGISTER_16): Define.

* config/tc-i386.c (prefix_hash): Remove.
(md_begin): Rewrite without obstacks.  Remove prefix hash table
handling.  Rewrite lexical table handling.
(i386_print_statistics): Don't print prefix statistics.
(md_assemble): Rewrite instruction parser so that line is not
converted to lower case.  Don't do a hash_find for prefixes,
instead recognise them via opcode modifier.
(expecting_operand, paren_not_balanced): Localise variables.
* config/tc-i386.h (IsPrefix): Define.
(prefix_entry): Remove.

* config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
* config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
'\\' in case where comment_chars contains '/'.

* config/tc-i386.c (MATCH): Ensure given operand and template
match for JumpAbsolute.  Makes e.g. `ljmp table(%ebx)' invalid;
you must write `ljmp *table(%ebx)'.

From H.J. Lu <hjl@gnu.org>:
* config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
as 0 ifndef BFD_ASSEMBLER.
(md_assemble): Allow immediate operands without suffix or
other reg operand to default in size to the current code size.

26 years agoMon Jun 8 12:15:52 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 8 Jun 1998 16:20:19 +0000 (16:20 +0000)] 
Mon Jun  8 12:15:52 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (REPNE): Rename to REPNE_PREFIX_OPCODE.
(REPE): Rename to REPE_PREFIX_OPCODE.
(i386_regtab_end): Remove.
(i386_prefixtab, i386_prefixtab_end): Remove.
(i386_optab): Use NULL as sentinel rather than "" to suit rewrite
of md_begin.
(MAX_OPCODE_SIZE): Define.
(i386_optab_end): Remove.
(sl_Suf): Define.
(sl_FP): Use sl_Suf.

* i386.h (i386_optab): Allow 16 bit displacement for `mov
mem,acc'.  Combine 16 and 32 bit forms of various insns.  Allow 16
bit form of ljmp.  Add IsPrefix modifier to prefixes.  Add addr32,
data32, dword, and adword prefixes.
(i386_regtab): Add BaseIndex modifier to valid 16 bit base/index
regs.

26 years agoMon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
Catherine Moore [Mon, 8 Jun 1998 14:36:19 +0000 (14:36 +0000)] 
Mon Jun  8 09:45:00 1998  Catherine Moore  <clm@cygnus.com>

        * config/tc-v850.c (md_begin):  Restore creation of
        .call_table_text and .call_table_data sections.

26 years agoAdd prototypes.
Nick Clifton [Sat, 6 Jun 1998 07:42:09 +0000 (07:42 +0000)] 
Add prototypes.

This page took 0.042153 seconds and 4 git commands to generate.