blob: da3df743a7575394bd71ede28281443bca44d06f [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 1988-2015 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Free Software" and "Free Software Needs
Free Documentation", with the Front-Cover Texts being "A GNU Manual,"
and with the Back-Cover Texts as in (a) below.
(a) The FSF's Back-Cover Text is: "You are free to copy and modify
this GNU Manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom." -->
<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
<head>
<title>Debugging with GDB: M32R/D</title>
<meta name="description" content="Debugging with GDB: M32R/D">
<meta name="keywords" content="Debugging with GDB: M32R/D">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Embedded-Processors.html#Embedded-Processors" rel="up" title="Embedded Processors">
<link href="M68K.html#M68K" rel="next" title="M68K">
<link href="ARM.html#ARM" rel="prev" title="ARM">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.indentedblock {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
div.smalllisp {margin-left: 3.2em}
kbd {font-style:oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space:nowrap}
span.nolinebreak {white-space:nowrap}
span.roman {font-family:serif; font-weight:normal}
span.sansserif {font-family:sans-serif; font-weight:normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="M32R_002fD"></a>
<div class="header">
<p>
Next: <a href="M68K.html#M68K" accesskey="n" rel="next">M68K</a>, Previous: <a href="ARM.html#ARM" accesskey="p" rel="prev">ARM</a>, Up: <a href="Embedded-Processors.html#Embedded-Processors" accesskey="u" rel="up">Embedded Processors</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Renesas-M32R_002fD-and-M32R_002fSDI"></a>
<h4 class="subsection">21.3.2 Renesas M32R/D and M32R/SDI</h4>
<dl compact="compact">
<dd><a name="index-target-m32r"></a>
</dd>
<dt><code>target m32r <var>dev</var></code></dt>
<dd><p>Renesas M32R/D ROM monitor.
</p>
<a name="index-target-m32rsdi"></a>
</dd>
<dt><code>target m32rsdi <var>dev</var></code></dt>
<dd><p>Renesas M32R SDI server, connected via parallel port to the board.
</p></dd>
</dl>
<p>The following <small>GDB</small> commands are specific to the M32R monitor:
</p>
<dl compact="compact">
<dt><code>set download-path <var>path</var></code></dt>
<dd><a name="index-set-download_002dpath"></a>
<a name="index-find-downloadable-SREC-files-_0028M32R_0029"></a>
<p>Set the default path for finding downloadable <small>SREC</small> files.
</p>
</dd>
<dt><code>show download-path</code></dt>
<dd><a name="index-show-download_002dpath"></a>
<p>Show the default path for downloadable <small>SREC</small> files.
</p>
</dd>
<dt><code>set board-address <var>addr</var></code></dt>
<dd><a name="index-set-board_002daddress"></a>
<a name="index-M32_002dEVA-target-board-address"></a>
<p>Set the IP address for the M32R-EVA target board.
</p>
</dd>
<dt><code>show board-address</code></dt>
<dd><a name="index-show-board_002daddress"></a>
<p>Show the current IP address of the target board.
</p>
</dd>
<dt><code>set server-address <var>addr</var></code></dt>
<dd><a name="index-set-server_002daddress"></a>
<a name="index-download-server-address-_0028M32R_0029"></a>
<p>Set the IP address for the download server, which is the <small>GDB</small>&rsquo;s
host machine.
</p>
</dd>
<dt><code>show server-address</code></dt>
<dd><a name="index-show-server_002daddress"></a>
<p>Display the IP address of the download server.
</p>
</dd>
<dt><code>upload <span class="roman">[</span><var>file</var><span class="roman">]</span></code></dt>
<dd><a name="index-upload_002c-M32R"></a>
<p>Upload the specified <small>SREC</small> <var>file</var> via the monitor&rsquo;s Ethernet
upload capability. If no <var>file</var> argument is given, the current
executable file is uploaded.
</p>
</dd>
<dt><code>tload <span class="roman">[</span><var>file</var><span class="roman">]</span></code></dt>
<dd><a name="index-tload_002c-M32R"></a>
<p>Test the <code>upload</code> command.
</p></dd>
</dl>
<p>The following commands are available for M32R/SDI:
</p>
<dl compact="compact">
<dt><code>sdireset</code></dt>
<dd><a name="index-sdireset"></a>
<a name="index-reset-SDI-connection_002c-M32R"></a>
<p>This command resets the SDI connection.
</p>
</dd>
<dt><code>sdistatus</code></dt>
<dd><a name="index-sdistatus"></a>
<p>This command shows the SDI connection status.
</p>
</dd>
<dt><code>debug_chaos</code></dt>
<dd><a name="index-debug_005fchaos"></a>
<a name="index-M32R_002fChaos-debugging"></a>
<p>Instructs the remote that M32R/Chaos debugging is to be used.
</p>
</dd>
<dt><code>use_debug_dma</code></dt>
<dd><a name="index-use_005fdebug_005fdma"></a>
<p>Instructs the remote to use the DEBUG_DMA method of accessing memory.
</p>
</dd>
<dt><code>use_mon_code</code></dt>
<dd><a name="index-use_005fmon_005fcode"></a>
<p>Instructs the remote to use the MON_CODE method of accessing memory.
</p>
</dd>
<dt><code>use_ib_break</code></dt>
<dd><a name="index-use_005fib_005fbreak"></a>
<p>Instructs the remote to set breakpoints by IB break.
</p>
</dd>
<dt><code>use_dbt_break</code></dt>
<dd><a name="index-use_005fdbt_005fbreak"></a>
<p>Instructs the remote to set breakpoints by DBT.
</p></dd>
</dl>
<hr>
<div class="header">
<p>
Next: <a href="M68K.html#M68K" accesskey="n" rel="next">M68K</a>, Previous: <a href="ARM.html#ARM" accesskey="p" rel="prev">ARM</a>, Up: <a href="Embedded-Processors.html#Embedded-Processors" accesskey="u" rel="up">Embedded Processors</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>