GDBINIT(5)

๐Ÿ“ฆ
version 7.2.4 ยท 2 versions
, in arch rolling

๐ŸŽ€ GDBINIT(5) ๐ŸŽ€

ok so this is a page from the GNU Development Tools manual โ€” it's about gdbinit, the lil startup scripts that make ROCGDB do stuff automatically. bestie, buckle up ๐Ÿ’…


โœจ NAME โœจ

gdbinit โ€” GDB initialization scripts. that's it, that's the whole vibe ๐ŸŒธ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

~/.config/gdb/gdbinit
~/.gdbinit
./.gdbinit

๐Ÿ’– DESCRIPTION ๐Ÿ’–

okay so these files are literally full of ROCGDB commands that get auto-executed while ROCGDB is starting up โœจ. the lines of contents are canned sequences of commands โ€” that's the official wording, and they're described in the ROCGDB manual in node "Sequences" โ€” shell command info -f gdb -n Sequences.

please read more in the ROCGDB manual in node "Startup" โ€” shell command info -f gdb -n Startup. like, actually read it, i'm not joking ๐Ÿซถ

  • (not enabled with --with-system-gdbinit during compilation) โ€” system-wide initialization file ๐ŸŒˆ. it gets executed unless the user specified ROCGDB option -nx or -n. see more in the ROCGDB manual in node "System-wide configuration" โ€” shell command info -f gdb -n 'System-wide configuration'.
  • (not enabled with --with-system-gdbinit-dir during compilation) โ€” system-wide initialization directory โญ. all files in this directory are executed on startup unless the user specified ROCGDB option -nx or -n, as long as they have a recognized file extension ๐Ÿ”ฅ. see more in the ROCGDB manual in node "System-wide configuration" โ€” shell command info -f gdb -n 'System-wide configuration'.
  • ~/.config/gdb/gdbinit or ~/.gdbinit โ€” user initialization file ๐Ÿ’œ. it gets executed unless the user specified ROCGDB options -nx, -n or -nh.
  • .gdbinit โ€” initialization file for the current directory ๐ŸŽ€. it may need to be enabled with ROCGDB security command set auto-load local-gdbinit (yes, security, pay attention ๐Ÿ‘€). see more in the ROCGDB manual in node "Init File in the Current Directory" โ€” shell command info -f gdb -n 'Init File in the Current Directory'.

๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

(empty. nothing here. the void. moving on ๐Ÿ’€)


๐Ÿงš ENVIRONMENT ๐Ÿงš

(also empty, iconic behavior, we respect it โœจ)


๐Ÿ“ SEE ALSO ๐Ÿ“

  • gdb(1), "info -f gdb -n Startup"

the full documentation for ROCGDB is maintained as a Texinfo manual ๐Ÿ“š. if the "info" and "gdb" programs and ROCGDB's Texinfo documentation are properly installed at your site, the command

info gdb

should give you access to the complete manual ๐Ÿซถ.

also: Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch, July 1991 โ€” a classic, an absolute legend, we stan ๐ŸŒŸ


Copyright ยฉ 1988-2024 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. no cap, that's the license, keep it intact.

(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."

AMD ROCm software is made available by Advanced Micro Devices, Inc. under the open source license identified in the top-level directory for the library in the repository on @url{https://github.com/ROCm/,Github.com} (Portions of AMD ROCm software are licensed under MITx11 and UIL/NCSA. For more information on the license, review the license.txt in the top-level directory for the library on @url{https://github.com/ROCm/,Github.com}). The additional terms and conditions below apply to your use of AMD ROCm technical documentation.

ยฉ2019-2024 Advanced Micro Devices, Inc. All rights reserved.

The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions, and typographical errors. The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard version changes, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated. AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes.

THIS INFORMATION IS PROVIDED "AS IS." AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS, OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY RELIANCE, DIRECT, INDIRECT, SPECIAL, OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

AMD, the AMD Arrow logo, AMD Instinctโ„ข, Radeonโ„ข, AMD 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.


okay that's the whole page bestie, mwah ๐Ÿ’‹ this one's from version gdb-16.3, dated 2026-05-31 โ€” go forth and configure your startup scripts, i believe in you ๐Ÿฆ‹๐Ÿ’–

๐Ÿ“ฆ where this page comes from