-
Notifications
You must be signed in to change notification settings - Fork 0
/
gdbinit
18 lines (16 loc) · 842 Bytes
/
gdbinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#-----------------------------------------------------------------------------------------------------------------------
#
# GDB Initialization File
#
# Author: Brandon Perez <[email protected]>
# Creation Date: Monday, October 12, 2015 at 01:26:12 PM EDT
#
# Description:
# This file is read whenever a GDB sessions starts up, and it initializes and sets the global settings for GDB.
# Namely, this file sets up GDB command history that is persistent across sessions.
#
#-----------------------------------------------------------------------------------------------------------------------
# Save the command history whenever a GDB session is closed. This enables persistent command history across sessions.
set history save
# Set the file where the GDB command history is saved.
set history filename ~/.gdb_history