Man page - gdbinit(5)

Available languages:

en ja

Manual

GDBINIT

名 前
書 式
説 明
オ プ シ ョ ン
関 連 項 目
著 作 権

名 前

gdbinit - GDB 初 期 化 ス ク リ プ ト

書 式

˜/.config/gdb/gdbinit

˜/.gdbinit

./.gdbinit

説 明

こ れ ら の フ ァ イ ル に は 、 GDB の 起 動 時 に 自 動 的 に 実 行 す る GDB コ マ ン ド が 含 ま れ て い ま す 。 フ ァ イ ル 中 の 行 は 、 GDB マ ニ ュ ア ル の "Sequences" -- shell command "info -f gdb -n Sequences" に 記 載 さ れ て い る コ マ ン ド を 、 予 め ま と め た シ ー ケ ン ス で す 。

詳 細 に つ い て は 、 GDB manual in node "Startup" -- shell command "info -f gdb -n Startup" を 参 照 し て く だ さ い 。
(not enabled with "--with-system-gdbinit" during compilation)

シ ス テ ム 全 体 の 初 期 化 フ ァ イ ル で す 。 こ れ は 、 ユ ー ザ が GDB オ プ シ ョ ン "-nx" あ る い は "-n" を 指 定 し な い 限 り 実 行 さ れ ま す 。 詳 細 に つ い て は 、 GDB マ ニ ュ ア ル の ノ ー ド "System-wide configuration" -- shell command "info -f gdb -n 'System-wide configuration'" を 参 照 し て く だ さ い 。

(not enabled with "--with-system-gdbinit-dir" during compilation)

シ ス テ ム 全 体 の 初 期 化 デ ィ レ ク ト リ で す 。 デ ィ レ ク ト リ 中 の す べ て の フ ァ イ ル は 、 認 識 さ れ た 拡 張 子 が あ る 限 り 、 ユ ー ザ が GDB オ プ シ ョ ン "-nx" あ る い は "-n" を 指 定 し な い 限 り 起 動 時 に 実 行 さ れ ま す 。 詳 細 に つ い て は 、 GDB マ ニ ュ ア ル の ノ ー ド "System-wide configuration" -- shell command "info -f gdb -n 'System-wide configuration'" を 参 照 し て く だ さ い 。

˜/.config/gdb/gdbinit or ˜/.gdbinit

ユ ー ザ 初 期 化 フ ァ イ ル で す 。 こ れ は 、 ユ ー ザ が GDB オ プ シ ョ ン "-nx"、 "-n" あ る い は "-nh" を 指 定 し な い 限 り 実 行 さ れ ま す 。

.gdbinit

カ レ ン ト デ ィ レ ク ト リ に あ る 初 期 化 フ ァ イ ル で す 。 こ れ は 、 GDB セ キ ュ リ テ ィ コ マ ン ド "set auto-load local-gdbinit" と 一 緒 に 有 効 に す る 必 要 が あ る 場 合 が あ り ま す 。

オ プ シ ョ ン

関 連 項 目

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

GDB の 完 全 な ド キ ュ メ ン ト は Texinfo マ ニ ュ ア ル と し て メ ン テ ナ ン ス さ れ て い ま す 。 "info" と "gdb" の 両 プ ロ グ ラ ム 、 お よ び GDB の Texinfo ド キ ュ メ ン ト が 適 切 に イ ン ス ト ー ル さ れ て い れ ば 、 以 下 の コ マ ン ド

info gdb

を 実 行 し て 完 全 な マ ニ ュ ア ル を 参 照 で き ま す 。

Using GDB: A Guide to the GNU Source-Level Debugger , Richard M. Stallman and Roland H. Pesch, July 1991.

著 作 権

Copyright (c) 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) FSF の 裏 表 紙 に は 、 以 下 の 文 章 が 記 述 さ れ て い ま す : "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."