• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/gdb/
1<html lang="en">
2<head>
3<title>M32R/D - Debugging with GDB</title>
4<meta http-equiv="Content-Type" content="text/html">
5<meta name="description" content="Debugging with GDB">
6<meta name="generator" content="makeinfo 4.13">
7<link title="Top" rel="start" href="index.html#Top">
8<link rel="up" href="Embedded-Processors.html#Embedded-Processors" title="Embedded Processors">
9<link rel="prev" href="ARM.html#ARM" title="ARM">
10<link rel="next" href="M68K.html#M68K" title="M68K">
11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12<!--
13Copyright (C) 1988-2013 Free Software Foundation, Inc.
14
15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with the
18Invariant Sections being ``Free Software'' and ``Free Software Needs
19Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,''
20and with the Back-Cover Texts as in (a) below.
21
22(a) The FSF's Back-Cover Text is: ``You are free to copy and modify
23this GNU Manual.  Buying copies from GNU Press supports the FSF in
24developing GNU and promoting software freedom.''
25-->
26<meta http-equiv="Content-Style-Type" content="text/css">
27<style type="text/css"><!--
28  pre.display { font-family:inherit }
29  pre.format  { font-family:inherit }
30  pre.smalldisplay { font-family:inherit; font-size:smaller }
31  pre.smallformat  { font-family:inherit; font-size:smaller }
32  pre.smallexample { font-size:smaller }
33  pre.smalllisp    { font-size:smaller }
34  span.sc    { font-variant:small-caps }
35  span.roman { font-family:serif; font-weight:normal; } 
36  span.sansserif { font-family:sans-serif; font-weight:normal; } 
37--></style>
38<link rel="stylesheet" type="text/css" href="../cs.css">
39</head>
40<body>
41<div class="node">
42<a name="M32R%2fD"></a>
43<a name="M32R_002fD"></a>
44<p>
45Next:&nbsp;<a rel="next" accesskey="n" href="M68K.html#M68K">M68K</a>,
46Previous:&nbsp;<a rel="previous" accesskey="p" href="ARM.html#ARM">ARM</a>,
47Up:&nbsp;<a rel="up" accesskey="u" href="Embedded-Processors.html#Embedded-Processors">Embedded Processors</a>
48<hr>
49</div>
50
51<h4 class="subsection">21.3.2 Renesas M32R/D and M32R/SDI</h4>
52
53     
54<a name="index-target-m32r-1421"></a>
55<dl><dt><code>target m32r </code><var>dev</var><dd>Renesas M32R/D ROM monitor.
56
57     <p><a name="index-target-m32rsdi-1422"></a><br><dt><code>target m32rsdi </code><var>dev</var><dd>Renesas M32R SDI server, connected via parallel port to the board. 
58</dl>
59
60   <p>The following <span class="sc">gdb</span> commands are specific to the M32R monitor:
61
62     <dl>
63<dt><code>set download-path </code><var>path</var><dd><a name="index-set-download_002dpath-1423"></a><a name="index-find-downloadable-_0040sc_007bsrec_007d-files-_0028M32R_0029-1424"></a>Set the default path for finding downloadable <span class="sc">srec</span> files.
64
65     <br><dt><code>show download-path</code><dd><a name="index-show-download_002dpath-1425"></a>Show the default path for downloadable <span class="sc">srec</span> files.
66
67     <br><dt><code>set board-address </code><var>addr</var><dd><a name="index-set-board_002daddress-1426"></a><a name="index-M32_002dEVA-target-board-address-1427"></a>Set the IP address for the M32R-EVA target board.
68
69     <br><dt><code>show board-address</code><dd><a name="index-show-board_002daddress-1428"></a>Show the current IP address of the target board.
70
71     <br><dt><code>set server-address </code><var>addr</var><dd><a name="index-set-server_002daddress-1429"></a><a name="index-download-server-address-_0028M32R_0029-1430"></a>Set the IP address for the download server, which is the <span class="sc">gdb</span>'s
72host machine.
73
74     <br><dt><code>show server-address</code><dd><a name="index-show-server_002daddress-1431"></a>Display the IP address of the download server.
75
76     <br><dt><code>upload </code><span class="roman">[</span><var>file</var><span class="roman">]</span><dd><a name="index-upload_0040r_007b_002c-M32R_007d-1432"></a>Upload the specified <span class="sc">srec</span> <var>file</var> via the monitor's Ethernet
77upload capability.  If no <var>file</var> argument is given, the current
78executable file is uploaded.
79
80     <br><dt><code>tload </code><span class="roman">[</span><var>file</var><span class="roman">]</span><dd><a name="index-tload_0040r_007b_002c-M32R_007d-1433"></a>Test the <code>upload</code> command. 
81</dl>
82
83   <p>The following commands are available for M32R/SDI:
84
85     <dl>
86<dt><code>sdireset</code><dd><a name="index-sdireset-1434"></a><a name="index-reset-SDI-connection_002c-M32R-1435"></a>This command resets the SDI connection.
87
88     <br><dt><code>sdistatus</code><dd><a name="index-sdistatus-1436"></a>This command shows the SDI connection status.
89
90     <br><dt><code>debug_chaos</code><dd><a name="index-debug_005fchaos-1437"></a><a name="index-M32R_002fChaos-debugging-1438"></a>Instructs the remote that M32R/Chaos debugging is to be used.
91
92     <br><dt><code>use_debug_dma</code><dd><a name="index-use_005fdebug_005fdma-1439"></a>Instructs the remote to use the DEBUG_DMA method of accessing memory.
93
94     <br><dt><code>use_mon_code</code><dd><a name="index-use_005fmon_005fcode-1440"></a>Instructs the remote to use the MON_CODE method of accessing memory.
95
96     <br><dt><code>use_ib_break</code><dd><a name="index-use_005fib_005fbreak-1441"></a>Instructs the remote to set breakpoints by IB break.
97
98     <br><dt><code>use_dbt_break</code><dd><a name="index-use_005fdbt_005fbreak-1442"></a>Instructs the remote to set breakpoints by DBT. 
99</dl>
100
101   </body></html>
102
103