소스 내려 받기

$ git clone https://github.com/crash-utility/crash.git

빌드 시작

$ make target=ARM64

빌드 도중 아래 에러 발생

checking for zlib.h... yes
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[3]: *** [Makefile:8236: configure-gdb] Error 1
make[2]: *** [Makefile:835: all] Error 2

아래 명령어 실행

$ apt install libncurses5-dev

config.t32 파일에 다음 명령어를 입력하면 Trace32 폰트 색상이 바뀝니다.
PALETTE 0 = 56 56 56
PALETTE 1 = 221 221 221
PALETTE 4 = 128 0 255
PALETTE 11 = 255 0 0
PALETTE 18 = 255 128 64
PALETTE 27 = 255 128 64
PALETTE 48 = 128 128 0
PALETTE 50 = 255 128 64.
 
Trace32를 열고 setup.color을 입력해서 폰트나 텍스트 상자 색상을 바꿀 수도 있습니다.
 
cmm 스크립트로는 다음과 같은 명령어를 입력하면 됩니다.
//PALETTE 0 = 56 56 56
SETUP.COLOR 0. 56. 56. 56.
 
//PALETTE 1 = 221 221 221
SETUP.COLOR 1. 221. 221. 221.
 
//PALETTE 4 = 128 0 255
SETUP.COLOR 4. 128. 0. 255.
 
//PALETTE 11 = 255 0 0
SETUP.COLOR 11. 255. 0. 0.
 
//PALETTE 18 = 255 128 64
SETUP.COLOR 18. 255. 128. 64.
 
//PALETTE 27 = 255 128 64
SETUP.COLOR 27. 255. 128. 64.
 
//PALETTE 48 = 128 128 0
SETUP.COLOR 48. 128. 128. 0.
 
//PALETTE 50 = 255 128 64.
SETUP.COLOR 50. 255. 128. 64.

+ Recent posts