This file documents the GNU debugger ROCGDB.
This is the Tenth Edition, of Debugging with ROCGDB: the GNU Source-Level Debugger for ROCGDB (rocm-rel-5.3-63) Version 12.1.
Copyright © 1988-2022 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.”
Disclaimer
The information contained herein is for informational purposes only, and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD’s products are as set forth in a signed agreement between the parties or in AMD’s Standard Terms and Conditions of Sale.
AMD®, the AMD Arrow logo, AMD Instinct®, Radeon®, ROCm® and combinations thereof are trademarks of Advanced Micro Devices, Inc. Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries. PCIe® is a registered trademark of PCI-SIG Corporation. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
Copyright © 2019-2022 Advanced Micro Devices, Inc. All rights reserved.
This file describes ROCGDB, the GNU symbolic debugger.
This is the Tenth Edition, for ROCGDB (rocm-rel-5.3-63) Version 12.1.
Copyright (C) 1988-2022 Free Software Foundation, Inc.
This edition of the GDB manual is dedicated to the memory of Fred Fish. Fred was a long-standing contributor to GDB and to Free software in general. We will miss him.
• Summary | Summary of ROCGDB | |
• Sample Session | A sample ROCGDB session | |
• Invocation | Getting in and out of ROCGDB | |
• Commands | ROCGDB commands | |
• Running | Running programs under ROCGDB | |
• Stopping | Stopping and continuing | |
• Reverse Execution | Running programs backward | |
• Process Record and Replay | Recording inferior’s execution and replaying it | |
• Stack | Examining the stack | |
• Source | Examining source files | |
• Data | Examining data | |
• Optimized Code | Debugging optimized code | |
• Macros | Preprocessor Macros | |
• Tracepoints | Debugging remote targets non-intrusively | |
• Overlays | Debugging programs that use overlays | |
• Languages | Using ROCGDB with different languages | |
• Symbols | Examining the symbol table | |
• Altering | Altering execution | |
• GDB Files | ROCGDB files | |
• Targets | Specifying a debugging target | |
• Heterogeneous Debugging | Debugging Heterogeneous Programs | |
• Remote Debugging | Debugging remote programs | |
• Configurations | Configuration-specific information | |
• Controlling GDB | Controlling ROCGDB | |
• Extending GDB | Extending ROCGDB | |
• Interpreters | Command Interpreters | |
• TUI | ROCGDB Text User Interface | |
• Emacs | Using ROCGDB under GNU Emacs | |
• GDB/MI | ROCGDB’s Machine Interface. | |
• Annotations | ROCGDB’s annotation interface. | |
• JIT Interface | Using the JIT debugging interface. | |
• In-Process Agent | In-Process Agent | |
• GDB Bugs | Reporting bugs in ROCGDB | |
• Command Line Editing | Command Line Editing | |
• Using History Interactively | Using History Interactively | |
• In Memoriam | In Memoriam | |
• Formatting Documentation | How to format and print ROCGDB documentation | |
• Installing GDB | Installing ROCGDB | |
• Maintenance Commands | Maintenance Commands | |
• Remote Protocol | GDB Remote Serial Protocol | |
• Agent Expressions | The ROCGDB Agent Expression Mechanism | |
• Target Descriptions | How targets can describe themselves to ROCGDB | |
• Operating System Information | Getting additional information from the operating system | |
• Trace File Format | ROCGDB trace file format | |
• Index Section Format | .gdb_index section format | |
• Debuginfod | Download debugging resources with debuginfod
| |
• Man Pages | Manual pages | |
• Copying | GNU General Public License says how you can copy and share ROCGDB | |
• GNU Free Documentation License | The license for this documentation | |
• Concept Index | Index of ROCGDB concepts | |
• Command and Variable Index | Index of ROCGDB commands, variables, functions, and Python data types |
.gdb_index
section format