Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂgdbµ¥²½µ÷ÊÔ

GDB ¸ÅÊö
————
GDB ÊÇ GNU ¿ªÔ´×éÖ¯·¢²¼µÄÒ»¸öÇ¿´óµÄ UNIX ϵijÌÐòµ÷ÊÔ¹¤¾ß¡£»òÐí£¬¸÷λ±È½Ïϲ»¶ÄÇÖÖͼÐνçÃ淽ʽµÄ£¬Ïñ VC ¡¢ BCB µÈ IDE µÄµ÷ÊÔ£¬µ«Èç¹ûÄãÊÇÔÚ UNIX ƽ̨ÏÂ×öÈí¼þ£¬Äã»á·¢ÏÖ GDB Õâ¸öµ÷ÊÔ¹¤¾ßÓÐ±È VC ¡¢ BCB µÄͼÐλ¯µ÷ÊÔÆ÷¸üÇ¿´óµÄ¹¦ÄÜ¡£Ëùν “ ´çÓÐËù³¤£¬³ßÓÐËù¶Ì ” ¾ÍÊÇÕâ¸öµÀÀí¡£
Ò»°ãÀ´Ëµ£¬ GDB Ö÷Òª°ïæÄãÍê³ÉÏÂÃæËĸö·½ÃæµÄ¹¦ÄÜ£º
    1 ¡¢Æô¶¯ÄãµÄ³ÌÐò£¬¿ÉÒÔ°´ÕÕÄãµÄ×Ô¶¨ÒåµÄÒªÇóËæÐÄËùÓûµÄÔËÐгÌÐò¡£
    2 ¡¢¿ÉÈñ»µ÷ÊԵijÌÐòÔÚÄãËùÖ¸¶¨µÄµ÷ÖõĶϵ㴦ͣס¡££¨¶Ïµã¿ÉÒÔÊÇÌõ¼þ±í´ïʽ£©
    3 ¡¢µ±³ÌÐò±»Í£×¡Ê±£¬¿ÉÒÔ¼ì²é´ËʱÄãµÄ³ÌÐòÖÐËù·¢ÉúµÄÊ¡£
    4 ¡¢¶¯Ì¬µÄ¸Ä±äÄã³ÌÐòµÄÖ´Ðл·¾³¡£
´ÓÉÏÃæ¿´À´£¬ GDB ºÍÒ»°ãµÄµ÷ÊÔ¹¤¾ßûÓÐʲôÁ½Ñù£¬»ù±¾ÉÏÒ²ÊÇÍê³ÉÕâЩ¹¦ÄÜ£¬²»¹ýÔÚϸ½ÚÉÏ£¬Äã»á·¢ÏÖ GDB Õâ¸öµ÷ÊÔ¹¤¾ßµÄÇ¿´ó£¬´ó¼Ò¿ÉÄܱȽÏÏ°¹ßÁËͼÐλ¯µÄµ÷ÊÔ¹¤¾ß£¬µ«ÓÐʱºò£¬ÃüÁîÐеĵ÷ÊÔ¹¤¾ßÈ´ÓÐ×ÅͼÐλ¯¹¤¾ßËù²»ÄÜÍê³ÉµÄ¹¦ÄÜ¡£ÈÃÎÒÃÇÒ»Ò»¿´À´¡£
Ò»¸öµ÷ÊÔʾÀý
——————
Ô´³ÌÐò£º tst.c
     1 #include <stdio.h>
     2
     3 int func(int n)
     4 {
     5         int sum=0,i;
     6         for(i=0; i<n; i++)
     7         {
     8                 sum+=i;
     9         }
    10         return sum;
    11 }
    12
    13
    14 main()
    15 {
    16         int i;
    17         long result = 0;
  


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

LinuxÐÂÊÖѧϰ½¨Òé

Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾­ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÕâÀï½éÉÜѧϰLinuxµÄһЩ½¨Òé¡£
Ò»¡¢´Ó»ù´¡¿ªÊ¼£º³£³£ÓÐЩÅóÓÑÔÚLinuxÂÛ̳ÎÊһЩÎÊÌ⣬²»¹ý£¬ÆäÖдó¶àÊýµÄÎÊÌⶼÊǺܻù´¡µÄ¡£ÀýÈ磺ΪʲôÎÒʹÓÃÒ»¸öÃüÁîµÄʱºò£¬ÏµÍ³¸æËßÎÒÕÒ²»µ½¸ÃĿ¼£¬ÎÒÒªÈçºÎÏÞÖÆʹÓÃÕß ......

Éó¼Æ¸ú×ÙLinuxµÄÒì³£»î¶¯


Éó¼Æ¸ú×ÙLinuxµÄÒì³£»î¶¯
Zhaoke, 2007-01-29
һЩÒì³£Óû§ÊÔͼÒÆȥϵͳÉϵÄËùÓл¼Ç¼(±ÈÈç ~/.bash_history), ²»¹ýÎÒÃÇ¿ÉÒÔʹÓÃרÃŵŤ¾ßÀ´¼àÊÓËùÓÐÓû§Ö´ÐеÄÃüÁî. ÍƼöÄãʹÓýø³Ì¼ÇÕÊÀ´¼Ç¼Óû§µÄ»î¶¯, Äã¿ÉÒÔͨ¹ý½ø³Ì¼ÇÕʲ鿴ÿһ¸öÓû§Ö´ÐеÄÃüÁî, °üÀ¨CPUʱ¼äºÍÄÚ´æÕ¼ÓÃ.
psacct³ÌÐòÌṩÁ˼¸¸ö½ø³Ì»î¶¯¼àÊ ......

u boot1.1.6ÒÔ¼°linuxºÍÎļþϵͳÔÚfs2410ÉϵÄÒÆÖ²

µÚÒ»´Î½Ó´¥u-bootÒÆÖ²£¬²ËÄñÒ»¸ö£¬É¶¶¼²»¶®µÃ£¬ÔÚÍøÉÏתÁ˺ܾ㬾ö¶¨»¹ÊÇÏȽè¼øһϱ»È˵ľ­Ñé°É£¡£¡£¡ÎҲο¼µÄÎÄÕÂÊÇ
http://www.diybl.com/course/6_system/linux/Linuxjs/2008727/134020_2.html£¬Õâ¸öÎÄÕ¶ÔÎÒÀ´Ëµ£¬ÕæÊDz»´í£¬¸Ä¶¯µÄ¶«Î÷±È½ÏÉÙ£¬ÎÒϲ»¶£¬^_^£¬¶ÔÓÚÕâƪÎÄÕ£¬ÎÒÏë˵Ã÷¼¸µãµÄÊÇ£ºÔÚ²¿·Ö(Ò»)µÄµÚÎå²½µ±ÖУ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ