From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32149 invoked by alias); 18 Mar 2013 03:10:56 -0000 Received: (qmail 32139 invoked by uid 22791); 18 Mar 2013 03:10:55 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_SQ X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Mar 2013 03:10:47 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UHQTG-0002F0-AS from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Sun, 17 Mar 2013 20:10:46 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 17 Mar 2013 20:10:45 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Sun, 17 Mar 2013 20:10:45 -0700 From: Yao Qi To: Subject: [PATCH] Remove doc on OpenRISC 1000 Date: Mon, 18 Mar 2013 03:45:00 -0000 Message-ID: <1363576183-5544-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00707.txt.bz2 Hi, I happen to see the doc on "OpenRISC 1000" today, but it is not supported in FSF GDB. This patch is to remove the doc bits. The doc patch was approved in this thread http://sourceware.org/ml/gdb-patches/2002-09/msg00573.html but I don't find when the c code (such as or1k-tdep.c) was approved and committed. The OpenRISC stuff still exists in "GDB Internals", but I leave them there as it is still useful. Is it OK? gdb/doc: 2013-03-18 Yao Qi * gdb.texinfo (Embedded Processors): Remove menu item "OpenRISC 1000". (OpenRISC 1000): Remove. --- gdb/doc/gdb.texinfo | 115 --------------------------------------------------- 1 files changed, 0 insertions(+), 115 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index c92b667..7a4751c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -19862,7 +19862,6 @@ acceptable commands. * M68K:: Motorola M68K * MicroBlaze:: Xilinx MicroBlaze * MIPS Embedded:: MIPS Embedded -* OpenRISC 1000:: OpenRisc 1000 * PowerPC Embedded:: PowerPC Embedded * PA:: HP PA Embedded * Sparclet:: Tsqware Sparclet @@ -20336,120 +20335,6 @@ This command allows sending an arbitrary @var{command} string to the monitor. The monitor must be in debug mode for this to work. @end table -@node OpenRISC 1000 -@subsection OpenRISC 1000 -@cindex OpenRISC 1000 - -@cindex or1k boards -See OR1k Architecture document (@uref{www.opencores.org}) for more information -about platform and commands. - -@table @code - -@kindex target jtag -@item target jtag jtag://@var{host}:@var{port} - -Connects to remote JTAG server. -JTAG remote server can be either an or1ksim or JTAG server, -connected via parallel port to the board. - -Example: @code{target jtag jtag://localhost:9999} - -@kindex or1ksim -@item or1ksim @var{command} -If connected to @code{or1ksim} OpenRISC 1000 Architectural -Simulator, proprietary commands can be executed. - -@kindex info or1k spr -@item info or1k spr -Displays spr groups. - -@item info or1k spr @var{group} -@itemx info or1k spr @var{groupno} -Displays register names in selected group. - -@item info or1k spr @var{group} @var{register} -@itemx info or1k spr @var{register} -@itemx info or1k spr @var{groupno} @var{registerno} -@itemx info or1k spr @var{registerno} -Shows information about specified spr register. - -@kindex spr -@item spr @var{group} @var{register} @var{value} -@itemx spr @var{register @var{value}} -@itemx spr @var{groupno} @var{registerno @var{value}} -@itemx spr @var{registerno @var{value}} -Writes @var{value} to specified spr register. -@end table - -Some implementations of OpenRISC 1000 Architecture also have hardware trace. -It is very similar to @value{GDBN} trace, except it does not interfere with normal -program execution and is thus much faster. Hardware breakpoints/watchpoint -triggers can be set using: -@table @code -@item $LEA/$LDATA -Load effective address/data -@item $SEA/$SDATA -Store effective address/data -@item $AEA/$ADATA -Access effective address ($SEA or $LEA) or data ($SDATA/$LDATA) -@item $FETCH -Fetch data -@end table - -When triggered, it can capture low level data, like: @code{PC}, @code{LSEA}, -@code{LDATA}, @code{SDATA}, @code{READSPR}, @code{WRITESPR}, @code{INSTR}. - -@code{htrace} commands: -@cindex OpenRISC 1000 htrace -@table @code -@kindex hwatch -@item hwatch @var{conditional} -Set hardware watchpoint on combination of Load/Store Effective Address(es) -or Data. For example: - -@code{hwatch ($LEA == my_var) && ($LDATA < 50) || ($SEA == my_var) && ($SDATA >= 50)} - -@code{hwatch ($LEA == my_var) && ($LDATA < 50) || ($SEA == my_var) && ($SDATA >= 50)} - -@kindex htrace -@item htrace info -Display information about current HW trace configuration. - -@item htrace trigger @var{conditional} -Set starting criteria for HW trace. - -@item htrace qualifier @var{conditional} -Set acquisition qualifier for HW trace. - -@item htrace stop @var{conditional} -Set HW trace stopping criteria. - -@item htrace record [@var{data}]* -Selects the data to be recorded, when qualifier is met and HW trace was -triggered. - -@item htrace enable -@itemx htrace disable -Enables/disables the HW trace. - -@item htrace rewind [@var{filename}] -Clears currently recorded trace data. - -If filename is specified, new trace file is made and any newly collected data -will be written there. - -@item htrace print [@var{start} [@var{len}]] -Prints trace buffer, using current record configuration. - -@item htrace mode continuous -Set continuous trace mode. - -@item htrace mode suspend -Set suspend trace mode. - -@end table - @node PowerPC Embedded @subsection PowerPC Embedded -- 1.7.7.6