Doug Evans
62381069c9
* 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.
1997-12-05 00:48:05 +00:00
Doug Evans
9bb68e2096
* 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.
1997-12-05 00:04:46 +00:00
Nick Clifton
206bc85d0d
Chnaged BREAKPOINT definition to match new value in simualtor.
1997-12-04 17:32:04 +00:00
Nick Clifton
2f252edab6
Added missing sanitization markers.
1997-12-04 17:30:37 +00:00
Doug Evans
6e51f990a2
Regenerate configure files.
1997-12-04 17:26:06 +00:00
Andrew Cagney
7f48c9fe1d
Add DM (bit 4) to PSW. See 7-1 for more info.
...
Test.
1997-12-04 07:01:30 +00:00
Doug Evans
bbb9b83c5e
* configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
...
* configure: Regenerated.
1997-12-04 02:09:26 +00:00
Doug Evans
22469a10e8
* 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.
1997-12-04 02:04:42 +00:00
Nick Clifton
b65b4d8b06
Fixed sanitization,
...
Changed pattern for break insn.
1997-12-04 01:29:25 +00:00
Michael Snyder
769e0a8a28
Wed Dec 3 16:48:20 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* rltty.c: fix typos.
1997-12-04 00:48:56 +00:00
Andrew Cagney
0931ce5aa7
Missing change log entry.
1997-12-03 22:54:44 +00:00
Keith Seitz
e59ddd6e88
* tracepoint.c: add declaration for x_command
...
* printcmd.c (x_command): remove static declaration
1997-12-03 20:45:12 +00:00
Michael Snyder
c677110ca3
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).
1997-12-03 20:03:46 +00:00
David Taylor
0274a484ce
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).
1997-12-03 19:30:06 +00:00
Nick Clifton
47819b7207
Add v850 directory to keep list
1997-12-03 18:16:22 +00:00
Andrew Cagney
aa49c64f3e
* 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.
1997-12-03 08:03:33 +00:00
Nick Clifton
d4b2cc56c0
Brought up to date with respect to the branch
1997-12-03 01:13:08 +00:00
Fred Fish
193e528cd4
* 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
1997-12-02 23:13:56 +00:00
Michael Snyder
28ad0632ee
Tue Dec 2 14:53:09 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c: make "tdump" command handle literal memranges.
1997-12-02 22:55:04 +00:00
Michael Snyder
728c7f37da
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).
1997-12-02 19:36:26 +00:00
Nick Clifton
09888f155f
Add support for Thumb target
...
Restore underscore at the start of user labels.
1997-12-02 18:30:35 +00:00
Nick Clifton
fd6d6c603d
Add call to disasm_symaddr()
1997-12-02 18:26:14 +00:00
Nick Clifton
ea16981a29
Add new disassmebler function prototype: disasm_symaddr()
...
Add new compile time flag: COFFARM
1997-12-02 18:23:55 +00:00
Michael Snyder
2b146fa098
Tue Dec 2 10:14:15 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c: move prototype of validate_actionline(), and
make it consistent with the function declaration.
1997-12-02 18:22:16 +00:00
Nick Clifton
c08a4e6be3
Add support for displaying disassembled Thumb instrucitons.
1997-12-02 18:20:31 +00:00
Nick Clifton
89b993af84
Add support for Thumb target.
1997-12-02 18:17:13 +00:00
Ian Lance Taylor
0270c56097
* windres.h (ESCAPE_*): Define standard escape sequences.
...
* rclex.l (handle_quotes): Handle standard escape sequences. Warn
about an unrecognized escape character.
* windres.c (unicode_print): Print standard escape sequences.
* rcparse.y (acc_event): Initialize $$.next.
* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
MENUITEM_ENDMENU in the menu item flags.
(bin_to_res_accelerators): Allocate a structure (the old code
never worked).
(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
(res_to_bin_dialog): Save the extended style rather than saving
the style twice. Remove useless shadowing length variable. Set
the length of control data correctly.
* resrc.c (write_rc_dialog): Don't print the class or menu if the
string length is zero.
1997-12-02 18:11:02 +00:00
Nick Clifton
28b6fd89dd
Add support for Thumb target
1997-12-02 18:10:44 +00:00
Nick Clifton
3c8e082494
Display nop pseudo ops alongside equivalent disassembly.
1997-12-02 17:56:03 +00:00
Keith Seitz
27d02b2c4a
* configure (GDB_TK): add all-libide to dependency list
...
* Makefile.in: remove sanitization for ALL libide references
1997-12-02 15:52:37 +00:00
Michael Meissner
4ed8c3b896
Remove libide from sanitization and allow it to be configured everywhere
1997-12-02 14:39:17 +00:00
Michael Meissner
c20cda69e1
Remove libide from sanitization and allow it to be configured everywhere
1997-12-02 14:37:22 +00:00
Andrew Cagney
9d9972a38a
For "sub", compute carry by comparing inputs.
...
Test.
1997-12-02 07:59:52 +00:00
Andrew Cagney
d294a657d5
For "msbu", subtract unsigned product from ACC,
...
Test.
1997-12-02 07:18:53 +00:00
Andrew Cagney
9420287ed2
For "mulxu", store unsigned product in ACC.
...
Test.
1997-12-02 06:37:09 +00:00
Andrew Cagney
e8b925f1fd
Test mv[tf]ac instructions.
1997-12-02 05:31:33 +00:00
Andrew Cagney
ae55807561
For MACU add unsigned multiply to accumulator.
...
Test.
1997-12-02 05:18:27 +00:00
Michael Snyder
8b9c29f5cb
Mon Dec 1 17:13:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
...
* tracepoint.c: modify error behavior of the tfind commands.
Add some comments.
1997-12-02 01:14:40 +00:00
Andrew Cagney
51b057f27b
For sub2w, compute carry according to negated addition rules.
...
Test.
1997-12-02 00:27:27 +00:00
Nick Clifton
3c6d5393c4
Added expected failure of tests 1 and 2 for ARM coff targets.
1997-12-02 00:18:48 +00:00
Keith Seitz
413db5072c
remove useless info, add more useful info
1997-12-01 21:07:09 +00:00
Keith Seitz
ddaa4b587f
remove useless info
1997-12-01 21:04:52 +00:00
Keith Seitz
dd3dd91841
* gdbtk.c: move include of "guitcl.h" back out of IDE ifdef
...
(gdbtk_init): move ide_initialize_paths out of IDE ifdef
* configure.in (TCL_LIBS, CONFIG_DEPS): add IDE libraries for all
builds
(CONFIG_OBS): remove tracepoint.o, which should always be included
* configure: regenerate
* Makefile.in (install-only): ALWAYS install the new gdbtk
(REMOTE_OBS): add tracepoint.o
1997-12-01 20:53:02 +00:00
Keith Seitz
27e5c6bfb7
* configure: add all-libide to GDB_TK
...
* Makefile.in (all-vmake): remove double dependency on all-libide
* modules/modules: add libide to gdb's checkout list
* ChangeLog: tidy up 11/26 entry
1997-12-01 20:48:12 +00:00
Joern Rennecke
6fdb746d44
bfd:
...
* coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry.
(get_symbol_value): Handle R_SH_SWITCH8.
(sh_relax_delete_bytes): Likewise.
include:
* coff/sh.h (R_SH_SWITCH8): New.
gas:
* config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
(SWITCH_TABLE): Handle BFD_RELOC_8.
(md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
(coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
(sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
PR 14155
1997-12-01 20:45:03 +00:00
Doug Evans
1e92854b08
* callback.h (CB_SYSCALL): Comment out arg names in prototypes.
1997-12-01 19:30:53 +00:00
Ian Lance Taylor
1f3880e1f0
Mon Dec 1 12:25:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* m68k-opc.c (btst): Change Dd@s to Dd;b.
* m68k-dis.c (print_insn_arg): Recognize 'm', 'n', 'o', 'p', 'q',
and 'v' as operand types.
1997-12-01 17:34:36 +00:00
Ian Lance Taylor
4df3dd02c1
* m68k-opc.c: Add argument for lpstop. From Olivier Carmona
...
<olivier.carmona@di.epfl.ch>.
* m68k-dis.c (print_insn_m68k): Handle special case of lpstop,
which has a two word opcode with a one word argument.
1997-12-01 17:05:40 +00:00
Andrew Cagney
70ee56c585
Rework sim/common/sim-alu.h to differentiate between direcct
...
subtraction (involves borrow) and negated addition (involves carry).
Update d30v so that it uses this method. Add more tests.
1997-12-01 06:27:02 +00:00
Bob Manson
664298e6dc
* Makefile.in: Add rules for cygmon.
...
* configure.in: Build cygmon for sparc-elf and sparclite-aout.
1997-12-01 02:38:26 +00:00