binutils-gdb.git
26 years agoback trace now works when using external memory and frameless functions; all
David Taylor [Tue, 16 Dec 1997 07:43:26 +0000 (07:43 +0000)]
back trace now works when using external memory and frameless functions; all
arguments are passed in args registers until we run out; finding saved regs
now has two offsets not just one doing double duty.
TARGET_READ_SP / TARGET_WRITE_SP are (temporarily?) commented out.

26 years agoAdd _bfd_dwarf2_find_nearest_line.
Gavin Romig-Koch [Tue, 16 Dec 1997 05:14:30 +0000 (05:14 +0000)]
Add _bfd_dwarf2_find_nearest_line.

26 years agoAdd m32r to multilib support.
Nick Clifton [Tue, 16 Dec 1997 00:14:49 +0000 (00:14 +0000)]
Add m32r to multilib support.

26 years agoimprove support for m32rx processor.
Nick Clifton [Tue, 16 Dec 1997 00:12:39 +0000 (00:12 +0000)]
improve support for m32rx processor.

26 years agoDocument new --m32rx command line option.
Nick Clifton [Tue, 16 Dec 1997 00:00:30 +0000 (00:00 +0000)]
Document new --m32rx command line option.

26 years agoAdd support for --m32rx command line option.
Nick Clifton [Mon, 15 Dec 1997 23:25:27 +0000 (23:25 +0000)]
Add support for --m32rx command line option.

26 years ago * coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined.
Fred Fish [Mon, 15 Dec 1997 23:16:12 +0000 (23:16 +0000)]
* coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined.
(coff_compute_section_file_positions): Use ALIGN_SECTIONS_IN_FILE
to decide when to align the file sections for paging.
* coffcode.h (ALIGN_SECTIONS_IN_FILE): Undefine for TIC80COFF.
PR 13814

26 years agoAdd support for m32rx processor.
Nick Clifton [Mon, 15 Dec 1997 23:10:11 +0000 (23:10 +0000)]
Add support for m32rx processor.

26 years ago * configure: Only build libopcodes shared if --enable-shared's value
Brendan Kehoe [Mon, 15 Dec 1997 19:59:12 +0000 (19:59 +0000)]
    * configure: Only build libopcodes shared if --enable-shared's value
        was `yes', or was set to `*opcodes*'.
        * aclocal.m4: Likewise.

so `--enable-shared=libstdc++' doesn't result in building a shared libopcodes

only an interim fix, this is the incorrect formal approach since alocal.m4
itself is generated via what's in devo/libtool/libtool.m4; we need to find
a way to have that somehow hold the real fix.

26 years ago * configure: Only build libbfd shared if --enable-shared's value
Brendan Kehoe [Mon, 15 Dec 1997 19:52:32 +0000 (19:52 +0000)]
    * configure: Only build libbfd shared if --enable-shared's value
        was `yes', or was set to `*bfd*'.
        * aclocal.m4: Likewise.

so `--enable-shared=libstdc++' doesn't result in building a shared libbfd.

26 years ago * mips-opc.c (mtpc, mfpc, mtps, mfps): Add r5900 variants.
Jeff Law [Mon, 15 Dec 1997 19:43:04 +0000 (19:43 +0000)]
    * mips-opc.c (mtpc, mfpc, mtps, mfps): Add r5900 variants.
Also move 'P' handling out of vr5400 sanitized code so it can be used
on r5900 too.

26 years agoMove 'P' and PERFREG stuff outside of the vr5400 sanitization markers.
Jeff Law [Mon, 15 Dec 1997 19:38:45 +0000 (19:38 +0000)]
Move 'P' and PERFREG stuff outside of the vr5400 sanitization markers.

26 years ago * gas/mips/vr5400.s: Tweak mfpc, mtpc, mfps, mfps, and mtps for
Jeff Law [Mon, 15 Dec 1997 19:25:54 +0000 (19:25 +0000)]
    * gas/mips/vr5400.s: Tweak mfpc, mtpc, mfps, mfps, and mtps for
        better testing coverage.
        * gas/mips/vr5400.d: Corresponding changes.

26 years ago * config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
Jeff Law [Mon, 15 Dec 1997 19:21:25 +0000 (19:21 +0000)]
    * config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
        the instruction.

26 years agoRevert addition of test suite from Alcatel --- we don't have papers
Jim Blandy [Mon, 15 Dec 1997 18:24:59 +0000 (18:24 +0000)]
Revert addition of test suite from Alcatel --- we don't have papers
for these.  Changes bracketed with tags jimb_pre_revert_pr13812,
jimb_post_revert_pr13812, so we can easily re-add them when we receive
papers.

26 years agoWhen using sigaction() to install cntrl-c handler do not also use signal().
Andrew Cagney [Mon, 15 Dec 1997 12:59:55 +0000 (12:59 +0000)]
When using sigaction() to install cntrl-c handler do not also use signal().

26 years ago(Mostly from Gavin Koch)
Andrew Cagney [Mon, 15 Dec 1997 12:38:05 +0000 (12:38 +0000)]
(Mostly from Gavin Koch)
In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered
discard the most significant 32 bits.
Use CORE_ADDR for address variables instead of long.
Add more explicit tx49 configur target.
Check/use sigaction/SA_RESTART in remote-sim.c

26 years agoIn nrun.c, look for sigaction & SA_RESTART. When both present,
Andrew Cagney [Mon, 15 Dec 1997 12:33:59 +0000 (12:33 +0000)]
In nrun.c, look for sigaction & SA_RESTART.  When both present,
install cntrl-c (SIGINT) handler with no SA_RESTART bit set.

26 years agoRestore value of Makefile variable VERSION to 4.16.1.
Andrew Cagney [Mon, 15 Dec 1997 02:33:04 +0000 (02:33 +0000)]
Restore value of Makefile variable VERSION to 4.16.1.
Was clobered during one of the Foundry merges.

26 years agoFor MADD et.al. instructions sign extend 32 bit result assigned to a
Andrew Cagney [Sat, 13 Dec 1997 04:23:31 +0000 (04:23 +0000)]
For MADD et.al. instructions sign extend 32 bit result assigned to a
register.

26 years ago * config/tc-tic80.c (build_insn): Handle instructions that have
Fred Fish [Sat, 13 Dec 1997 00:58:43 +0000 (00:58 +0000)]
    * config/tc-tic80.c (build_insn): Handle instructions that have
        long (32 bit) PC relative offsets.  Fix places that previously
        misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
        (md_apply_fix): Add case to handle long PC relative offsets.
PR 12927

26 years ago * tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change.
Fred Fish [Sat, 13 Dec 1997 00:54:33 +0000 (00:54 +0000)]
  * tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change.
      (tic80_opcodes): Reorder table entries to put the 32 bit PC relative
      offset forms before the 15 bit forms, to default to the long forms.
PR 12927

26 years agoFixed bug in previous delta (strcmp <=> streq)
Nick Clifton [Fri, 12 Dec 1997 22:02:12 +0000 (22:02 +0000)]
Fixed bug in previous delta (strcmp <=> streq)

26 years ago * configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 or
Jeff Law [Fri, 12 Dec 1997 19:24:34 +0000 (19:24 +0000)]
    * configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 or
        vr5400 with the vr5000 as the default.

26 years agoRenamed v850eq -> v850ea
Nick Clifton [Fri, 12 Dec 1997 19:12:11 +0000 (19:12 +0000)]
Renamed v850eq -> v850ea

26 years agosanitize out dependency of all-libide on all-ilu
Ian Lance Taylor [Fri, 12 Dec 1997 19:07:30 +0000 (19:07 +0000)]
sanitize out dependency of all-libide on all-ilu

26 years agoRenamed v850eq -> v850ea
Nick Clifton [Fri, 12 Dec 1997 19:05:07 +0000 (19:05 +0000)]
Renamed v850eq -> v850ea

26 years agoRenamed v850eq -> v850eq
Nick Clifton [Fri, 12 Dec 1997 18:55:50 +0000 (18:55 +0000)]
Renamed v850eq -> v850eq

26 years agoRenamed v850eq -> v850ea
Nick Clifton [Fri, 12 Dec 1997 18:53:24 +0000 (18:53 +0000)]
Renamed v850eq -> v850ea

26 years agoFixed v850e sanitization markers.
Nick Clifton [Fri, 12 Dec 1997 18:51:55 +0000 (18:51 +0000)]
Fixed v850e sanitization markers.

26 years ago * Makefile.in (all-target-gperf): Change dependency to
Brendan Kehoe [Fri, 12 Dec 1997 18:44:23 +0000 (18:44 +0000)]
* Makefile.in (all-target-gperf): Change dependency to
all-target-libstdc++.

to go w/ the changes taking out use of libg++ in gperf

26 years agoAdd support for more ARM processor names.
Nick Clifton [Fri, 12 Dec 1997 18:42:40 +0000 (18:42 +0000)]
Add support for more ARM processor names.

26 years ago * alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid.
Richard Henderson [Fri, 12 Dec 1997 09:34:04 +0000 (09:34 +0000)]
    * alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid.

26 years ago From change made to branch by Bob Manson <manson@cygnus.com>:
Mark Alexander [Fri, 12 Dec 1997 06:43:11 +0000 (06:43 +0000)]
From change made to branch by Bob Manson <manson@cygnus.com>:
* tic80-tdep.c (tic80_push_arguments): The compiler always
passes structs by reference.

26 years agoParent directory renamed.
Nick Clifton [Fri, 12 Dec 1997 02:01:21 +0000 (02:01 +0000)]
Parent directory renamed.

26 years ago * linker.c (generic_link_add_symbol_list): Always init udata.p so
Richard Henderson [Fri, 12 Dec 1997 01:48:58 +0000 (01:48 +0000)]
    * linker.c (generic_link_add_symbol_list): Always init udata.p so
        that the generic relaxation code can function when input and output
        file formats are mismatched.

26 years ago * config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
Richard Henderson [Fri, 12 Dec 1997 01:46:42 +0000 (01:46 +0000)]
    * config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
        (insop, m68k_ip): Make `opcode' const so it doesn't happen again.

26 years agoThu Dec 11 14:28:01 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Thu, 11 Dec 1997 22:34:09 +0000 (22:34 +0000)]
Thu Dec 11 14:28:01 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * tracepoint.c (trace_find_command): don't error if going
        backwards thru the trace buffer in a loop.
        * (struct tracepoint): delete unused field.

26 years agoclean up sloppy Changelog entries
Keith Seitz [Thu, 11 Dec 1997 20:40:38 +0000 (20:40 +0000)]
clean up sloppy Changelog entries

26 years agoDon't run mips16 tests for tx49.
Gavin Romig-Koch [Thu, 11 Dec 1997 14:28:38 +0000 (14:28 +0000)]
Don't run mips16 tests for tx49.

26 years agoRename d30velf_{o,e} to be unique within 8 characters
Michael Meissner [Thu, 11 Dec 1997 14:07:20 +0000 (14:07 +0000)]
Rename d30velf_{o,e} to be unique within 8 characters

26 years ago * coff-sh.c (bfd_coff_small_swap_table): Initialize new fields.
Ian Lance Taylor [Thu, 11 Dec 1997 06:08:05 +0000 (06:08 +0000)]
* coff-sh.c (bfd_coff_small_swap_table): Initialize new fields.

26 years ago * elf.c (assign_file_positions_for_segments): For a loadable
Ian Lance Taylor [Thu, 11 Dec 1997 06:07:10 +0000 (06:07 +0000)]
* elf.c (assign_file_positions_for_segments): For a loadable
section, make sure that the load address is correct relative to
the load address of the segment plus the size of the segment so
far.

26 years ago * coffcode.h (_coff_link_output_has_begun): Make static.
Ian Lance Taylor [Thu, 11 Dec 1997 06:04:39 +0000 (06:04 +0000)]
* coffcode.h (_coff_link_output_has_begun): Make static.
(_coff_final_link_postscript): Likewise.

26 years ago * elflink.h (elf_link_input_bfd): Handle a relocateable link in
Ian Lance Taylor [Thu, 11 Dec 1997 04:38:44 +0000 (04:38 +0000)]
* elflink.h (elf_link_input_bfd): Handle a relocateable link in
which a relocation refers to an indirect or warning symbol.

26 years agosanitization fixes. (files not mentioned, fences misspelled)
Felix Lee [Thu, 11 Dec 1997 04:18:47 +0000 (04:18 +0000)]
sanitization fixes.  (files not mentioned, fences misspelled)

26 years agoalways keep tracepoint.{c,h}
Keith Seitz [Thu, 11 Dec 1997 03:16:50 +0000 (03:16 +0000)]
always keep tracepoint.{c,h}

26 years ago * gdbtk.c (gdb_get_tracepoint_info): use info in struct
Keith Seitz [Thu, 11 Dec 1997 03:05:13 +0000 (03:05 +0000)]
    * gdbtk.c (gdb_get_tracepoint_info): use info in struct
          symtab_and_line, not struct tracepoint
          arrange data more like gdb_get_breakpoint_info
          (tracepoint_notify): use info in struct symtab_and_line,
          not struct tracepoint
          (gdbtk_init): add command "gdb_get_tracepoint_list" into
          interpreter
          (gdb_get_tracepoint_list): new function

26 years agochanged d10v instruction patterns to d30v ones and made them defines rather
David Taylor [Thu, 11 Dec 1997 00:14:33 +0000 (00:14 +0000)]
changed d10v instruction patterns to d30v ones and made them defines rather
than sprinkled throughout the code.  changes to several functions; backtraces
now work and calling functions in the inferior partially works.  Registers
do not yet track the frame.

26 years ago * mips.igen (MSUB): Fix to work like MADD.
Jeff Law [Thu, 11 Dec 1997 00:11:04 +0000 (00:11 +0000)]
    * mips.igen (MSUB): Fix to work like MADD.
        * gencode.c (MSUB): Similarly.

26 years ago(CVS is doing wierd things)
Andrew Cagney [Wed, 10 Dec 1997 23:11:20 +0000 (23:11 +0000)]
(CVS is doing wierd things)
Re-checkin fixes to code verifying dwarf debug info CU headers before
using it.

26 years ago*** empty log message ***
Jim Blandy [Wed, 10 Dec 1997 22:59:16 +0000 (22:59 +0000)]
*** empty log message ***

26 years ago* ch-valprint.c (chill_val_print): To avoid segfaults, don't print
Jim Blandy [Wed, 10 Dec 1997 22:58:21 +0000 (22:58 +0000)]
* ch-valprint.c (chill_val_print): To avoid segfaults, don't print
a string whose dynamic length is longer than its static length.

26 years ago* gch1494.ch, gch1494.exp: New tests, for PR 13812.
Jim Blandy [Wed, 10 Dec 1997 22:58:03 +0000 (22:58 +0000)]
* gch1494.ch, gch1494.exp: New tests, for PR 13812.

26 years ago Source directory cvs renamed to cvssrc:
Ian Lance Taylor [Wed, 10 Dec 1997 20:15:56 +0000 (20:15 +0000)]
Source directory cvs renamed to cvssrc:
* configure.in (host_tools): Change cvs to cvssrc.
(native_only): Likewise.
(noconfigdirs) [various cases]: Likewise.
* Makefile.in (ALL_MODULES): Change all-cvs to all-cvssrc.
(CROSS_CHECK_MODULES): Change check-cvs to check-cvssrc.
(INSTALL_MODULES): Change install-cvs to install-cvssrc.
(CLEAN_MODULES): Change clean-cvs to clean-cvssrc.
(all-cvssrc): Rename target from all-cvs.

26 years agoAdd .rel/.rela sections; Setup constructors/destructors; Delete sections not linked in
Michael Meissner [Wed, 10 Dec 1997 19:30:15 +0000 (19:30 +0000)]
Add .rel/.rela sections; Setup constructors/destructors; Delete sections not linked in

26 years agoFixed overflow from a LO16 reloc into a HI16_S reloc.
Nick Clifton [Wed, 10 Dec 1997 19:20:31 +0000 (19:20 +0000)]
Fixed overflow from a LO16 reloc into a HI16_S reloc.

26 years agoSwitch to using RELA relocations for the d30v.
Michael Meissner [Wed, 10 Dec 1997 19:08:51 +0000 (19:08 +0000)]
Switch to using RELA relocations for the d30v.

26 years ago* dwarf2read.c (dwarf2_build_psymtabs_hard): Check cu_header.length is
Andrew Cagney [Wed, 10 Dec 1997 06:30:04 +0000 (06:30 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Check cu_header.length is
within dwarf_info_buffer not dwarf_abbrev_buffer.

26 years agoChange order slightly
Michael Meissner [Tue, 9 Dec 1997 23:35:35 +0000 (23:35 +0000)]
Change order slightly

26 years agoAdd support for d30velf_{e,o} emulations to control whether text/data/et. al go in...
Michael Meissner [Tue, 9 Dec 1997 22:57:58 +0000 (22:57 +0000)]
Add support for d30velf_{e,o} emulations to control whether text/data/et. al go in external memory or onchip memory

26 years agoAdd d30v, d10v, tic80 to all_emulations; Add Oct 23 changes to Makefile.in to Makefile.am
Michael Meissner [Tue, 9 Dec 1997 21:04:34 +0000 (21:04 +0000)]
Add d30v, d10v, tic80 to all_emulations; Add Oct 23 changes to Makefile.in to Makefile.am

26 years agoAdd configurability to d30v
Michael Meissner [Tue, 9 Dec 1997 20:37:00 +0000 (20:37 +0000)]
Add configurability to d30v

26 years agoTest/fix d10v RTE instruction.
Andrew Cagney [Tue, 9 Dec 1997 05:46:48 +0000 (05:46 +0000)]
Test/fix d10v RTE instruction.

26 years agoFor bfd, add vr5400 and vr5000 mips machine variants to list of machines.
Andrew Cagney [Tue, 9 Dec 1997 04:01:06 +0000 (04:01 +0000)]
For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target.
For sim/igen, allow specification of a default machine (will need
more work later).

26 years ago * gdbtk.c (gdb_get_tracepoint_info): use info in struct
Keith Seitz [Tue, 9 Dec 1997 00:25:07 +0000 (00:25 +0000)]
    * gdbtk.c (gdb_get_tracepoint_info): use info in struct
          symtab_and_line, not struct tracepoint.
          (tracepoint_notify): use info in struct symtab_and_line,
          not struct tracepoint

26 years agoFix typo, REP_S was refering to REP_E register.
Andrew Cagney [Mon, 8 Dec 1997 23:44:11 +0000 (23:44 +0000)]
Fix typo, REP_S was refering to REP_E register.
Add test.

26 years agoMon Dec 8 14:28:49 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Mon, 8 Dec 1997 22:32:35 +0000 (22:32 +0000)]
Mon Dec  8 14:28:49 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * tracepoint.c (memrange_sortmerge): allow for memranges
        that overlap.  (collect_pseudocommand etc.) cleanup decls.

26 years agoRemoved disasm_symaddr() function and switched detection of Arm vs Thumb
Nick Clifton [Mon, 8 Dec 1997 19:26:40 +0000 (19:26 +0000)]
Removed disasm_symaddr() function and switched detection of Arm vs Thumb
mode over to state of info->symbol, ala the MIPS port.

26 years agoFor "trap", IBT and RIE exceptions, mask all PSW.SM. NB: Stepping
Andrew Cagney [Mon, 8 Dec 1997 03:22:58 +0000 (03:22 +0000)]
For "trap", IBT and RIE exceptions, mask all PSW.SM.  NB: Stepping
through an exception may not work correctly.
For GDB reads/writes to the control registers, ensure the cpu state is
updated correctly.

26 years agoFix HI16 and HI16_S relocations for PR14258
Nick Clifton [Sat, 6 Dec 1997 00:57:20 +0000 (00:57 +0000)]
Fix HI16 and HI16_S relocations for PR14258

26 years ago * gdbtk.c (gdbtk_init): add gdb_find_file to interpreter
Keith Seitz [Fri, 5 Dec 1997 20:17:13 +0000 (20:17 +0000)]
    * gdbtk.c (gdbtk_init): add gdb_find_file to interpreter
        (gdb_find_file_command): new function searches source_path to
        find real full filename

26 years agoFix PR14180 and 14181 (patch from branch)
Nick Clifton [Fri, 5 Dec 1997 19:37:35 +0000 (19:37 +0000)]
Fix PR14180 and 14181 (patch from branch)

26 years agoUse special section values for v850 common sections.
Nick Clifton [Fri, 5 Dec 1997 19:29:21 +0000 (19:29 +0000)]
Use special section values for v850 common sections.

26 years agoReverrt breakpoint back to its old value.
Nick Clifton [Fri, 5 Dec 1997 17:30:44 +0000 (17:30 +0000)]
Reverrt breakpoint back to its old value.

26 years agoReverrt BREAK value back to its old value
Nick Clifton [Fri, 5 Dec 1997 17:27:34 +0000 (17:27 +0000)]
Reverrt BREAK value back to its old value

26 years agoReverted breakpoint back to its old value.
Nick Clifton [Fri, 5 Dec 1997 17:24:15 +0000 (17:24 +0000)]
Reverted breakpoint back to its old value.

26 years ago * m32r-sim.h (MSPR_ADDR): New macro.
Doug Evans [Fri, 5 Dec 1997 00:48:05 +0000 (00:48 +0000)]
* m32r-sim.h (MSPR_ADDR): New macro.
(m32r_mspr_device): Declare.
(struct _devicep: Define.
* m32r.c (m32r_mspr_device): New global.
(device_{io_{read,write}_buffer,error}): New functions.
* mem-ops.h (SETMEM*): Use sim_core_write_map, not read map.
* sim-if.c: Delete redundant inclusion of cpu-sim.h.
(sim_open): Attach device to handle MSPR register.
* sim-main.h (WITH_DEVICES): Define as 1.
Include cpu-sim.h.

26 years ago * Make-common.in (sim-core.o): Depend on $(sim_main_headers).
Doug Evans [Fri, 5 Dec 1997 00:04:46 +0000 (00:04 +0000)]
* Make-common.in (sim-core.o): Depend on $(sim_main_headers).

* sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
* sim-config.c (sim_config): Replace WITH_DEVICES with
WITH_TREE_PROPERTIES.

26 years agoChnaged BREAKPOINT definition to match new value in simualtor.
Nick Clifton [Thu, 4 Dec 1997 17:32:04 +0000 (17:32 +0000)]
Chnaged BREAKPOINT definition to match new value in simualtor.

26 years agoAdded missing sanitization markers.
Nick Clifton [Thu, 4 Dec 1997 17:30:37 +0000 (17:30 +0000)]
Added missing sanitization markers.

26 years agoRegenerate configure files.
Doug Evans [Thu, 4 Dec 1997 17:26:06 +0000 (17:26 +0000)]
Regenerate configure files.

26 years agoAdd DM (bit 4) to PSW. See 7-1 for more info.
Andrew Cagney [Thu, 4 Dec 1997 07:01:30 +0000 (07:01 +0000)]
Add DM (bit 4) to PSW.  See 7-1 for more info.
Test.

26 years ago * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
Doug Evans [Thu, 4 Dec 1997 02:09:26 +0000 (02:09 +0000)]
* configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
* configure: Regenerated.

26 years ago * Make-common.in (SIM_ENVIRONMENT): New variable.
Doug Evans [Thu, 4 Dec 1997 02:04:42 +0000 (02:04 +0000)]
* Make-common.in (SIM_ENVIRONMENT): New variable.
(CONFIG_CFLAGS): Add it.
* aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
--enable-sim-environment option.
* configure: Regenerated.
* sim-config.h (environment support): Rewrite.
* sim-config.c (current_environment): Define as enum, unconditionally.
(current_alignment): Define unconditionally.
(config_environment_to_a): Update.
(config_alignment_to_a): Fix type of argument.  Define unconditionally.
(sim_config): Handle environment and alignment determination
unconditionally.  Delete sanity checks of current_environment,
unnecessary.
(print_sim_config): Update.
* sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
(standard_options): Add --environment.
(standard_option_handler): Likewise.

26 years agoFixed sanitization,
Nick Clifton [Thu, 4 Dec 1997 01:29:25 +0000 (01:29 +0000)]
Fixed sanitization,
Changed pattern for break insn.

26 years agoWed Dec 3 16:48:20 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Thu, 4 Dec 1997 00:48:56 +0000 (00:48 +0000)]
Wed Dec  3 16:48:20 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * rltty.c: fix typos.

26 years agoMissing change log entry.
Andrew Cagney [Wed, 3 Dec 1997 22:54:44 +0000 (22:54 +0000)]
Missing change log entry.

26 years ago * tracepoint.c: add declaration for x_command
Keith Seitz [Wed, 3 Dec 1997 20:45:12 +0000 (20:45 +0000)]
   * tracepoint.c: add declaration for x_command

       * printcmd.c (x_command): remove static declaration

26 years agoWed Dec 3 12:00:42 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Wed, 3 Dec 1997 20:03:46 +0000 (20:03 +0000)]
Wed Dec  3 12:00:42 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * tracepoint.c (finish_tfind_command): call do_display so that
        auto-displays are updated by tfind.  Also, keep track of frame
        and current-function so that tfind behaves like stepping (only
        show the stack frame if we step into a new function or return).

26 years agofixes for debugging threaded core files. Previously gdb would find the
David Taylor [Wed, 3 Dec 1997 19:30:06 +0000 (19:30 +0000)]
fixes for debugging threaded core files.  Previously gdb would find the
kernel threads but would get errors on each of the user threads that wasn't
currently assigned to a kernel thread.  PR's gdb/13803 (and gdb/13618).

26 years agoAdd v850 directory to keep list
Nick Clifton [Wed, 3 Dec 1997 18:16:22 +0000 (18:16 +0000)]
Add v850 directory to keep list

26 years ago* d10v_sim.h (SEXT56): Define.
Andrew Cagney [Wed, 3 Dec 1997 08:03:33 +0000 (08:03 +0000)]
* d10v_sim.h (SEXT56): Define.
* simops.c (OP_4201): For "rac", sign extend 56 bit value before
it is shifted.
* d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using
SIGNED64 macro.

26 years agoBrought up to date with respect to the branch
Nick Clifton [Wed, 3 Dec 1997 01:13:08 +0000 (01:13 +0000)]
Brought up to date with respect to the branch

26 years ago * interp.c (sim_resume): Call do_2_short with LEFT_FIRST or
Fred Fish [Tue, 2 Dec 1997 23:13:56 +0000 (23:13 +0000)]
* interp.c (sim_resume): Call do_2_short with LEFT_FIRST or
RIGHT_FIRST, as appropriate, instead of hardcoded ints that
don't match enum values.
PR 13496

26 years agoTue Dec 2 14:53:09 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Tue, 2 Dec 1997 22:55:04 +0000 (22:55 +0000)]
Tue Dec  2 14:53:09 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * tracepoint.c: make "tdump" command handle literal memranges.

26 years agoTue Dec 2 11:34:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Tue, 2 Dec 1997 19:36:26 +0000 (19:36 +0000)]
Tue Dec  2 11:34:48 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * tracepoint.c: use "lookup_cmd" to parse actions commands
        (thus allowing unambiguous prefixes and aliases).

26 years agoAdd support for Thumb target
Nick Clifton [Tue, 2 Dec 1997 18:30:35 +0000 (18:30 +0000)]
Add support for Thumb target
Restore underscore at the start of user labels.

26 years agoAdd call to disasm_symaddr()
Nick Clifton [Tue, 2 Dec 1997 18:26:14 +0000 (18:26 +0000)]
Add call to disasm_symaddr()

26 years agoAdd new disassmebler function prototype: disasm_symaddr()
Nick Clifton [Tue, 2 Dec 1997 18:23:55 +0000 (18:23 +0000)]
Add new disassmebler function prototype: disasm_symaddr()
Add new compile time flag: COFFARM