<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>src/monitor.c</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2932.html'>src</a>/monitor.c</h2> <em class='comment'>/* [<][>]<a href='#L13'>[^]</a><a href='#L389'>[v]</a>[top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> <hr /> <h2 class='header'>DEFINITIONS</h2> This source file includes following definitions. <ol> <li><a href='#L13' title='Defined at 13.'>adrhash</a></li> <li><a href='#L25' title='Defined at 25.'>getbps</a></li> <li><a href='#L37' title='Defined at 37.'>addbps</a></li> <li><a href='#L57' title='Defined at 57.'>delbps</a></li> <li><a href='#L89' title='Defined at 89.'>listbps</a></li> <li><a href='#L106' title='Defined at 106.'>freebpslist</a></li> <li><a href='#L116' title='Defined at 116.'>freebps</a></li> <li><a href='#L124' title='Defined at 124.'>monargstok</a></li> <li><a href='#L146' title='Defined at 146.'>monlinetok</a></li> <li><a href='#L182' title='Defined at 182.'>stracmp</a></li> <li><a href='#L196' title='Defined at 196.'>warn_ignore_arg</a></li> <li><a href='#L208' title='Defined at 208.'>mon_break</a></li> <li><a href='#L255' title='Defined at 255.'>mon_dump</a></li> <li><a href='#L287' title='Defined at 287.'>monitorcmd</a></li> <li><a href='#L357' title='Defined at 357.'>free_moncmdline</a></li> <li><a href='#L375' title='Defined at 375.'>monquit</a></li> <li><a href='#L389' title='Defined at 389.'>monitor</a></li> </ol> <hr /> <pre> <a id='L1' name='L1'></a> 1 <em class='sharp'>#include</em> "<a href='2419.html'>monitor.h</a>" <a id='L2' name='L2'></a> 2 <a id='L3' name='L3'></a> 3 <em class='comment'>/**</em> <a id='L4' name='L4'></a> 4 <em class='comment'> * @brief ブレークポイント表</em> <a id='L5' name='L5'></a> 5 <em class='comment'> */</em> <a id='L6' name='L6'></a> 6 <strong class='reserved'>static</strong> <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../S/2419.html#L46' title='Defined at 46 in include/monitor.h.'>BPSTABSIZE</a>]; <a id='L7' name='L7'></a> 7 <a id='L8' name='L8'></a> 8 <em class='comment'>/**</em> <a id='L9' name='L9'></a> 9 <em class='comment'> * @brief comet2monitorのプロンプト</em> <a id='L10' name='L10'></a> 10 <em class='comment'> */</em> <a id='L11' name='L11'></a> 11 <strong class='reserved'>static</strong> <strong class='reserved'>char</strong> *<a href='../Y/149.html' title='Multiple used in 2 places.'>monitor_prompt</a> = "(comet2 monitor)"; <a id='L12' name='L12'></a> 12 <a id='L13' name='L13'></a> 13 <strong class='reserved'>unsigned</strong> <a href='../R/98.html' title='Multiple referred from 5 places.'>adrhash</a>(<a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <a id='L14' name='L14'></a> 14 <em class='brace'>{</em> <a id='L15' name='L15'></a> 15 <a href='../S/2426.html#L21' title='Defined at 21 in include/hash.h.'>HKEY</a> *<a href='../Y/122.html' title='Multiple used in 11 places.'>key</a>[1]; <a id='L16' name='L16'></a> 16 <strong class='reserved'>unsigned</strong> <a href='../Y/114.html' title='Multiple used in 19 places.'>h</a>; <a id='L17' name='L17'></a> 17 <a href='../Y/122.html' title='Multiple used in 11 places.'>key</a>[0] = <a href='../S/2831.html#L3' title='Defined at 3 in src/cmem.c.'>malloc_chk</a>(<strong class='reserved'>sizeof</strong>(<a href='../S/2426.html#L21' title='Defined at 21 in include/hash.h.'>HKEY</a>), "adrhash.key"); <a id='L18' name='L18'></a> 18 <a href='../Y/122.html' title='Multiple used in 11 places.'>key</a>[0]-><a href='../Y/230.html' title='Multiple used in 26 places.'>type</a> = <a href='../S/2426.html#L9' title='Defined at 9 in include/hash.h.'>INT</a>; <a id='L19' name='L19'></a> 19 <a href='../Y/122.html' title='Multiple used in 11 places.'>key</a>[0]-><a href='../Y/232.html' title='Multiple used in 27 places.'>val</a>.<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>; <a id='L20' name='L20'></a> 20 <a href='../Y/114.html' title='Multiple used in 19 places.'>h</a> = <a href='../S/2830.html#L3' title='Defined at 3 in src/hash.c.'>hash</a>(1, <a href='../Y/122.html' title='Multiple used in 11 places.'>key</a>, <a href='../S/2419.html#L46' title='Defined at 46 in include/monitor.h.'>BPSTABSIZE</a>); <a id='L21' name='L21'></a> 21 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/122.html' title='Multiple used in 11 places.'>key</a>[0]); <a id='L22' name='L22'></a> 22 <strong class='reserved'>return</strong> <a href='../Y/114.html' title='Multiple used in 19 places.'>h</a>; <a id='L23' name='L23'></a> 23 <em class='brace'>}</em> <a id='L24' name='L24'></a> 24 <a id='L25' name='L25'></a> 25 <a href='../Y/25.html' title='Multiple used in 55 places.'>bool</a> <a href='../R/150.html' title='Multiple referred from 3 places.'>getbps</a>(<a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <a id='L26' name='L26'></a> 26 <em class='brace'>{</em> <a id='L27' name='L27'></a> 27 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L28' name='L28'></a> 28 <a id='L29' name='L29'></a> 29 <strong class='reserved'>for</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../S/2804.html#L13' title='Defined at 13 in src/monitor.c.'>adrhash</a>(<a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>)]; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>) <em class='brace'>{</em> <a id='L30' name='L30'></a> 30 <strong class='reserved'>if</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a> == <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <em class='brace'>{</em> <a id='L31' name='L31'></a> 31 <strong class='reserved'>return</strong> <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L32' name='L32'></a> 32 <em class='brace'>}</em> <a id='L33' name='L33'></a> 33 <em class='brace'>}</em> <a id='L34' name='L34'></a> 34 <strong class='reserved'>return</strong> <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L35' name='L35'></a> 35 <em class='brace'>}</em> <a id='L36' name='L36'></a> 36 <a id='L37' name='L37'></a> 37 <a href='../Y/25.html' title='Multiple used in 55 places.'>bool</a> <a href='../R/84.html' title='Multiple referred from 2 places.'>addbps</a>(<a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <a id='L38' name='L38'></a> 38 <em class='brace'>{</em> <a id='L39' name='L39'></a> 39 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L40' name='L40'></a> 40 <strong class='reserved'>unsigned</strong> <a href='../Y/114.html' title='Multiple used in 19 places.'>h</a> = 0; <a id='L41' name='L41'></a> 41 <a id='L42' name='L42'></a> 42 <em class='comment'>/* 登録されたラベルを検索。すでに登録されている場合は終了 */</em> <a id='L43' name='L43'></a> 43 <strong class='reserved'>if</strong>(<a href='../S/2804.html#L25' title='Defined at 25 in src/monitor.c.'>getbps</a>(<a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) == <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>) <em class='brace'>{</em> <a id='L44' name='L44'></a> 44 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, "%04X: Breakpoint is already defined.\n", <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>); <a id='L45' name='L45'></a> 45 <strong class='reserved'>return</strong> <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L46' name='L46'></a> 46 <em class='brace'>}</em> <a id='L47' name='L47'></a> 47 <em class='comment'>/* メモリを確保 */</em> <a id='L48' name='L48'></a> 48 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../S/2831.html#L3' title='Defined at 3 in src/cmem.c.'>malloc_chk</a>(<strong class='reserved'>sizeof</strong>(<a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a>), "bps.next"); <a id='L49' name='L49'></a> 49 <em class='comment'>/* アドレスを設定 */</em> <a id='L50' name='L50'></a> 50 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a> = <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>; <a id='L51' name='L51'></a> 51 <em class='comment'>/* ハッシュ表へ追加 */</em> <a id='L52' name='L52'></a> 52 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a> = <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/114.html' title='Multiple used in 19 places.'>h</a> = <a href='../S/2804.html#L13' title='Defined at 13 in src/monitor.c.'>adrhash</a>(<a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>)]; <a id='L53' name='L53'></a> 53 <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/114.html' title='Multiple used in 19 places.'>h</a>] = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>; <a id='L54' name='L54'></a> 54 <strong class='reserved'>return</strong> <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L55' name='L55'></a> 55 <em class='brace'>}</em> <a id='L56' name='L56'></a> 56 <a id='L57' name='L57'></a> 57 <a href='../Y/25.html' title='Multiple used in 55 places.'>bool</a> <a href='../R/126.html' title='Multiple referred from 2 places.'>delbps</a>(<a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <a id='L58' name='L58'></a> 58 <em class='brace'>{</em> <a id='L59' name='L59'></a> 59 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L60' name='L60'></a> 60 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/181.html' title='Multiple used in 17 places.'>q</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L61' name='L61'></a> 61 <strong class='reserved'>unsigned</strong> <a href='../Y/114.html' title='Multiple used in 19 places.'>h</a> = 0; <a id='L62' name='L62'></a> 62 <a href='../Y/25.html' title='Multiple used in 55 places.'>bool</a> <a href='../Y/187.html' title='Multiple used in 4 places.'>res</a> = <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L63' name='L63'></a> 63 <a id='L64' name='L64'></a> 64 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/114.html' title='Multiple used in 19 places.'>h</a> = <a href='../S/2804.html#L13' title='Defined at 13 in src/monitor.c.'>adrhash</a>(<a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>)]; <a id='L65' name='L65'></a> 65 <strong class='reserved'>if</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L66' name='L66'></a> 66 <strong class='reserved'>if</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a> == <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <em class='brace'>{</em> <a id='L67' name='L67'></a> 67 <strong class='reserved'>if</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a> == <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L68' name='L68'></a> 68 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/114.html' title='Multiple used in 19 places.'>h</a>]); <a id='L69' name='L69'></a> 69 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L70' name='L70'></a> 70 <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/114.html' title='Multiple used in 19 places.'>h</a>] = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>; <a id='L71' name='L71'></a> 71 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>); <a id='L72' name='L72'></a> 72 <em class='brace'>}</em> <a id='L73' name='L73'></a> 73 <a href='../Y/187.html' title='Multiple used in 4 places.'>res</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L74' name='L74'></a> 74 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L75' name='L75'></a> 75 <strong class='reserved'>for</strong>(; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>) <em class='brace'>{</em> <a id='L76' name='L76'></a> 76 <a href='../Y/181.html' title='Multiple used in 17 places.'>q</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>; <a id='L77' name='L77'></a> 77 <strong class='reserved'>if</strong>(<a href='../Y/181.html' title='Multiple used in 17 places.'>q</a>-><a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a> == <a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>) <em class='brace'>{</em> <a id='L78' name='L78'></a> 78 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a> = <a href='../Y/181.html' title='Multiple used in 17 places.'>q</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>; <a id='L79' name='L79'></a> 79 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/181.html' title='Multiple used in 17 places.'>q</a>); <a id='L80' name='L80'></a> 80 <a href='../Y/187.html' title='Multiple used in 4 places.'>res</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L81' name='L81'></a> 81 <strong class='reserved'>break</strong>; <a id='L82' name='L82'></a> 82 <em class='brace'>}</em> <a id='L83' name='L83'></a> 83 <em class='brace'>}</em> <a id='L84' name='L84'></a> 84 <em class='brace'>}</em> <a id='L85' name='L85'></a> 85 <em class='brace'>}</em> <a id='L86' name='L86'></a> 86 <strong class='reserved'>return</strong> <a href='../Y/187.html' title='Multiple used in 4 places.'>res</a>; <a id='L87' name='L87'></a> 87 <em class='brace'>}</em> <a id='L88' name='L88'></a> 88 <a id='L89' name='L89'></a> 89 <strong class='reserved'>void</strong> <a href='../S/2804.html#L214' title='Referred from 214 in src/monitor.c.'>listbps</a>() <a id='L90' name='L90'></a> 90 <em class='brace'>{</em> <a id='L91' name='L91'></a> 91 <strong class='reserved'>int</strong> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0; <a id='L92' name='L92'></a> 92 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L93' name='L93'></a> 93 <a id='L94' name='L94'></a> 94 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "List of breakpoints\n"); <a id='L95' name='L95'></a> 95 <strong class='reserved'>for</strong>(<strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> < <a href='../S/2419.html#L46' title='Defined at 46 in include/monitor.h.'>BPSTABSIZE</a>; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++) <em class='brace'>{</em> <a id='L96' name='L96'></a> 96 <strong class='reserved'>for</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>) <em class='brace'>{</em> <a id='L97' name='L97'></a> 97 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "#%04X\n", <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/7.html' title='Multiple used in 68 places.'>adr</a>); <a id='L98' name='L98'></a> 98 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>++; <a id='L99' name='L99'></a> 99 <em class='brace'>}</em> <a id='L100' name='L100'></a> 100 <em class='brace'>}</em> <a id='L101' name='L101'></a> 101 <strong class='reserved'>if</strong>(<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> == 0) <em class='brace'>{</em> <a id='L102' name='L102'></a> 102 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "(No breakpoints.)\n"); <a id='L103' name='L103'></a> 103 <em class='brace'>}</em> <a id='L104' name='L104'></a> 104 <em class='brace'>}</em> <a id='L105' name='L105'></a> 105 <a id='L106' name='L106'></a> 106 <strong class='reserved'>void</strong> <a href='../S/2804.html#L119' title='Referred from 119 in src/monitor.c.'>freebpslist</a>(<a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/116.html' title='Multiple used in 2 places.'>head</a>) <a id='L107' name='L107'></a> 107 <em class='brace'>{</em> <a id='L108' name='L108'></a> 108 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L109' name='L109'></a> 109 <a href='../S/2419.html#L40' title='Defined at 40 in include/monitor.h.'>BPSLIST</a> *<a href='../Y/181.html' title='Multiple used in 17 places.'>q</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L110' name='L110'></a> 110 <strong class='reserved'>for</strong>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/116.html' title='Multiple used in 2 places.'>head</a>; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/181.html' title='Multiple used in 17 places.'>q</a>) <em class='brace'>{</em> <a id='L111' name='L111'></a> 111 <a href='../Y/181.html' title='Multiple used in 17 places.'>q</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>-><a href='../Y/154.html' title='Multiple used in 30 places.'>next</a>; <a id='L112' name='L112'></a> 112 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>); <a id='L113' name='L113'></a> 113 <em class='brace'>}</em> <a id='L114' name='L114'></a> 114 <em class='brace'>}</em> <a id='L115' name='L115'></a> 115 <a id='L116' name='L116'></a> 116 <strong class='reserved'>void</strong> <a href='../R/140.html' title='Multiple referred from 4 places.'>freebps</a>() <a id='L117' name='L117'></a> 117 <em class='brace'>{</em> <a id='L118' name='L118'></a> 118 <strong class='reserved'>for</strong>(<strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> < <a href='../S/2419.html#L46' title='Defined at 46 in include/monitor.h.'>BPSTABSIZE</a>; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++) <em class='brace'>{</em> <a id='L119' name='L119'></a> 119 <a href='../S/2804.html#L106' title='Defined at 106 in src/monitor.c.'>freebpslist</a>(<a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]); <a id='L120' name='L120'></a> 120 <a href='../Y/27.html' title='Multiple used in 10 places.'>bps</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>] = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L121' name='L121'></a> 121 <em class='brace'>}</em> <a id='L122' name='L122'></a> 122 <em class='brace'>}</em> <a id='L123' name='L123'></a> 123 <a id='L124' name='L124'></a> 124 <a href='../S/2419.html#L24' title='Defined at 24 in include/monitor.h.'>MONARGS</a> *<a href='../R/184.html' title='Multiple referred from 2 places.'>monargstok</a>(<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/203.html' title='Multiple used in 103 places.'>str</a>) <a id='L125' name='L125'></a> 125 <em class='brace'>{</em> <a id='L126' name='L126'></a> 126 <a href='../S/2419.html#L24' title='Defined at 24 in include/monitor.h.'>MONARGS</a> *<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a> = <a href='../S/2831.html#L3' title='Defined at 3 in src/cmem.c.'>malloc_chk</a>(<strong class='reserved'>sizeof</strong>(<a href='../S/2419.html#L24' title='Defined at 24 in include/monitor.h.'>MONARGS</a>), "args"); <a id='L127' name='L127'></a> 127 <strong class='reserved'>char</strong> *<a href='../Y/225.html' title='Multiple used in 9 places.'>tok</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L128' name='L128'></a> 128 <strong class='reserved'>char</strong> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L129' name='L129'></a> 129 <strong class='reserved'>char</strong> <a href='../Y/189.html' title='Multiple used in 6 places.'>sepc</a> = ' '; <a id='L130' name='L130'></a> 130 <a id='L131' name='L131'></a> 131 <a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> = 0; <a id='L132' name='L132'></a> 132 <strong class='reserved'>if</strong>(!<a href='../Y/203.html' title='Multiple used in 103 places.'>str</a> || !<a href='../Y/203.html' title='Multiple used in 103 places.'>str</a>[0]) <em class='brace'>{</em> <a id='L133' name='L133'></a> 133 <strong class='reserved'>return</strong> <a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>; <a id='L134' name='L134'></a> 134 <em class='brace'>}</em> <a id='L135' name='L135'></a> 135 <a href='../Y/225.html' title='Multiple used in 9 places.'>tok</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../S/2831.html#L25' title='Defined at 25 in src/cmem.c.'>strdup_chk</a>(<a href='../Y/203.html' title='Multiple used in 103 places.'>str</a>, "argstok.p"); <a id='L136' name='L136'></a> 136 <strong class='reserved'>do</strong> <em class='brace'>{</em> <a id='L137' name='L137'></a> 137 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = <a href='../Y/209.html' title='Multiple used in 6 places.'>strcspn</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>, " "); <a id='L138' name='L138'></a> 138 <a href='../Y/189.html' title='Multiple used in 6 places.'>sepc</a> = <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]; <a id='L139' name='L139'></a> 139 <a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>)++] = <a href='../S/2831.html#L33' title='Defined at 33 in src/cmem.c.'>strndup_chk</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>, <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>, "args->argv[]"); <a id='L140' name='L140'></a> 140 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> += <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> + 1; <a id='L141' name='L141'></a> 141 <em class='brace'>}</em> <strong class='reserved'>while</strong>(<a href='../Y/189.html' title='Multiple used in 6 places.'>sepc</a> == ' '); <a id='L142' name='L142'></a> 142 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/225.html' title='Multiple used in 9 places.'>tok</a>); <a id='L143' name='L143'></a> 143 <strong class='reserved'>return</strong> <a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>; <a id='L144' name='L144'></a> 144 <em class='brace'>}</em> <a id='L145' name='L145'></a> 145 <a id='L146' name='L146'></a> 146 <a href='../S/2419.html#L32' title='Defined at 32 in include/monitor.h.'>MONCMDLINE</a> *<a href='../R/187.html' title='Multiple referred from 2 places.'>monlinetok</a>(<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/132.html' title='Multiple used in 41 places.'>line</a>) <a id='L147' name='L147'></a> 147 <em class='brace'>{</em> <a id='L148' name='L148'></a> 148 <strong class='reserved'>char</strong> *<a href='../Y/226.html' title='Multiple used in 3 places.'>tokens</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L149' name='L149'></a> 149 <strong class='reserved'>char</strong> *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L150' name='L150'></a> 150 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a id='L151' name='L151'></a> 151 <a href='../S/2419.html#L32' title='Defined at 32 in include/monitor.h.'>MONCMDLINE</a> *<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L152' name='L152'></a> 152 <a id='L153' name='L153'></a> 153 <strong class='reserved'>if</strong>(!<a href='../Y/132.html' title='Multiple used in 41 places.'>line</a>[0] || <a href='../Y/132.html' title='Multiple used in 41 places.'>line</a>[0] == '\n') <em class='brace'>{</em> <a id='L154' name='L154'></a> 154 <strong class='reserved'>return</strong> <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L155' name='L155'></a> 155 <em class='brace'>}</em> <a id='L156' name='L156'></a> 156 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> = <a href='../Y/226.html' title='Multiple used in 3 places.'>tokens</a> = <a href='../S/2831.html#L25' title='Defined at 25 in src/cmem.c.'>strdup_chk</a>(<a href='../Y/132.html' title='Multiple used in 41 places.'>line</a>, "tokens"); <a id='L157' name='L157'></a> 157 <em class='comment'>/* コメントを削除 */</em> <a id='L158' name='L158'></a> 158 <a href='../S/2831.html#L55' title='Defined at 55 in src/cmem.c.'>strip_casl2_comment</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>); <a id='L159' name='L159'></a> 159 <em class='comment'>/* 文字列末尾の改行と空白を削除 */</em> <a id='L160' name='L160'></a> 160 <a href='../S/2831.html#L48' title='Defined at 48 in src/cmem.c.'>strip_end</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>); <a id='L161' name='L161'></a> 161 <a id='L162' name='L162'></a> 162 <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a> = <a href='../S/2831.html#L3' title='Defined at 3 in src/cmem.c.'>malloc_chk</a>(<strong class='reserved'>sizeof</strong>(<a href='../S/2419.html#L32' title='Defined at 32 in include/monitor.h.'>MONCMDLINE</a>), "moncmdl"); <a id='L163' name='L163'></a> 163 <em class='comment'>/* コマンドの取得 */</em> <a id='L164' name='L164'></a> 164 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = <a href='../Y/209.html' title='Multiple used in 6 places.'>strcspn</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>, " \t\n"); <a id='L165' name='L165'></a> 165 <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a> = <a href='../S/2831.html#L33' title='Defined at 33 in src/cmem.c.'>strndup_chk</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>, <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>, "moncmdl->cmd"); <a id='L166' name='L166'></a> 166 <em class='comment'>/* コマンドと引数の間の空白をスキップ */</em> <a id='L167' name='L167'></a> 167 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> += <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>; <a id='L168' name='L168'></a> 168 <strong class='reserved'>while</strong>(*<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> == ' ' || *<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a> == '\t') <em class='brace'>{</em> <a id='L169' name='L169'></a> 169 <a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>++; <a id='L170' name='L170'></a> 170 <em class='brace'>}</em> <a id='L171' name='L171'></a> 171 <em class='comment'>/* 引数として、改行までの文字列を取得 */</em> <a id='L172' name='L172'></a> 172 <strong class='reserved'>if</strong>(<a href='../Y/209.html' title='Multiple used in 6 places.'>strcspn</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>, "\n") > 0) <em class='brace'>{</em> <a id='L173' name='L173'></a> 173 <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a> = <a href='../S/2804.html#L124' title='Defined at 124 in src/monitor.c.'>monargstok</a>(<a href='../Y/171.html' title='Multiple used in 127 places.'>p</a>); <a id='L174' name='L174'></a> 174 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L175' name='L175'></a> 175 <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a> = <a href='../S/2831.html#L3' title='Defined at 3 in src/cmem.c.'>malloc_chk</a>(<strong class='reserved'>sizeof</strong>(<a href='../S/2419.html#L24' title='Defined at 24 in include/monitor.h.'>MONARGS</a>), "moncmdl.args"); <a id='L176' name='L176'></a> 176 <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> = 0; <a id='L177' name='L177'></a> 177 <em class='brace'>}</em> <a id='L178' name='L178'></a> 178 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/226.html' title='Multiple used in 3 places.'>tokens</a>); <a id='L179' name='L179'></a> 179 <strong class='reserved'>return</strong> <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>; <a id='L180' name='L180'></a> 180 <em class='brace'>}</em> <a id='L181' name='L181'></a> 181 <a id='L182' name='L182'></a> 182 <a href='../Y/25.html' title='Multiple used in 55 places.'>bool</a> <a href='../R/214.html' title='Multiple referred from 23 places.'>stracmp</a>(<strong class='reserved'>char</strong> *<a href='../Y/204.html' title='Multiple used in 3 places.'>str1</a>, <strong class='reserved'>int</strong> <a href='../Y/205.html' title='Multiple used in 2 places.'>str2c</a>, <strong class='reserved'>char</strong> *<a href='../Y/206.html' title='Multiple used in 2 places.'>str2v</a>[]) <a id='L183' name='L183'></a> 183 <em class='brace'>{</em> <a id='L184' name='L184'></a> 184 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>; <a id='L185' name='L185'></a> 185 <strong class='reserved'>if</strong>(<a href='../Y/204.html' title='Multiple used in 3 places.'>str1</a> == <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L186' name='L186'></a> 186 <strong class='reserved'>return</strong> <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L187' name='L187'></a> 187 <em class='brace'>}</em> <a id='L188' name='L188'></a> 188 <strong class='reserved'>for</strong>(<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> < <a href='../Y/205.html' title='Multiple used in 2 places.'>str2c</a>; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++) <em class='brace'>{</em> <a id='L189' name='L189'></a> 189 <strong class='reserved'>if</strong>(<a href='../Y/207.html' title='Multiple used in 5 places.'>strcmp</a>(<a href='../Y/204.html' title='Multiple used in 3 places.'>str1</a>, <a href='../Y/206.html' title='Multiple used in 2 places.'>str2v</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]) == 0) <em class='brace'>{</em> <a id='L190' name='L190'></a> 190 <strong class='reserved'>return</strong> <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L191' name='L191'></a> 191 <em class='brace'>}</em> <a id='L192' name='L192'></a> 192 <em class='brace'>}</em> <a id='L193' name='L193'></a> 193 <strong class='reserved'>return</strong> <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L194' name='L194'></a> 194 <em class='brace'>}</em> <a id='L195' name='L195'></a> 195 <a id='L196' name='L196'></a> 196 <strong class='reserved'>void</strong> <a href='../R/227.html' title='Multiple referred from 2 places.'>warn_ignore_arg</a>(<strong class='reserved'>int</strong> <a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>, <strong class='reserved'>char</strong> *<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[]) <a id='L197' name='L197'></a> 197 <em class='brace'>{</em> <a id='L198' name='L198'></a> 198 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>; <a id='L199' name='L199'></a> 199 <strong class='reserved'>for</strong>(<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> < <a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++) <em class='brace'>{</em> <a id='L200' name='L200'></a> 200 <strong class='reserved'>if</strong>(<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> > 0) <em class='brace'>{</em> <a id='L201' name='L201'></a> 201 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, " "); <a id='L202' name='L202'></a> 202 <em class='brace'>}</em> <a id='L203' name='L203'></a> 203 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, "%s", <a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]); <a id='L204' name='L204'></a> 204 <em class='brace'>}</em> <a id='L205' name='L205'></a> 205 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, ": ignored.\n"); <a id='L206' name='L206'></a> 206 <em class='brace'>}</em> <a id='L207' name='L207'></a> 207 <a id='L208' name='L208'></a> 208 <strong class='reserved'>void</strong> <a href='../S/2804.html#L299' title='Referred from 299 in src/monitor.c.'>mon_break</a>(<strong class='reserved'>int</strong> <a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>, <strong class='reserved'>char</strong> *<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[]) <a id='L209' name='L209'></a> 209 <em class='brace'>{</em> <a id='L210' name='L210'></a> 210 <a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>; <a id='L211' name='L211'></a> 211 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a id='L212' name='L212'></a> 212 <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"l", "list"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L213' name='L213'></a> 213 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++; <a id='L214' name='L214'></a> 214 <a href='../S/2804.html#L89' title='Defined at 89 in src/monitor.c.'>listbps</a>(); <a id='L215' name='L215'></a> 215 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"r", "reset"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L216' name='L216'></a> 216 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++; <a id='L217' name='L217'></a> 217 <a href='../S/2804.html#L116' title='Defined at 116 in src/monitor.c.'>freebps</a>(); <a id='L218' name='L218'></a> 218 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "All breakpoints are deleted.\n"); <a id='L219' name='L219'></a> 219 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L220' name='L220'></a> 220 <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 1) <em class='brace'>{</em> <a id='L221' name='L221'></a> 221 <strong class='reserved'>if</strong>((<a href='../Y/235.html' title='Multiple used in 107 places.'>w</a> = <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[1])) == 0x0) <em class='brace'>{</em> <a id='L222' name='L222'></a> 222 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, "%s: address error\n", <a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[1]); <a id='L223' name='L223'></a> 223 <em class='brace'>}</em> <a id='L224' name='L224'></a> 224 <em class='brace'>}</em> <a id='L225' name='L225'></a> 225 <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"a", "add"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L226' name='L226'></a> 226 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> += 2; <a id='L227' name='L227'></a> 227 <strong class='reserved'>if</strong>(<a href='../S/2804.html#L37' title='Defined at 37 in src/monitor.c.'>addbps</a>(<a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>) == <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>) <em class='brace'>{</em> <a id='L228' name='L228'></a> 228 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "#%04X: breakpoint added\n", <a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>); <a id='L229' name='L229'></a> 229 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L230' name='L230'></a> 230 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "No breakpoint added\n"); <a id='L231' name='L231'></a> 231 <em class='brace'>}</em> <a id='L232' name='L232'></a> 232 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"d", "del"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L233' name='L233'></a> 233 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> += 2; <a id='L234' name='L234'></a> 234 <strong class='reserved'>if</strong>(<a href='../S/2804.html#L57' title='Defined at 57 in src/monitor.c.'>delbps</a>(<a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>) == <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>) <em class='brace'>{</em> <a id='L235' name='L235'></a> 235 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "#%04X: breakpoint deleted\n", <a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>); <a id='L236' name='L236'></a> 236 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L237' name='L237'></a> 237 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "No breakpoint deleted\n"); <a id='L238' name='L238'></a> 238 <em class='brace'>}</em> <a id='L239' name='L239'></a> 239 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 3, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"?", "h", "help"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L240' name='L240'></a> 240 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++; <a id='L241' name='L241'></a> 241 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "breakpoint manipulate:\n"); <a id='L242' name='L242'></a> 242 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, " b[reak] a[dd] <address>\n"); <a id='L243' name='L243'></a> 243 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, " b[reak] d[el] <address>\n"); <a id='L244' name='L244'></a> 244 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, " b[reak] l[ist]\n"); <a id='L245' name='L245'></a> 245 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, " b[reak] r[eset]\n"); <a id='L246' name='L246'></a> 246 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L247' name='L247'></a> 247 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, "%s: Not breakpoint manipulate command. see `b ?'.\n", <a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0]); <a id='L248' name='L248'></a> 248 <em class='brace'>}</em> <a id='L249' name='L249'></a> 249 <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>) <em class='brace'>{</em> <a id='L250' name='L250'></a> 250 <a href='../S/2804.html#L196' title='Defined at 196 in src/monitor.c.'>warn_ignore_arg</a>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> - <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>, <a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a> + <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>); <a id='L251' name='L251'></a> 251 <em class='brace'>}</em> <a id='L252' name='L252'></a> 252 <em class='brace'>}</em> <a id='L253' name='L253'></a> 253 <em class='brace'>}</em> <a id='L254' name='L254'></a> 254 <a id='L255' name='L255'></a> 255 <strong class='reserved'>void</strong> <a href='../S/2804.html#L304' title='Referred from 304 in src/monitor.c.'>mon_dump</a>(<strong class='reserved'>int</strong> <a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>, <strong class='reserved'>char</strong> *<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[]) <a id='L256' name='L256'></a> 256 <em class='brace'>{</em> <a id='L257' name='L257'></a> 257 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a id='L258' name='L258'></a> 258 <a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a> = 0, <a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a> = 0x40; <a id='L259' name='L259'></a> 259 <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 0 && <a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"a", "auto"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L260' name='L260'></a> 260 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/81.html' title='Multiple used in 8 places.'>dump</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L261' name='L261'></a> 261 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++; <a id='L262' name='L262'></a> 262 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 0 && <a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"no", "noauto"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L263' name='L263'></a> 263 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/81.html' title='Multiple used in 8 places.'>dump</a> = <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L264' name='L264'></a> 264 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++; <a id='L265' name='L265'></a> 265 <em class='brace'>}</em> <a id='L266' name='L266'></a> 266 <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>) <em class='brace'>{</em> <a id='L267' name='L267'></a> 267 <a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a> = <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++]); <a id='L268' name='L268'></a> 268 <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>) <em class='brace'>{</em> <a id='L269' name='L269'></a> 269 <strong class='reserved'>if</strong>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>][0] =='+') <em class='brace'>{</em> <a id='L270' name='L270'></a> 270 <a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a> = <a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a> + <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>] + 1); <a id='L271' name='L271'></a> 271 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L272' name='L272'></a> 272 <a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a> = <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]); <a id='L273' name='L273'></a> 273 <em class='brace'>}</em> <a id='L274' name='L274'></a> 274 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L275' name='L275'></a> 275 <a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a> += <a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a>; <a id='L276' name='L276'></a> 276 <em class='brace'>}</em> <a id='L277' name='L277'></a> 277 <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++; <a id='L278' name='L278'></a> 278 <em class='brace'>}</em> <a id='L279' name='L279'></a> 279 <strong class='reserved'>if</strong>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>) <em class='brace'>{</em> <a id='L280' name='L280'></a> 280 <a href='../S/2804.html#L196' title='Defined at 196 in src/monitor.c.'>warn_ignore_arg</a>(<a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> - <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>, <a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a> + <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>); <a id='L281' name='L281'></a> 281 <em class='brace'>}</em> <a id='L282' name='L282'></a> 282 <a href='../S/2840.html#L4' title='Defined at 4 in src/dump.c.'>dumpmemory</a>(<a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a>, <a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a>); <a id='L283' name='L283'></a> 283 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a> = <a href='../Y/83.html' title='Multiple used in 8 places.'>dump_start</a>; <a id='L284' name='L284'></a> 284 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a> = <a href='../Y/82.html' title='Multiple used in 8 places.'>dump_end</a>; <a id='L285' name='L285'></a> 285 <em class='brace'>}</em> <a id='L286' name='L286'></a> 286 <a id='L287' name='L287'></a> 287 <a href='../S/2419.html#L57' title='Defined at 57 in include/monitor.h.'>MONCMDTYPE</a> <a href='../R/186.html' title='Multiple referred from 2 places.'>monitorcmd</a>(<strong class='reserved'>char</strong> *<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, <a href='../S/2419.html#L24' title='Defined at 24 in include/monitor.h.'>MONARGS</a> *<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>) <a id='L288' name='L288'></a> 288 <em class='brace'>{</em> <a id='L289' name='L289'></a> 289 <a href='../S/2419.html#L57' title='Defined at 57 in include/monitor.h.'>MONCMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2419.html#L54' title='Defined at 54 in include/monitor.h.'>MONREPEAT</a>; <a id='L290' name='L290'></a> 290 <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"a", "assemble"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L291' name='L291'></a> 291 <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> == 0) <em class='brace'>{</em> <a id='L292' name='L292'></a> 292 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/198.html' title='Multiple used in 23 places.'>stderr</a>, "Error: Input file name.\n"); <a id='L293' name='L293'></a> 293 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> == 1) <em class='brace'>{</em> <a id='L294' name='L294'></a> 294 <a href='../S/2837.html#L751' title='Defined at 751 in src/assemble.c.'>assemble</a>(1, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0]<em class='brace'>}</em>, 0); <a id='L295' name='L295'></a> 295 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L296' name='L296'></a> 296 <a href='../S/2837.html#L751' title='Defined at 751 in src/assemble.c.'>assemble</a>(1, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0]<em class='brace'>}</em>, <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[1])); <a id='L297' name='L297'></a> 297 <em class='brace'>}</em> <a id='L298' name='L298'></a> 298 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"b", "break"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L299' name='L299'></a> 299 <a href='../S/2804.html#L208' title='Defined at 208 in src/monitor.c.'>mon_break</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>, <a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>); <a id='L300' name='L300'></a> 300 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"c", "continue"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L301' name='L301'></a> 301 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/201.html' title='Multiple used in 5 places.'>step</a> = <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L302' name='L302'></a> 302 <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2419.html#L55' title='Defined at 55 in include/monitor.h.'>MONNEXT</a>; <a id='L303' name='L303'></a> 303 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"d", "dump"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L304' name='L304'></a> 304 <a href='../S/2804.html#L255' title='Defined at 255 in src/monitor.c.'>mon_dump</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>, <a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>); <a id='L305' name='L305'></a> 305 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"l", "load"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L306' name='L306'></a> 306 <a href='../Y/89.html' title='Multiple used in 25 places.'>execptr</a>-><a href='../Y/85.html' title='Multiple used in 25 places.'>end</a> = <a href='../S/2852.html#L27' title='Defined at 27 in src/load.c.'>loadassemble</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[1])); <a id='L307' name='L307'></a> 307 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"n", "next"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L308' name='L308'></a> 308 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/201.html' title='Multiple used in 5 places.'>step</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L309' name='L309'></a> 309 <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2419.html#L55' title='Defined at 55 in include/monitor.h.'>MONNEXT</a>; <a id='L310' name='L310'></a> 310 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"q", "quit"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L311' name='L311'></a> 311 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "Quit: COMET II monitor\n"); <a id='L312' name='L312'></a> 312 <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2419.html#L56' title='Defined at 56 in include/monitor.h.'>MONQUIT</a>; <a id='L313' name='L313'></a> 313 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"r", "reverse"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L314' name='L314'></a> 314 <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> == 2) <em class='brace'>{</em> <a id='L315' name='L315'></a> 315 <a href='../S/2810.html#L238' title='Defined at 238 in src/disassemble.c.'>disassemble_memory</a>(<a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0]), <a href='../S/2828.html#L82' title='Defined at 82 in src/word.c.'>nh2word</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[1])); <a id='L316' name='L316'></a> 316 <em class='brace'>}</em> <a id='L317' name='L317'></a> 317 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 1, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"reset"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L318' name='L318'></a> 318 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "Reset COMET II.\n"); <a id='L319' name='L319'></a> 319 <a href='../S/2856.html#L253' title='Defined at 253 in src/struct.c.'>reset</a>(<a href='../Y/217.html' title='Multiple used in 243 places.'>sys</a>-><a href='../Y/146.html' title='Multiple used in 30 places.'>memsize</a>, <a href='../Y/217.html' title='Multiple used in 243 places.'>sys</a>-><a href='../Y/58.html' title='Multiple used in 15 places.'>clocks</a>); <em class='comment'>/* COMET II仮想マシンのリセット */</em> <a id='L320' name='L320'></a> 320 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"t", "trace"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L321' name='L321'></a> 321 <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 0 && <a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"a", "auto"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L322' name='L322'></a> 322 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/136.html' title='Multiple used in 6 places.'>logical</a> = <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L323' name='L323'></a> 323 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/227.html' title='Multiple used in 13 places.'>trace</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L324' name='L324'></a> 324 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 0 && <a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"no", "noauto"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L325' name='L325'></a> 325 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/227.html' title='Multiple used in 13 places.'>trace</a> = <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L326' name='L326'></a> 326 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L327' name='L327'></a> 327 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "#%04X: Register::::\n", <a href='../Y/217.html' title='Multiple used in 243 places.'>sys</a>-><a href='../Y/77.html' title='Multiple used in 218 places.'>cpu</a>-><a href='../Y/174.html' title='Multiple used in 110 places.'>pr</a>); <a id='L328' name='L328'></a> 328 <a href='../S/2840.html#L38' title='Defined at 38 in src/dump.c.'>dspregister</a>(); <a id='L329' name='L329'></a> 329 <em class='brace'>}</em> <a id='L330' name='L330'></a> 330 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"T", "tracelogical"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L331' name='L331'></a> 331 <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 0 && <a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"a", "auto"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L332' name='L332'></a> 332 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/136.html' title='Multiple used in 6 places.'>logical</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L333' name='L333'></a> 333 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/227.html' title='Multiple used in 13 places.'>trace</a> = <a href='../Y/228.html' title='Multiple used in 79 places.'>true</a>; <a id='L334' name='L334'></a> 334 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a> > 0 && <a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[0], 2, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"no", "noauto"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L335' name='L335'></a> 335 <a href='../Y/88.html' title='Multiple used in 35 places.'>execmode</a>.<a href='../Y/227.html' title='Multiple used in 13 places.'>trace</a> = <a href='../Y/92.html' title='Multiple used in 52 places.'>false</a>; <a id='L336' name='L336'></a> 336 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em> <a id='L337' name='L337'></a> 337 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "#%04X: Register::::\n", <a href='../Y/217.html' title='Multiple used in 243 places.'>sys</a>-><a href='../Y/77.html' title='Multiple used in 218 places.'>cpu</a>-><a href='../Y/174.html' title='Multiple used in 110 places.'>pr</a>); <a id='L338' name='L338'></a> 338 <a href='../S/2840.html#L38' title='Defined at 38 in src/dump.c.'>dspregister</a>(); <a id='L339' name='L339'></a> 339 <em class='brace'>}</em> <a id='L340' name='L340'></a> 340 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../S/2804.html#L182' title='Defined at 182 in src/monitor.c.'>stracmp</a>(<a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, 3, (<strong class='reserved'>char</strong>* [])<em class='brace'>{</em>"?", "h", "help"<em class='brace'>}</em>)) <em class='brace'>{</em> <a id='L341' name='L341'></a> 341 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "b[reak] -- Manipulate Breakpoints. See details, `b ?'.\n"); <a id='L342' name='L342'></a> 342 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "c[ontinue] -- Continue running your program.\n"); <a id='L343' name='L343'></a> 343 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "d[ump] -- Display memory dump. `d[ump] a[uto]/n[oauto]' set auto/noauto display.\n"); <a id='L344' name='L344'></a> 344 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "l[oad] -- Load object from a file to the memory. `l[oad] <filepath> <address>' if address is omitted, load to address 0.\n"); <a id='L345' name='L345'></a> 345 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "n[ext] -- Go next instruction.\n"); <a id='L346' name='L346'></a> 346 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "q[uit] -- Quit running your program.\n"); <a id='L347' name='L347'></a> 347 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "reset -- Reset the system.\n"); <a id='L348' name='L348'></a> 348 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "r[everse] -- Disassemble memory. `r[everse] <start address> <end address>.\n"); <a id='L349' name='L349'></a> 349 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "s[ave] -- Save object from the memory to a file. `s[ave] <filepath> [<start address1> [<end address>]]' if <start address> and <end address> is omitted, save the whole memory. if <end address> is omitted, save the memory after <start address>.\n"); <a id='L350' name='L350'></a> 350 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "t[race] -- Display CPU register. `t[race] a[uto]/n[oauto]' set auto/noauto display. \n"); <a id='L351' name='L351'></a> 351 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "T[race] -- Display CPU register as logical value. `t[race] a[uto]/n[oauto]' set auto/noauto display. \n"); <a id='L352' name='L352'></a> 352 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "?/h[elp] -- Display this help.\n"); <a id='L353' name='L353'></a> 353 <em class='brace'>}</em> <a id='L354' name='L354'></a> 354 <strong class='reserved'>return</strong> <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a>; <a id='L355' name='L355'></a> 355 <em class='brace'>}</em> <a id='L356' name='L356'></a> 356 <a id='L357' name='L357'></a> 357 <strong class='reserved'>void</strong> <a href='../S/2804.html#L406' title='Referred from 406 in src/monitor.c.'>free_moncmdline</a>(<a href='../S/2419.html#L32' title='Defined at 32 in include/monitor.h.'>MONCMDLINE</a> *<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>) <a id='L358' name='L358'></a> 358 <em class='brace'>{</em> <a id='L359' name='L359'></a> 359 <strong class='reserved'>int</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>; <a id='L360' name='L360'></a> 360 <a href='../Y/20.html' title='Multiple used in 22 places.'>assert</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>); <a id='L361' name='L361'></a> 361 <strong class='reserved'>if</strong>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L362' name='L362'></a> 362 <strong class='reserved'>for</strong>(<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> < <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/8.html' title='Multiple used in 38 places.'>argc</a>; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++) <em class='brace'>{</em> <a id='L363' name='L363'></a> 363 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>-><a href='../Y/10.html' title='Multiple used in 63 places.'>argv</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]); <a id='L364' name='L364'></a> 364 <em class='brace'>}</em> <a id='L365' name='L365'></a> 365 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>); <a id='L366' name='L366'></a> 366 <em class='brace'>}</em> <a id='L367' name='L367'></a> 367 <strong class='reserved'>if</strong>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L368' name='L368'></a> 368 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>); <a id='L369' name='L369'></a> 369 <em class='brace'>}</em> <a id='L370' name='L370'></a> 370 <strong class='reserved'>if</strong>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a> != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L371' name='L371'></a> 371 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>); <a id='L372' name='L372'></a> 372 <em class='brace'>}</em> <a id='L373' name='L373'></a> 373 <em class='brace'>}</em> <a id='L374' name='L374'></a> 374 <a id='L375' name='L375'></a> 375 <strong class='reserved'>int</strong> <a href='../S/2804.html#L410' title='Referred from 410 in src/monitor.c.'>monquit</a>() <a id='L376' name='L376'></a> 376 <em class='brace'>{</em> <a id='L377' name='L377'></a> 377 <strong class='reserved'>int</strong> <a href='../Y/197.html' title='Multiple used in 34 places.'>stat</a> = 0; <a id='L378' name='L378'></a> 378 <a href='../S/2856.html#L278' title='Defined at 278 in src/struct.c.'>shutdown</a>(); <a id='L379' name='L379'></a> 379 <a href='../S/2804.html#L116' title='Defined at 116 in src/monitor.c.'>freebps</a>(); <a id='L380' name='L380'></a> 380 <a href='../S/2856.html#L135' title='Defined at 135 in src/struct.c.'>free_cmdtable</a>(<a href='../S/2417.html#L61' title='Defined at 61 in include/struct.h.'>HASH_CMDTYPE</a>); <a id='L381' name='L381'></a> 381 <a href='../S/2856.html#L135' title='Defined at 135 in src/struct.c.'>free_cmdtable</a>(<a href='../S/2417.html#L62' title='Defined at 62 in include/struct.h.'>HASH_CODE</a>); <a id='L382' name='L382'></a> 382 <strong class='reserved'>if</strong>(<a href='../Y/32.html' title='Multiple used in 59 places.'>cerr</a>-><a href='../Y/157.html' title='Multiple used in 57 places.'>num</a> > 0) <em class='brace'>{</em> <a id='L383' name='L383'></a> 383 <a href='../Y/197.html' title='Multiple used in 34 places.'>stat</a> = 1; <a id='L384' name='L384'></a> 384 <em class='brace'>}</em> <a id='L385' name='L385'></a> 385 <a href='../S/2845.html#L72' title='Defined at 72 in src/cerr.c.'>freecerr</a>(); <a id='L386' name='L386'></a> 386 <strong class='reserved'>return</strong> <a href='../Y/197.html' title='Multiple used in 34 places.'>stat</a>; <a id='L387' name='L387'></a> 387 <em class='brace'>}</em> <a id='L388' name='L388'></a> 388 <a id='L389' name='L389'></a> 389 <strong class='reserved'>void</strong> <a href='../R/185.html' title='Multiple referred from 8 places.'>monitor</a>() <a id='L390' name='L390'></a> 390 <em class='brace'>{</em> <a id='L391' name='L391'></a> 391 <strong class='reserved'>char</strong> *<a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L392' name='L392'></a> 392 <a href='../S/2419.html#L32' title='Defined at 32 in include/monitor.h.'>MONCMDLINE</a> *<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>; <a id='L393' name='L393'></a> 393 <a href='../S/2419.html#L57' title='Defined at 57 in include/monitor.h.'>MONCMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2419.html#L54' title='Defined at 54 in include/monitor.h.'>MONREPEAT</a>; <a id='L394' name='L394'></a> 394 <a id='L395' name='L395'></a> 395 <strong class='reserved'>do</strong> <em class='brace'>{</em> <a id='L396' name='L396'></a> 396 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "%s ", <a href='../Y/149.html' title='Multiple used in 2 places.'>monitor_prompt</a>); <a id='L397' name='L397'></a> 397 <a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a> = <a href='../S/2831.html#L3' title='Defined at 3 in src/cmem.c.'>malloc_chk</a>(<a href='../S/2419.html#L50' title='Defined at 50 in include/monitor.h.'>MONINSIZE</a> + 1, "monitor.buf"); <a id='L398' name='L398'></a> 398 <a href='../Y/95.html' title='Multiple used in 3 places.'>fgets</a>(<a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a>, <a href='../S/2419.html#L50' title='Defined at 50 in include/monitor.h.'>MONINSIZE</a>, <a href='../Y/199.html' title='Multiple used in 2 places.'>stdin</a>); <a id='L399' name='L399'></a> 399 <strong class='reserved'>if</strong>(!<a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a>[0]) <em class='brace'>{</em> <a id='L400' name='L400'></a> 400 <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2419.html#L56' title='Defined at 56 in include/monitor.h.'>MONQUIT</a>; <a id='L401' name='L401'></a> 401 <em class='brace'>}</em> <a id='L402' name='L402'></a> 402 <a href='../S/2831.html#L48' title='Defined at 48 in src/cmem.c.'>strip_end</a>(<a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a>); <em class='comment'>/* 文字列末尾の改行と空白を削除 */</em> <a id='L403' name='L403'></a> 403 <a href='../Y/102.html' title='Multiple used in 115 places.'>fprintf</a>(<a href='../Y/200.html' title='Multiple used in 93 places.'>stdout</a>, "%s\n", <a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a>); <a id='L404' name='L404'></a> 404 <strong class='reserved'>if</strong>((<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a> = <a href='../S/2804.html#L146' title='Defined at 146 in src/monitor.c.'>monlinetok</a>(<a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a>)) != <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L405' name='L405'></a> 405 <a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> = <a href='../S/2804.html#L287' title='Defined at 287 in src/monitor.c.'>monitorcmd</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/59.html' title='Multiple used in 86 places.'>cmd</a>, <a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>-><a href='../Y/9.html' title='Multiple used in 29 places.'>args</a>); <a id='L406' name='L406'></a> 406 <a href='../S/2804.html#L357' title='Defined at 357 in src/monitor.c.'>free_moncmdline</a>(<a href='../Y/148.html' title='Multiple used in 21 places.'>moncmdl</a>); <a id='L407' name='L407'></a> 407 <em class='brace'>}</em> <a id='L408' name='L408'></a> 408 <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/28.html' title='Multiple used in 13 places.'>buf</a>); <a id='L409' name='L409'></a> 409 <strong class='reserved'>if</strong>(<a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> == <a href='../S/2419.html#L56' title='Defined at 56 in include/monitor.h.'>MONQUIT</a>) <em class='brace'>{</em> <a id='L410' name='L410'></a> 410 <a href='../Y/90.html' title='Multiple used in 8 places.'>exit</a>(<a href='../S/2804.html#L375' title='Defined at 375 in src/monitor.c.'>monquit</a>()); <a id='L411' name='L411'></a> 411 <em class='brace'>}</em> <a id='L412' name='L412'></a> 412 <em class='brace'>}</em> <strong class='reserved'>while</strong>(<a href='../Y/66.html' title='Multiple used in 27 places.'>cmdtype</a> == <a href='../S/2419.html#L54' title='Defined at 54 in include/monitor.h.'>MONREPEAT</a>); <a id='L413' name='L413'></a> 413 <em class='brace'>}</em> </pre> <hr /> <a id='BOTTOM' name='BOTTOM'></a> <em class='comment'>/* [<][>]<a href='#L13'>[^]</a><a href='#L389'>[v]</a><a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> </body> </html>