Previous: Completion, Up: Commands   [Contents][Index]


3.3 ¥Ø¥ë¥×¤Îɽ¼¨

help¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤Ç¡¢ GDB¥³¥Þ¥ó¥É¤Ë´Ø¤¹¤ë¥Ø¥ë¥×¾ðÊó¤òGDB¼«¿È¤Ëɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

help
h

help¥³¥Þ¥ó¥É ¡Ê¾Êά·Á¤Ïh¡Ë ¤ò°ú¿ô¤Ê¤·¤Ç¼Â¹Ô¤¹¤ë¤³¤È¤Ç¡¢ ¥³¥Þ¥ó¥É¤Î¥¯¥é¥¹Ì¾¤Î´Êñ¤Ê°ìÍ÷¤òɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

(gdb) help
List of classes of commands:

running -- Running the program
stack -- Examining the stack
data -- Examining data
breakpoints -- Making program stop at certain points
files -- Specifying and examining files
status -- Status inquiries
support -- Support facilities
user-defined -- User-defined commands
aliases -- Aliases of other commands
obscure -- Obscure features

Type "help" followed by a class name for a list of 
commands in that class.
Type "help" followed by command name for full 
documentation.
Command name abbreviations are allowed if unambiguous.
(gdb)
help class

°ìÈÌŪ¤Ê¥¯¥é¥¹Ì¾¤ò°ú¿ô¤Ë»ØÄꤹ¤ë¤³¤È¤Ç¡¢ ¤½¤Î¥¯¥é¥¹¤Ë°¤¹¤ë¥³¥Þ¥ó¥É¤Î°ìÍ÷¤òɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ status¥¯¥é¥¹¤ò»ØÄꤷ¤¿¾ì¹ç¤Îɽ¼¨Îã¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹¡£

(gdb) help status
Status inquiries.

List of commands:

show -- Generic command for showing things set
 with "set"
info -- Generic command for printing status

Type "help" followed by command name for full 
documentation.
Command name abbreviations are allowed if unambiguous.
(gdb)
help command

help¤Î°ú¿ô¤Ë¥³¥Þ¥ó¥É̾¤ò»ØÄꤹ¤ë¤³¤È¤Ç¡¢ ¤½¤Î¥³¥Þ¥ó¥É¤Î»ÈÍÑË¡¤Ë´Ø¤¹¤ë´Êñ¤ÊÀâÌÀ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

complete args

complete args¥³¥Þ¥ó¥É¤Ë¥³¥Þ¥ó¥É̾¤ÎÀèÆ¬¤ÎÉôʬ¤ò»ØÄꤹ¤ë¤È¡¢ ¥³¥Þ¥ó¥É̾¤ÎÊä´°¸õÊä¤Î°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡£ args¤Ë¤Ï¡¢ Êä´°¤µ¤ì¤ë¤Ù¤­¥³¥Þ¥ó¥É̾¤ÎÀèÆ¬¤Îʸ»úÎó¤ò»ØÄꤷ¤Þ¤¹¡£ Î㤨¤Ð¡¢

complete i

¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ê·ë²Ì¤òɽ¼¨¤·¤Þ¤¹¡£

info
inspect
ignore

¤³¤ì¤Ï¡¢ GNU Emacs¤Ç¤Î»ÈÍѤòÁÛÄꤷ¤¿¤â¤Î¤Ç¤¹¡£

help¥³¥Þ¥ó¥É¤Ë²Ã¤¨¤Æ¡¢ GDB¤Îinfo¥³¥Þ¥ó¥É¤ª¤è¤Óshow¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢ ¥æ¡¼¥¶¡¦¥×¥í¥°¥é¥à¤Î¾õÂÖ¤äGDB¤Î¾õÂÖ¤òÌ䤤¹ç¤ï¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤É¤Á¤é¤Î¥³¥Þ¥ó¥É¤â¡¢ ¿¤¯¤Î´ÑÅÀ¤«¤é¤ÎÌ䤤¹ç¤ï¤»¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤Ç¤Ï¡¢ ¤½¤ì¤¾¤ì¤òŬÀڤȻפï¤ì¤ë²Õ½ê¤Ç¾Ò²ð¤·¤Æ¤¤¤Þ¤¹¡£ º÷°ú¤Îinfo¤äshow¤ÎÉôʬ¤Ë¡¢ ¤½¤ì¤¾¤ì¤Î¥µ¥Ö¡¦¥³¥Þ¥ó¥É¤Î¾Ò²ð¤µ¤ì¤Æ¤¤¤ë¥Ú¡¼¥¸¤¬¼¨¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ See Index¡£

info

¤³¤Î¥³¥Þ¥ó¥É ¡Ê¾Êά·Á¤Ïi¡Ë ¤Ï¡¢ ¥æ¡¼¥¶¡¦¥×¥í¥°¥é¥à¤Î¾õÂÖ¤òɽ¤ï¤¹¾ðÊó¤òɽ¼¨¤¹¤ë¤â¤Î¤Ç¤¹¡£ Î㤨¤Ð¡¢ info args¤Ë¤è¤Ã¤Æ¥æ¡¼¥¶¡¦¥×¥í¥°¥é¥à¤ËÍ¿¤¨¤é¤ì¤¿°ú¿ô¤ò¡¢ info registers¤Ë¤è¤Ã¤Æ¸½ºß»ÈÍÑÃæ¤Î¥ì¥¸¥¹¥¿¤Î°ìÍ÷¤ò¡¢ info breakpoints¤Ë¤è¤Ã¤Æ¥æ¡¼¥¶¤¬ÀßÄꤷ¤¿¥Ö¥ì¥¤¥¯¥Ý¥¤¥ó¥È¤Î°ìÍ÷¤ò¡¢ ¤½¤ì¤¾¤ìɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ help info¤Ë¤è¤Ã¤Æ¡¢ info¥³¥Þ¥ó¥É¤Î¥µ¥Ö¡¦¥³¥Þ¥ó¥É¤Î´°Á´¤Ê°ìÍ÷¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

set

set¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¡¢ ¤¢¤ë¼°¤Îɾ²Á·ë²Ì¤ò´Ä¶­ÊÑ¿ô¤Ë³ä¤êÅö¤Æ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Î㤨¤Ð¡¢ GDB¤Î¥×¥í¥ó¥×¥Èʸ»úÎó¤ò$µ­¹æ¤ËÊѹ¹¤¹¤ë¤Ë¤Ï¡¢ set prompt $¤ò¼Â¹Ô¤·¤Þ¤¹¡£

show

info¥³¥Þ¥ó¥É¤È¤Ï°Û¤Ê¤ê¡¢ show¥³¥Þ¥ó¥É¤ÏGDB¼«¿È¤Î¾õÂÖ¤òɽ¤ï¤¹¾ðÊó¤òɽ¼¨¤¹¤ë¤â¤Î¤Ç¤¹¡£ show¥³¥Þ¥ó¥É¤Çɽ¼¨²Äǽ¤Ê¾õÂ֤Ϥ¹¤Ù¤Æ¡¢ Âбþ¤¹¤ëset¥³¥Þ¥ó¥É¤ÇÊѹ¹²Äǽ¤Ç¤¹¡£ Î㤨¤Ð¡¢ ¿ôÃͤÎɽ¼¨¤Ë»ÈÍѤ¹¤ë´ð¿ô¤Ï set radix¥³¥Þ¥ó¥É¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ ¸½ºß¤É¤Î´ð¿ô¤¬»ÈÍѤµ¤ì¤Æ¤¤¤ë¤«¤òñ¤ËÃΤ뤿¤á¤Ë¤Ï¡¢ show radix¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£

Êѹ¹²Äǽ¤Ê¤¹¤Ù¤Æ¤Î¥Ñ¥é¥á¡¼¥¿¤È¤½¤ì¤é¤Î¸½ºß¤ÎÃͤòɽ¼¨¤¹¤ë¤¿¤á¤Ë¤Ï¡¢ show¥³¥Þ¥ó¥É¤ò°ú¿ô¤Ê¤·¤Ç¼Â¹Ô¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢ info set¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¤É¤Á¤é¤Î¥³¥Þ¥ó¥É¤â¡¢ Ʊ¤¸¾ðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£

°Ê²¼¤Ë¡¢ Âбþ¤¹¤ëset¥³¥Þ¥ó¥É¤ò»ý¤¿¤Ê¤¤¤È¤¤¤¦°ÕÌ£¤ÇÎ㳰Ū¤Ç¤¢¤ë¡¢ 3¤Ä¤Îshow¥µ¥Ö¡¦¥³¥Þ¥ó¥É¤ò¼¨¤·¤Þ¤¹¡£

show version

¼Â¹ÔÃæ¤ÎGDB¤Î¥Ð¡¼¥¸¥ç¥ó¤òɽ¼¨¤·¤Þ¤¹¡£ GDB¤Ë´Ø¤¹¤ë¾ã³²¥ì¥Ý¡¼¥È¤Ë¤Ï¡¢ ¤³¤Î¾ðÊó¤ò´Þ¤á¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤â¤·¤â°Û¤Ê¤ë¥Ð¡¼¥¸¥ç¥ó¤ÎGDB¤òÊ£¿ô»ÈÍѤ·¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¤È¤­¤Ë¤Ï¸½ºß¼Â¹Ô¤·¤Æ¤¤¤ëGDB¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¤Ï¤Ã¤­¤ê¤µ¤»¤¿¤¤¤³¤È¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£ GDB¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¾å¤¬¤ë¤Ë¤Ä¤ì¡¢ ¿·¤·¤¤¥³¥Þ¥ó¥É¤¬Æ³Æþ¤µ¤ì¡¢ ¸Å¤¤¥³¥Þ¥ó¥É¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Ê¤¯¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤Ï¡¢ GDB¤Îµ¯Æ°¤ÎºÝ¤Ë¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£

show copying

GDB¤Î¥³¥Ô¡¼ºîÀ®µö²Ä¤Ë´Ø¤¹¤ë¾ðÊó¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

show warranty

GNU¤Î¡ØÌµÊÝ¾Ú ¡ÊNO WARRANTY¡Ë¡ÙÀ¼ÌÀʸ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£


Previous: Completion, Up: Commands   [Contents][Index]