Mercurial > hg > Members > kono > compiler-examples
view .gdbinit.i386 @ 26:8550260c18fa
fix aarch on mac and llvm
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Oct 2024 16:06:51 +0900 |
parents | 2735d0b637b6 |
children |
line wrap: on
line source
define regs call (void)printf("eax=%08x ebx=%08x ecx=%08x edx=%08x\nesi=%08x edi=%08x ebp=%08x esp=%08x eip=%08x\n",$eax,$ebx,$ecx,$edx,$esi,$edi,$ebp,$esp,$eip) end define si stepi regs x/1i $eip end define ni nexti regs x/1i $eip end