[PATCH v2 06/17] MIPS64: Add 'dis' command support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use generic_dis_filter() function to support dis command implementation.

E.g. With this patch:
crash> dis machine_kexec
0xffffffff8022dfd0 <machine_kexec>:     daddiu  sp,sp,-48
0xffffffff8022dfd4 <machine_kexec+4>:   sd      s2,24(sp)
0xffffffff8022dfd8 <machine_kexec+8>:   sd      s1,16(sp)
...

Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
Signed-off-by: Youling Tang <tangyouling@xxxxxxxxxxx>
---
v1 -> v2:
 - No change.

 mips64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mips64.c b/mips64.c
index e4cdaf5..e427746 100644
--- a/mips64.c
+++ b/mips64.c
@@ -440,6 +440,7 @@ mips64_init(int when)
 		machdep->memory_size = generic_memory_size;
 		machdep->is_task_addr = mips64_is_task_addr;
 		machdep->get_smp_cpus = mips64_get_smp_cpus;
+		machdep->dis_filter = generic_dis_filter;
 		machdep->value_to_symbol = generic_machdep_value_to_symbol;
 		machdep->init_kernel_pgd = NULL;
 		break;
-- 
2.1.0

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux