From 57f2326dfc9270dbd7464eb1bc21751ef7177d38 Mon Sep 17 00:00:00 2001 From: mc2zk <mc2zk@git.zephyr-software.com> Date: Tue, 20 Oct 2015 15:14:37 +0000 Subject: [PATCH] Changing Instruction ID to decimal format to facilitate mapping between dump_map.log and zipr.map. Former-commit-id: 8f8bf77b908c0624566695e8b1fb84644c32ac68 --- tools/dump_map/dump_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dump_map/dump_map.cpp b/tools/dump_map/dump_map.cpp index 6ba7a90f8..95da84bb9 100644 --- a/tools/dump_map/dump_map.cpp +++ b/tools/dump_map/dump_map.cpp @@ -73,7 +73,7 @@ int main(int argc, char **argv) { Instruction_t* insn=*it; assert(insn); - cout<<"\t0x"<<hex<<insn->GetBaseID()<<"\t"<<hex<<insn->GetAddress()->GetVirtualOffset() + cout<<"\t"<<dec<<insn->GetBaseID()<<"\t"<<hex<<insn->GetAddress()->GetVirtualOffset() <<"\t"; if(insn->GetFunction() && insn->GetFunction()->GetEntryPoint()) cout<<"0x"<<hex<<insn->GetFunction()->GetEntryPoint()->GetBaseID(); -- GitLab