CnUnix

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ CnUnix ] in KIDS
글 쓴 이(By): whbear (서병국)
날 짜 (Date): 2002년 12월 26일 목요일 오전 10시 39분 57초
제 목(Title): [Q] 64bit Solaris gdb


Solaris 7,8에서 gdb-5.2.1 source를 받아다 64bit 
debugging을 위해 sparc64-sun-solaris or sparcv9-sun-solaris 
로 build했습니다.

64bit binary를 gcc -m64 -g .. 로 build해서 debugging 시도 하면 

GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "sparcv9-sun-solaris2.7"...
(gdb) break main
Cannot access memory at address 0x850

위와 같은 에러가 발생합니다.
혹시, gdb로 solaris 64bit 디버깅 성공한 분 있어요?
gdb bug report site에서 검색해봐도, 저 같이 불평하는 사람이 보이긴 하는데
gdb 배보판의 문서에도 정확히 가/부가 명시되어 있지 않은 것 같아서...

[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.