Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: native_client_sdk/src/doc/devguide/devcycle/debugging.rst

Issue 227473010: [NaCl SDK Docs] Add release notes for Chrome 34 and 35. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback, also merge master Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 .. _devcycle-debugging: 1 .. _devcycle-debugging:
2 2
3 ######### 3 #########
4 Debugging 4 Debugging
5 ######### 5 #########
6 6
7 This document describes tools and techniques you can use to debug, monitor, 7 This document describes tools and techniques you can use to debug, monitor,
8 and measure your application's performance. 8 and measure your application's performance.
9 9
10 .. contents:: Table Of Contents 10 .. contents:: Table Of Contents
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 <http://www.gnu.org/software/gdb/>`_, and is located at 207 <http://www.gnu.org/software/gdb/>`_, and is located at
208 ``toolchain/<platform>_x86_newlib/bin/x86_64-nacl-gdb`` (where *<platform>* 208 ``toolchain/<platform>_x86_newlib/bin/x86_64-nacl-gdb`` (where *<platform>*
209 is the platform of your development machine: ``win``, ``mac``, or 209 is the platform of your development machine: ``win``, ``mac``, or
210 ``linux``). 210 ``linux``).
211 211
212 Note that this same copy of GDB can be used to debug any NaCl program, 212 Note that this same copy of GDB can be used to debug any NaCl program,
213 whether built using newlib or glibc for x86-32, x86-64 or ARM. In the SDK, 213 whether built using newlib or glibc for x86-32, x86-64 or ARM. In the SDK,
214 ``i686-nacl-gdb`` is an alias for ``x86_64-nacl-gdb``, and the ``newlib`` 214 ``i686-nacl-gdb`` is an alias for ``x86_64-nacl-gdb``, and the ``newlib``
215 and ``glibc`` toolchains both contain the same version of GDB. 215 and ``glibc`` toolchains both contain the same version of GDB.
216 216
217 .. _debugging_pnacl_pexes:
218
217 Debugging PNaCl pexes (with Pepper 35+) 219 Debugging PNaCl pexes (with Pepper 35+)
218 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 221
220 If you want to use GDB to debug a program that is compiled with the PNaCl 222 If you want to use GDB to debug a program that is compiled with the PNaCl
221 toolchain, you must have a copy of the pexe from **before** running 223 toolchain, you must have a copy of the pexe from **before** running
222 ``pnacl-finalize``. The ``pnacl-finalize`` tool converts LLVM bitcode 224 ``pnacl-finalize``. The ``pnacl-finalize`` tool converts LLVM bitcode
223 to the stable PNaCl bitcode format, but it also strips out debug 225 to the stable PNaCl bitcode format, but it also strips out debug
224 metadata, which we need for debugging. 226 metadata, which we need for debugging.
225 227
226 **Note** unlike the finalized copy of the pexe, the non-finalized debug copy 228 **Note** unlike the finalized copy of the pexe, the non-finalized debug copy
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 <http://www.chromium.org/nativeclient>`_ that describe how to do profiling on 590 <http://www.chromium.org/nativeclient>`_ that describe how to do profiling on
589 `64-bit Windows 591 `64-bit Windows
590 <https://sites.google.com/a/chromium.org/dev/nativeclient/how-tos/profiling-nacl -apps-on-64-bit-windows>`_ 592 <https://sites.google.com/a/chromium.org/dev/nativeclient/how-tos/profiling-nacl -apps-on-64-bit-windows>`_
591 and `Linux 593 and `Linux
592 <http://www.chromium.org/nativeclient/how-tos/limited-profiling-with-oprofile-on -x86-64>`_ 594 <http://www.chromium.org/nativeclient/how-tos/limited-profiling-with-oprofile-on -x86-64>`_
593 machines. 595 machines.
594 596
595 597
596 .. |menu-icon| image:: /images/menu-icon.png 598 .. |menu-icon| image:: /images/menu-icon.png
597 .. |puzzle| image:: /images/puzzle.png 599 .. |puzzle| image:: /images/puzzle.png
OLDNEW
« no previous file with comments | « native_client_sdk/src/doc/devguide/devcycle/building.rst ('k') | native_client_sdk/src/doc/pepper_beta/c/index.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698