LinuxÒÁµéÔ°ÂÛ̳'s Archiver

sg47 ·¢±íÓÚ 2006-7-14 14:29

Çë½ÌKGDB°²×°ÎÊÌâ

ÎÒÔÚÏÂÁËLINUX2.6.16.20µÄºËºó°´READMEÉϵķ½Ê½´òÁËKGDB-2µÄ²¹¶¡,ÓÃGRUBÒýµ¼ÔÚ,ÔÚÒýµ¼ÖмÓÁËRO ROOT=/DEV/SDA1 KGDBWAIT  KGDB8250=0,115200
°´ËµÃ÷ÊéÉÏÓ¦¸Ã³öWaiting for connection from remote gdb...
¿ÉÊÇһֱûÓп´µ½ÕâÑùµÄÌáʾ,ÓÃGDB6.4È¥Á¬Ò²²»Í¨.
ÍûÖ¸µãÒ»ÏÂ,СµÜÒѾ­ÅªÁ˰ë¸öÔÂÁË»¹Ã»Õý³£.²»¹ýÊÇÔÚÐéÄâ»úÉÏŪµÄ

zangcf ·¢±íÓÚ 2006-7-19 09:58

¹²Í¬Ñ§Ï°£¬ÎÒÏëʹÓÃKgdbµ÷ÊÔÄںˣ¬Ö÷ÒªÊÇstart_kernelÖ®ºó²¿·Ö£¬¿ÉÊÇÕÒ²»µ½gdbmodÕâ¸ößËßË£¬ÄÄλtxÖªµÀ£¬Ö¸µãÒ»¶þ£¬Ð»ÁË£¡

zangcf ·¢±íÓÚ 2006-7-19 15:50

Since the update for Linux 2.6.8-rc1, which makes use of 'early_param',
you will see the following message similar to the following (example
taken from i386) if you pass 'kgdbwait' on the command line:
        "Uncompressing Linux... Ok, booting the kernel."
If you don't pass 'kgdbwait' and connect to the target via serial or
ethernet, or use SysRq-G, you will see the following explicit message, on
all architectures:
        "Waiting for connection from remote GDB"

sg47 ·¢±íÓÚ 2006-7-19 22:40

ÎÒÒѾ­ÅªºÃÁË,ºÃÏóÊÇÒªÓÃGCC4.1ÒÔÉϱàÒë¾Í¿ÉÒÔÁË,²»»á³öÏÖWaiting for connection from remote GDB
,µ«ÊÇÎÒµÄinitrdÊÇÓõÄBUYBOX1.0³õʼ»¯²»ÁË¿ØÖÆÌ¨;

zangcf ·¢±íÓÚ 2006-7-20 09:15

ÄãµÄÒâ˼ÊÇʹÓÃ4.1ÒÔÉϾͲ»³öÏÖ£¿»¹ÊÇʹÓÃ4.1ÒÔÉϾͳöÏÖÁË£¿

zangcf ·¢±íÓÚ 2006-7-20 18:02

ÎÒµÄÒ²OKÁË£¡

sg47 ·¢±íÓÚ 2006-7-20 20:52

ÎÒÒ»Ö±¾Íû¼ûWaiting for connection from remote GDB,
ÓÃGCC4.1ºó,GDBºÍKGDBͨÁË,ÏÖÔÚÊÇÔõÃ´×°ÔØ×Ô¼ºÐ´µÄÇý¶¯Ä£¿éµ÷ÊÔµÄÎÊÌâÁË;

hejinsom ·¢±íÓÚ 2006-8-28 11:43

ÎÒÓõÄ2.6.16°æ±¾£¬kgdb£­2.4°æ±¾£¬´òkgdb²¹¶¡½øÈ¥²»ÐÔ£¬GCC°æ±¾Îª4.1
²»ÖªµÀ»¹ÊDz»ÐУ¬Ï£Íû¸÷¸ö´óÏÀÖ¸½Ìѽ£¡£¡ÎÒŪÁËÒ»ÖÜÁË£¬ºÜ½ô¼±¡£
²»ÖªµÀsg47»¹ÓÐzangzfÄãÃÇÄܲ»ÄܰÑÄãÃDzÙ×÷²½Öè˵Ã÷һϡ£Ð»Ð»

Ò³: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.