title: How do I get the .gdbinit command file needed by Eclipse for debugging?
body: <p>My knowledge and experience in programming is still very fresh and basic, so please bear with me.</p>
  
  <p>I want to be able to use C++ on my MacBook (OS 10.9.5 Mavericks) via Eclipse, which I have already been using for Java previously.</p>
  
  <p>So I followed the instructions in <a href="https://stackoverflow.com/questions/19877047/eclipse-gdb-macosx-mavericks">Eclipse GDB MacOSX Mavericks</a>
  to get GDB, but now I still need the GDB command file (.gdbinit), which I can't find anywhere (I tried which .gdbinit on Terminal to no avail).</p>
  
  <p>Please help me.</p>