½¨Á¢ARM+LinuxÓ¦ÓóÌÐòµ÷ÊÔ»·¾³
http://blog.csdn.net/dinitial/archive/2009/02/22/3923559.aspx
Gdb+gdbserver+insight»·¾³µÄ´î½¨
1. ÏÂÔØgdbÔ´´úÂë http://ftp.gnu.org/gnu/gdb/
2. ÅäÖð²×°gdb+gdbser
$ tar jxvf gdb-6.6.tar.bz2
$ cd x/gdb
$ ./configure --target=arm-linux --prefix=/usr/local/arm-gdb –v
--prefixÓÃÓÚÖ¸¶¨°²×°Â·¾¶
--target=arm-linux ÓÃÓÚÖƶ¨Ä¿±ê»·¾³µÄ±àÒë
±àÒ룬 $ make
°²×°£¬ $ sudo make install
Ö®ºóÔÚx/binÎļþ¼ÐÏÂÉú³Éarm-linx-gdb¿ÉÖ´ÐÐÎļþ.
$ cd gdbserver
ÅäÖÃÎļþ£º
$ ./configure --target=arm-linux --host=arm-linux
£¨--target=arm-linux±íʾĿ±êƽ̨£¬--host±íʾÖ÷»ú¶ËÔËÐеÄÊÇarm-linux-gdb£¬²» ÐèÒªÅäÖ×prefix£¬ÒòΪgdbserver²»ÔÚÖ÷»ú¶Ë°²×°ÔËÐУ©
$ make CC=/usr/local/arm/2.95.3/bin/arm-linux-gcc
(ÕâÒ»²½ÒªÖ¸¶¨Äã×Ô¼ºµÄarm-linux-gccµÄ¾ø¶ÔλÖã¬Ïà¶ÔµÄͨ³£²»ÐУ¬Ìáʾmake: arm-linux-gcc: Command not found£¬Èç¹ûÓõÄÏà¶Ô·¾¶£¬¼´Ö±½Ó¸³Öµarm-linux-gcc£¬¿É²ÉÈ¡makeʱ´«µÝ²ÎÊý£¬Ò²¿ÉÒÔÖ±½ÓÐÞ¸ÄgdbserverĿ¼ÏµÄMakefileÎļþÖеĻ·¾³±äÁ¿CC)
Ö®ºóÔÚgdbserverĿ¼ÏÂÉú³Égdbserver¿ÉÖ´ÐÐÎļþ.
¿É½«Ëüͨ¹ýnfs¿½±´µ½Ä¿±ê°åÉÏÔËÐÐ.
È磺mount –t nfs host:/friendly-arm/root /mnt –o ro,nolock
ÕâÀïÈç¹ûûÓмÓÉÏÑ¡Ïî –o ro,nolock ÎÞ·¨Õý³£mount.
@ÔÚÄ¿±ê°åÉÏÔËÐÐ
(1)½«Òªµ÷ÊÔµÄÎļþºÍgdbserver·ÅÔÚͬһ¸öÎļþ¼ÐÏÂ
vivi> ./gdbserver host:port “´ýµ÷ÊÔÎļþ”
£¨2£©ÔÚÖ÷»ú¶ÎÖ´ÐÐ arm-linux-gdb “´ýµ÷ÊÔÎļþ”
£¨gdb£©target remote client:port Á¬½Ó¿Í»§»ú
×¢Ò⣺£¨1£©ÔÚÄ¿±ê»úÉÏͨ¹ýgdbserverµ÷ÊԵijÌÐòÔÚgdbserverÔËÐеÄʱºòÒѾÔËÐÐÁË£¬²¢ÇÒÆäÖв»°üº¬µ÷ÊԵķûºÅÐÅÏ¢£¬ËùÒÔÒªÏë¼ÓÈë·ûºÅÐÅÏ¢Ö»ÄÜͨ¹ýhostÔËÐеÄgdb¼ÓÈ뺬Óе÷ÊÔÐÅÏ¢µÄ¿ÉÖ´ÐÐÎļþ¡£
£¨2£©¸Õ¿ªÊ¼µÄʱºò½«./gdbserverÏÂÔص½Ä¿±ê»úºó²»ÄÜÔËÐУ¬ÆäÖ÷ÒªÔÒò¾ÍÊÇËùÖÆ×÷µÄÍøÂç¸ùÎļþϵͳȱÉÙlibthread_db.so.1
Ïà¹ØÎĵµ£º
ÍøÉÏÓкܶàµÄ×ÊÁÏ£¬²Î¿¼itput£¨http://space.itpub.net/471666/viewspace-215923£©µÄ¡£
OS : Redhat
DB : Oracle 10.2.0.4.0
1.ÐÞ¸Äjdk ÏÂÃæµÄ×ÖÌå¡£
[oracle@a ~]$ cd $ORACLE_HOME/jdk/jre/lib/
[oracle@a ~]]$ mv font.properties font.properties_bak
[oracle@a ~]]$
[oracle@a ~]]$ cp font.properties.zh_CN.R ......
FreeBSDÊÇÒ»¸öÍêÕûµÄ²Ù×÷ϵͳ£¬°üº¬ÁË´Ó¿ª·¢¹¤¾ßµ½¸÷ÖÖ¸÷ÑùµÄÓ¦ÓóÌÐò¡£
Ä¿Ç°ÈËÃÇÈÏΪFreeBSDÔÚÎȶ¨ÐÔºÍÍøÂçÔË×÷ÉϵÄÐÔÄÜÒªÓÅÓÚLinux¡£
ËüÓÉÒ»¸öÈí¼þ¿ª·¢µÄºËÐÄÍŶÓÀ´Î¬»¤£¬Õû¸öÔʼ³ÌÐò´úÂë»áÓÐ×éÖ¯µØ½øÐиüУ¬ËùÒÔ³ÌÐò´úÂë±È½ÏÓÐÒ»ÖÂÐÔ¡£
ÓÉÓÚÈËÃǶÔFreeBSDµÄÈÏʶ±È½ÏÉÙ£¬Ê¹Ó÷¶Î§Ò²±È½ÏС£¬µ¼ÖÂÁËËüÔÚ¶ÔһЩвúÆ· ......
“Sudo”ÊÇUnix/Linuxƽ̨ÉϵÄÒ»¸ö·Ç³£ÓÐÓõŤ¾ß£¬ËüÔÊÐíϵͳ¹ÜÀíÔ±·ÖÅä¸øÆÕͨÓû§Ò»Ð©ºÏÀíµÄ“ȨÀû”£¬ÈÃËûÃÇÖ´ÐÐһЩֻÓг¬¼¶Óû§»òÆäËûÌØÐíÓû§²ÅÄÜÍê³ÉµÄÈÎÎñ£¬±ÈÈ磺ÔËÐÐһЩÏñmount£¬halt£¬suÖ®ÀàµÄÃüÁ»òÕß±à¼Ò»Ð©ÏµÍ³ÅäÖÃÎļþ£¬Ïñ/etc/mtab£¬/etc/samba/smb.confµÈ¡£ÕâÑùÒÔÀ´£¬¾Í²»½ö¼õÉÙÁ ......
Ö¸ÁîÃû³Æ : chmod
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸µ÷ÓÃȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËùµ÷Óá£
²ÎÊý :
mode : ȨÏÞÉ趨×Ö´®£¬¸ñʽÈçÏ : [ugoa...][[+-=][rwxX]...][,...]£¬ÆäÖÐ
......
¹ûÈ»ÊǹýÁ˺þã¬Õâ´ÎÓÖ×¼±¸¿ªÊ¼Ñ§Ï°linuxÁË¡£ÏµÍ³µÄѧϰºÍÔÚÍøÉÏÕÒµãÖ»ÑÔƬÓïµÄÁ˽â¹ûÈ»ÊDz»Ò»ÑùµÄ¡£¿´ÍêÕâµãÕ½ڣ¬×Ô¼º¾ÍÔÙ×ö×ö×ܽá°É¡£
ÎÒ´ó¸ÅÁ˽âÏÂÀ´ÊÇÕâÑùµÄ¡£¶ÔÓÚlinuxµÄÎļþϵͳÀ´Ëµ£¬ÏÂÃæÓкܶà“Îļþ”£¬ÕâЩ“Îļþ”°üÀ¨ÁËÉ豸¡¢´ÅÅÌÇý¶¯Æ÷µÈµÈ¡£±ÈÈç"\"±íʾ¸ùĿ¼£¬¶ø\userÊÇÓÃÀ´×°Õû¸ö²Ù ......