aboutsummaryrefslogtreecommitdiff
path: root/sim/v850
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-08-30 16:42:49 +0000
committerJeff Law <law@redhat.com>1996-08-30 16:42:49 +0000
commitba853302f2a7defddab5c4830d31faf8393101bc (patch)
treefa5f0d2405be8003436858313672e02a373b45db /sim/v850
parent0e4ccc58f2ed7cd7315833cb6857474ce2238445 (diff)
downloadgdb-ba853302f2a7defddab5c4830d31faf8393101bc.zip
gdb-ba853302f2a7defddab5c4830d31faf8393101bc.tar.gz
gdb-ba853302f2a7defddab5c4830d31faf8393101bc.tar.bz2
* interp.c: Remove various debugging printfs.
Diffstat (limited to 'sim/v850')
-rw-r--r--sim/v850/ChangeLog2
-rw-r--r--sim/v850/interp.c15
2 files changed, 2 insertions, 15 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 09156fe..992afe8 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,5 +1,7 @@
Fri Aug 30 10:33:49 1996 Jeffrey A Law (law@cygnus.com)
+ * interp.c: Remove various debugging printfs.
+
* simops.c: Fix satadd, satsub boundary case handling.
* interp.c (hash): Fix.
diff --git a/sim/v850/interp.c b/sim/v850/interp.c
index d11c14e..71c391e 100644
--- a/sim/v850/interp.c
+++ b/sim/v850/interp.c
@@ -124,7 +124,6 @@ do_format_1_2 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 1 or 2 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = insn & 0x1f;
@@ -137,7 +136,6 @@ do_format_3 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 3 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = (((insn & 0x70) >> 4) | ((insn & 0xf800) >> 8)) << 1;
@@ -149,7 +147,6 @@ do_format_4 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 4 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = (insn >> 11) & 0x1f;
@@ -162,7 +159,6 @@ do_format_5 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 5 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = ((insn & 0x3f) | (((insn >> 17) & 0x7fff) << 6)) << 1;
@@ -175,7 +171,6 @@ do_format_6 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 6 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = (insn >> 16) & 0xffff;
@@ -189,7 +184,6 @@ do_format_7 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 7 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = insn & 0x1f;
@@ -203,7 +197,6 @@ do_format_8 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("format 8 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = insn & 0x1f;
@@ -217,7 +210,6 @@ do_formats_9_10 (insn)
uint32 insn;
{
struct hash_entry *h;
- printf("formats 9 and 10 0x%x\n", insn);
h = lookup_hash (insn);
OP[0] = insn & 0x1f;
@@ -260,7 +252,6 @@ sim_write (addr, buffer, size)
int i;
init_system ();
- /* printf ("sim_write %d bytes to 0x%x\n",size,addr); */
for (i = 0; i < size; i++)
{
State.mem[i+addr] = buffer[i];
@@ -327,7 +318,6 @@ sim_resume (step, siggnal)
int i;
reg_t oldpc;
-/* printf ("sim_resume (%d,%d) PC=0x%x\n",step,siggnal,PC); */
if (step)
State.exception = SIGTRAP;
@@ -408,7 +398,6 @@ sim_create_inferior (start_address, argv, env)
char **argv;
char **env;
{
- printf ("sim_create_inferior: PC=0x%x\n",start_address);
PC = start_address;
}
@@ -423,7 +412,6 @@ void
sim_set_callbacks(p)
host_callback *p;
{
- printf ("sim_set_callbacks\n");
/* callback = p; */
}
@@ -432,7 +420,6 @@ sim_stop_reason (reason, sigrc)
enum sim_stop *reason;
int *sigrc;
{
-/* printf ("sim_stop_reason: PC=0x%x\n",PC); */
if (State.exception == SIGQUIT)
{
@@ -452,7 +439,6 @@ sim_fetch_register (rn, memory)
unsigned char *memory;
{
*(uint32 *)memory = State.regs[rn];
- /* printf ("sim_fetch_register %d 0x%x\n",rn,State.regs[rn]); */
}
void
@@ -461,7 +447,6 @@ sim_store_register (rn, memory)
unsigned char *memory;
{
State.regs[rn]= *(uint32 *)memory;
- /* printf ("store: r%d=0x%x\n",rn,State.regs[rn]); */
}
sim_read (addr, buffer, size)