summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/fetch.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-17 09:54:02 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-17 09:54:02 (GMT)
commit6bde4016160057a22234d4ed698903dca52ce162 (patch)
tree24847c1367b61915c65a778d4135142fcb2431b0 /src/arch/arm/v7/fetch.c
parentd2aee5bdde7ca64fc4bb8553d98cc7d2ac92c5e5 (diff)
Removed debug output.
Diffstat (limited to 'src/arch/arm/v7/fetch.c')
-rw-r--r--src/arch/arm/v7/fetch.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/arch/arm/v7/fetch.c b/src/arch/arm/v7/fetch.c
index 3fa6bbe..ee87178 100644
--- a/src/arch/arm/v7/fetch.c
+++ b/src/arch/arm/v7/fetch.c
@@ -93,10 +93,6 @@ void help_fetching_with_instruction_b_with_orig(GArchInstruction *instr, GArchPr
else assert(0);
- printf("1... 0x%x (0x%x) + 0x%x\n",
- (unsigned int)get_virt_addr(get_mrange_addr(range)),
- (unsigned int)pc, (unsigned int)offset);
-
target = pc + offset;
//g_armv7_context_define_encoding(context, target, iset);
@@ -160,12 +156,6 @@ void help_fetching_with_instruction_bl_with_orig(GArchInstruction *instr, GArchP
else assert(0);
- printf("2... 0x%x (0x%x) + 0x%x\n",
- (unsigned int)get_virt_addr(get_mrange_addr(range)),
- (unsigned int)pc, (unsigned int)offset);
-
-
-
target = pc + offset;
//g_armv7_context_define_encoding(context, target, iset);
@@ -219,12 +209,6 @@ void help_fetching_with_instruction_blx_with_dest(GArchInstruction *instr, GArch
else assert(0);
- printf("3... 0x%x (0x%x) + 0x%x\n",
- (unsigned int)get_virt_addr(get_mrange_addr(range)),
- (unsigned int)pc, (unsigned int)offset);
-
-
-
target = pc + offset;
//g_armv7_context_define_encoding(context, target, iset);
@@ -323,10 +307,6 @@ void help_fetching_with_instruction_cb_n_z(GArchInstruction *instr, GArchProcess
pc = get_virt_addr(get_mrange_addr(range));
-
- printf("PC :: 0x%08x\n", (unsigned int)pc);
-
-
/**
* En mode Thumb, pc a pour valeur l'adresse courante plus 4.
*/
@@ -394,9 +374,6 @@ void help_fetching_with_instruction_ldr_literal_with_orig(GArchInstruction *inst
phys_pc &= ~3;
//phys_pc = (phys_pc + 3) & ~3;
- printf(">>>>>>> @pc @ 0x%08x\n", (unsigned int)phys_pc);
-
-
switch (iset)
{
case AV7IS_ARM:
@@ -469,12 +446,6 @@ void help_fetching_with_instruction_ldr_literal_with_orig(GArchInstruction *inst
g_proc_context_push_new_symbol_at(G_PROC_CONTEXT(context), &sym_addr);
- printf("repush :: from 0x%x :: %x / %x\n",
- (unsigned int)get_phy_addr(get_mrange_addr(range)),
- (unsigned int)sym_addr.physical, (unsigned int)sym_addr.virtual);
-
-
- printf("add sym %p\n", symbol);