From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22551 invoked by alias); 24 Sep 2002 12:03:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22542 invoked from network); 24 Sep 2002 12:03:07 -0000 Received: from unknown (HELO www.lampret.com) (193.189.173.98) by sources.redhat.com with SMTP; 24 Sep 2002 12:03:07 -0000 Received: from vili ([212.118.94.130]) by www.lampret.com (8.11.6/8.11.6) with ESMTP id g8OEgCQ25892; Tue, 24 Sep 2002 13:42:12 -0100 Content-Type: text/plain; charset="iso-8859-1" From: Marko Mlinar To: Eli Zaretskii Subject: Re: Merging OC gdb with official gdb Date: Tue, 24 Sep 2002 05:03:00 -0000 User-Agent: KMail/1.4.1 Cc: gdb-patches@sources.redhat.com References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200209241402.36048.markom@opencores.org> X-SW-Source: 2002-09/txt/msg00573.txt.bz2 Eli, thanks for your help. I've corrected mentioned problems; see below if it is ok: Index: gdb.texinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.124 diff -c -3 -p -r1.124 gdb.texinfo *** gdb.texinfo 21 Sep 2002 00:29:04 -0000 1.124 --- gdb.texinfo 24 Sep 2002 06:06:47 -0000 *************** Michael Tiemann contributed SPARC suppor *** 394,399 **** --- 394,400 ---- Tim Tucker contributed support for the Gould NP1 and Gould Powernode. Pace Willison contributed Intel 386 support. Jay Vosburgh contributed Symmetry support. + Marko Mlinar contributed OpenRISC 1000 support. Andreas Schwab contributed M68K Linux support. *************** configurations. *** 11650,11655 **** --- 11651,11657 ---- * M68K:: Motorola M68K @c OBSOLETE * M88K:: Motorola M88K * MIPS Embedded:: MIPS Embedded + * OpenRISC 1000:: OpenRisc 1000 * PA:: HP PA Embedded * PowerPC: PowerPC * SH:: Hitachi SH *************** The timeout set by @code{set timeout} do *** 12236,12241 **** --- 12238,12367 ---- is waiting for your program to stop. In that case, @value{GDBN} waits forever because it has no way of knowing how long the program is going to run before stopping. + @end table + + @node OpenRISC 1000 + @subsection OpenRISC 1000 + @cindex OpenRISC 1000 + + @cindex or1k boards + See OR1k Architecture document (@uref{www.opencores.org}) for more=20 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 tra= ce. + It is very similar to @value{GDBN} trace, except it does not interfere wi= th=20 normal + program execution and is thus much faster. Hardware breakpoints/watchpoi= nt + 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{LSE= A}, + @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 Effecive Address(es) + or Data. For example: + + @code{hwatch ($LEA =3D=3D my_var) && ($LDATA < 50) || ($SEA =3D=3D my_var= ) &&=20 ($SDATA >=3D 50)} + + @code{hwatch ($LEA =3D=3D my_var) && ($LDATA < 50) || ($SEA =3D=3D my_var= ) &&=20 ($SDATA >=3D 50)} + + @kindex htrace info + @item htrace info + Display information about current HW trace configuration. + + @kindex htrace trigger + @item htrace trigger @var{conditional} + Set starting criteria for HW trace. + + @kindex htrace qualifier + @item htrace qualifier @var{conditional} + Set acquisition qualifier for HW trace. + + @kindex htrace stop + @item htrace stop @var{conditional} + Set HW trace stopping criteria. + + @kindex htrace record + @item htrace record @var{[data]*} + Selects the data to be recorded, when qualifier is met and HW trace was + triggered. + + @kindex htrace enable + @item htrace enable + @kindex htrace disable + @itemx htrace disable + Enables/disables the HW trace. + + @kindex htrace rewind + @item htrace rewind @var{[filename]} + Clears currently recorded trace data. + + If filename is specified, new trace file is made and any newly collected= =20 data + will be written there. + + @kindex htrace print + @item htrace print @var{[start [len]]} + Prints trace buffer, using current record configuration. + + @kindex htrace mode continuous + @item htrace mode continuous + Set continuous trace mode. + + @kindex htrace mode suspend + @item htrace mode suspend + Set suspend trace mode. + @end table @node PowerPC