Michael Snyder
3d29fdb489
2004-01-05 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_load): Don't pass a type to bfd_openr.
2004-01-06 00:58:48 +00:00
Michael Snyder
f5d3df9661
2003-12-16 Michael Snyder <msnyder@redhat.com>
...
Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
* sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
2003-12-16 20:21:09 +00:00
Dhananjay Deshpande
454d05118b
Fix GDB crash problem when object file of different H8 cpu is loaded
2003-12-11 06:21:12 +00:00
Kazu Hirata
29b52f9306
Move an entry that belong to sim/h8300/ChangeLog.
2003-11-15 16:57:07 +00:00
Shrinivas Atre
59768597d9
2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
...
* h8300/compile.c : Addition of extern variable h8300_normal_mode
(SP) : Handle normal mode
(bitfrom) : Use normal mode flag to return suitable value
(lvalue) : Use normal mode flag to return command line location
(decode) : Decode instruction correctly for normal mode
(init_pointers) : Initialise memory correctly for normal mode
(sim_resume) : Handle cases for normal mode using h8300_normal_mode flag
(sim_store_register) : Handle 2 byte PC for normal mode
(sim_fetch_register) : Handle 2 byte PC for normal mode
(set_h8300h) : Set normal mode flag as per architechture
(sim_load) : Allocate 64K for normal mode instead of bigger memory
2003-10-17 12:45:55 +00:00
Michael Snyder
f408565cc8
2003-07-18 Michael Snyder <msnyder@redhat.com>
...
* compile.c (decode): Enhancements for mova.
Initialize cst, reg, and rdisp inside the loop, for each
new instruction. Defer correction of the disp2 values until
later, and then adjust them by the size of the first operand,
rather than the size of the instruction.
(sim_resume): For mova, adjust the size of the second operand
according to the type of the first operand (INDEXB vs. INDEXW).
In cases where there is only one operand, the other two must
both be composed on the fly.
2003-07-29 21:03:39 +00:00
Michael Snyder
e22fef83d7
2003-07-22 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_resume): Revert 6-24 change, it does not
work with gdb breakpoints.
2003-07-22 19:07:30 +00:00
Michael Snyder
55acb21b1f
2003-07-17 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
2003-07-18 00:10:41 +00:00
Michael Snyder
0f42aa719d
2003-07-17 Michael Snyder <msnyder@redhat.com>
...
* compile.c (decode): IMM16 is always zero-extended.
2003-07-18 00:08:23 +00:00
Michael Snyder
f0861129d5
2003-06-24 Michael Snyder <msnyder@redhat.com>
...
* sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
* compile.c (sim_resume): Use the above to return stop signal.
2003-07-02 19:04:58 +00:00
Michael Snyder
9f70f8ec04
2003-06-18 Michael Snyder <msnyder@redhat.com>
...
* compile.c: Replace "Hitachi" with "Renesas".
(decode): Distinguish AV_H8S from AV_H8H.
(sim_resume): H8SX can use any register for TAS.
(decode): Add support for VECIND.
(sim_resume): Implement rte/l and rts/l.
(GETSR): New macro (actually old macro reincarnated).
(decode): Add handling for IMM2.
(sim_resume): Drop extra block around jmp, jsr, rts.
Add handling for trapa and rte.
For divxu.b, change 0xffff mask to 0xff.
(set_h8300h): Add bfd_mach_h8300sxn machine.
2003-06-19 02:14:14 +00:00
Michael Snyder
18ad32b593
2003-06-18 Corinna Vinschen <vinschen@redhat.com>
...
* sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
and SBR, VBR (for benefit of gdb).
2003-06-19 01:54:22 +00:00
Michael Snyder
173b1c982a
2003-06-05 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
(sim_store_register): Ditto.
2003-06-19 00:49:33 +00:00
Michael Snyder
27ebfdf49b
2003-06-04 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_info): Fix typo in output.
* h8300/compile.c (set_h8300h): Replace 'flag' arguments
with a bfd_machine argument, and decode it inline.
Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
2003-06-05 02:18:01 +00:00
Michael Snyder
e8c1a4e716
2003-06-04 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_info): Fix typo in output.
2003-06-04 18:28:21 +00:00
Michael Snyder
dc5c3759e0
2003-06-03 Michael Snyder <msnyder@redhat.com>
...
* h8300/compile.c: Add h8300sx insns and addressing modes.
* h8300/sim-main.h: Replaces h8300/inst.h.
* h8300/Makefile.in: Tweak to bring in some sim/common stuff.
2003-06-03 21:38:27 +00:00
Michael Snyder
b7f97e9cb4
2003-04-13 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_resume): Implement 'daa' and 'das' instructions.
2003-04-13 17:06:29 +00:00
D.Venkatasubramanian
d1360fb06a
Added Commandline Support.
...
2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* compile.c (cmdline_location): Added function to
return the location of 8-bit (256 locations) where the
Command Line arguments would be stored.
(decode): Added a TRAP to 0xcc for Commandline
processing using pseudo opcode O_SYS_CMDLINE.
(sim_resume): Added handling of O_SYS_CMDLINE Trap.
(sim_create_inferior): Setting a pointer to
Commandline Args array.
* inst.h: Added a new variable ptr_command_line for
storing pointer to Commandline array.
2003-03-20 06:00:25 +00:00
D.Venkatasubramanian
bf17422685
File I/O Support added.
...
2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* compile.c (decode): Added code for some more magic traps.
* compile.c (sim_resume): Added support for File I/O system
calls through callback to host_system.
System calls provided support for :
open, read, write, lseek, close, stat, fstat
Only basic support for stat and fstat.
2003-03-14 04:12:01 +00:00
Andrew Cagney
6b4a89357a
Index: arm/ChangeLog
...
2003-02-27 Andrew Cagney <cagney@redhat.com>
* wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
Index: common/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
* sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
* nrun.c (main): Ditto.
Index: d10v/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: erc32/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: h8300/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: h8500/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: i960/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: m32r/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: m68hc11/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_prepare_for_program, sim_open)
(sim_create_inferior): Rename _bfd to bfd.
Index: mcore/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: mips/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open):
(sim_create_inferior):
Index: mn10200/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: mn10300/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior, sim_open)
(sim_create_inferior): Rename _bfd to bfd.
Index: ppc/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: sh/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
to bfd.
Index: v850/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
Index: z8k/ChangeLog
2003-02-27 Andrew Cagney <cagney@redhat.com>
* iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2003-02-27 23:26:34 +00:00
Kazu Hirata
ec38ce9947
* compile.c (init_pointers): Abort if wreg never gets initialized.
...
(sim_resume): Fix the handling of exts.w and extu.w.
2003-02-05 23:10:27 +00:00
Kazu Hirata
ad4cda162b
* compile.c (sim_resume): Fix the handling of bxor.
2003-02-01 03:00:14 +00:00
Michael Snyder
837fd61c26
Missed one...
2003-01-16 20:03:30 +00:00
Michael Snyder
a4f27e3e0a
2003-01-16 Michael Snyder <msnyder@redhat.com>
...
* compile.c: Change K&R function definitions to ISO.
(fetch): Make static, and eliminate unused parameter 'n'.
2003-01-16 19:54:35 +00:00
Kazu Hirata
d0fe2f7e74
* compile.c: Fix formatting.
...
* inst.h: Likewise.
2002-12-26 05:44:46 +00:00
Andrey Volkov
a64bfde32f
Add dependences to Makefile.in and include sim-h8300 in compile.c
2002-07-29 17:01:57 +00:00
Andrew Cagney
c8cca39f98
Import current --enable-gdb-build-warnings.
2002-06-16 16:33:35 +00:00
Andrew Cagney
3c25f8c7b0
Move include/callback.h and include/remote-sim.h to include/gdb/.
...
Update accordingly.
2002-06-09 15:45:54 +00:00
Kazu Hirata
d13351445b
* compile.c: Fix formatting.
2002-05-19 12:52:54 +00:00
Kazu Hirata
c3f4437ee1
* compile.c: Fix formatting.
2002-05-18 11:40:19 +00:00
Andrey Volkov
6147b1f62b
* compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
2002-05-17 19:22:14 +00:00
Andrey Volkov
fc97460264
h8300: Add support of EXR register
2002-05-17 19:19:24 +00:00
Andrey Volkov
a8cdafbd4e
* h8300s now new target, not alias of h8300h
2002-05-17 19:09:13 +00:00
Andrey Volkov
f6225c9615
*compile.c: Add additional CCR flags (I,UI,H,U)
2002-05-17 18:55:13 +00:00
Andrey Volkov
3b02cf9281
* compile.c: Change literal regnumbers to REGNUMS.
2002-05-17 18:47:14 +00:00
Kazu Hirata
de9b1892f5
* compile.c: Fix formatting.
2001-12-20 17:36:23 +00:00
Kazu Hirata
2ea716f649
* compile.c: Fix comment typos.
2001-12-20 16:47:52 +00:00
Kazu Hirata
6d02850247
2000-08-10 Kazu Hirata <kazu@hxi.com>
...
* compile.c (decode): Clean up the code.
2000-08-11 02:03:02 +00:00
Andrew Cagney
0a17cd5944
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
...
correctly.
2000-07-27 09:39:50 +00:00
Frank Ch. Eigler
97ee9e5aa9
* build fix
...
2000-06-20 Frank Ch. Eigler <fche@redhat.com>
* compile.c: Don't include "wait.h".
(sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
instead of WIF* from host.
2000-06-20 21:12:33 +00:00
Frank Ch. Eigler
98ecb0a78b
* "Dont" -> "Don't"
...
2000-06-13 Frank Ch. Eigler <fche@redhat.com>
* compile.c, writecode.c: Correct typo.
2000-06-13 20:32:01 +00:00
Jeff Law
0ef9643e5e
2000-06-13 Kazu Hirata <kazu@hxi.com>
...
* compile.c: Fix formatting.
2000-06-13 19:54:56 +00:00
Andrew Cagney
eb2d80b469
Change profiling so that it is enabled by default. Re-generate everything.
2000-05-24 04:39:50 +00:00
Stan Shebs
d4f3574e77
import gdb-1999-09-08 snapshot
1999-09-09 00:02:17 +00:00
Stan Shebs
cd0fc7c3eb
import gdb-1999-05-10
1999-05-11 13:35:55 +00:00
Stan Shebs
7a292a7adf
import gdb-19990422 snapshot
1999-04-26 18:34:20 +00:00
Stan Shebs
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
Stan Shebs
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
Tom Tromey
5da9ce07eb
* configure: Regenerated to track ../common/aclocal.m4 changes.
...
* config.in: Ditto.
* acconfig.h: New file.
* configure.in: Reverted change of Apr 24; use sinclude again.
1998-04-26 22:03:55 +00:00
Tom Tromey
b1df34b9ed
* configure: Regenerated to track ../common/aclocal.m4 changes.
...
* config.in: Ditto.
* configure.in: Don't call sinclude.
1998-04-24 20:39:48 +00:00