-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modularize gdbinit #6
base: master
Are you sure you want to change the base?
Commits on Oct 21, 2012
-
Reformats gdbinit to use submodules
The old layout is difficult to maintain due to the size of gdbinit and the fact that it is difficult to identify various components. The file has now been broken up into multiple submodules which are loaded by the main gdbinit file. .gdb and .gdbinit has to be symbolically linked to the users home directory for this to work.
Configuration menu - View commit details
-
Copy full SHA for 7b34156 - Browse repository at this point
Copy the full SHA 7b34156View commit details -
Reindented code so that every module follows the same syntax.
Configuration menu - View commit details
-
Copy full SHA for 2053b9e - Browse repository at this point
Copy the full SHA 2053b9eView commit details -
Autodetect target architecture
Attempt to autodetect the target architecture and set up the global flags accordingly. This will make it unneccessary to try to figure this out manually and hardcode the values in .gdbinit.
Configuration menu - View commit details
-
Copy full SHA for 142d955 - Browse repository at this point
Copy the full SHA 142d955View commit details
Commits on Oct 22, 2012
-
Restructures the architecture-specific code to never assume that a certain architecture is being used. Adds a $MIPS global that when set to 1 identifies that the debugged target is MIPS. Also breaks out the script for detecting a target and places it as a bash-script in the .gdb-directory to make it easier to debug.
Configuration menu - View commit details
-
Copy full SHA for 1075a0e - Browse repository at this point
Copy the full SHA 1075a0eView commit details -
When passing an expression containing spaces as an argument to a GDB command it will be interpreted as multiple arguments even when enclosed in parentheses. In order to follow the general coding style these arguments are broken out and set in local variables that are then passed as arguments instead.
Configuration menu - View commit details
-
Copy full SHA for abfb95b - Browse repository at this point
Copy the full SHA abfb95bView commit details -
Moves the ChangeLog into a separate file
Having the ChangeLog in the .gdbinit-file now that it has been modularized made little sense since the user will need a .gdb-directory anyway. Moved the ChangeLog into a file of the same name and reflowed it so that it can be read without going bonkers.
Configuration menu - View commit details
-
Copy full SHA for f2c9650 - Browse repository at this point
Copy the full SHA f2c9650View commit details -
Since hooks are general and there might be commands defined in multiple modules that need to install something into the same hook they have been moved to the .gdbinit-file instead.
Configuration menu - View commit details
-
Copy full SHA for e8c3366 - Browse repository at this point
Copy the full SHA e8c3366View commit details -
Updates the README to contain a list of contributors to gdbinit. Also adds documentation on many of the commands that it defines.
Configuration menu - View commit details
-
Copy full SHA for b20cc01 - Browse repository at this point
Copy the full SHA b20cc01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41249c9 - Browse repository at this point
Copy the full SHA 41249c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c90255f - Browse repository at this point
Copy the full SHA c90255fView commit details -
Copy the solution used for mips to ensure that only registers that are valid will be printed. I.e. if a register is set to "void" print zero instead of bailing out.
Configuration menu - View commit details
-
Copy full SHA for a1e6193 - Browse repository at this point
Copy the full SHA a1e6193View commit details -
Place commands into code blocks
The commands were a bit difficult to read, hopefully this will make the documentation a little better.
Configuration menu - View commit details
-
Copy full SHA for 46b0391 - Browse repository at this point
Copy the full SHA 46b0391View commit details
Commits on Oct 23, 2012
-
Rename GDB command files to .gdb
Renames the GDB command files to separate them from the shell scripts etc. Also, this makes it easier for the editor to figure out what indentation, syntaxt highlighting etc to use. Also renames the CPU-specific modules to cpu-<architecture>.gdb to make it more obvious that they are submodules to cpu.gdb.
Configuration menu - View commit details
-
Copy full SHA for 69e25a6 - Browse repository at this point
Copy the full SHA 69e25a6View commit details
Commits on May 7, 2013
-
add some gdb macros from Apple
- the old `gdbinit-MacsBug-without-plugin` file that Apple ships with their gdb - the `kgmacros` that Apple ships with their kernel debug kit
Configuration menu - View commit details
-
Copy full SHA for 46fc426 - Browse repository at this point
Copy the full SHA 46fc426View commit details -
Merge pull request #1 from cooljeanius/egall_additions
add some gdb macros from Apple
Configuration menu - View commit details
-
Copy full SHA for cabf5d8 - Browse repository at this point
Copy the full SHA cabf5d8View commit details
Commits on May 12, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 438da47 - Browse repository at this point
Copy the full SHA 438da47View commit details -
Merge pull request #2 from cooljeanius/more_apple_macros
found some more .gdb files in Apple's version of gdb
Configuration menu - View commit details
-
Copy full SHA for a43a2a7 - Browse repository at this point
Copy the full SHA a43a2a7View commit details
Commits on Jun 7, 2013
-
Attempt to detect the correct processor type under Snow Leopard's gdb.
Unfortunately, gdb under Snow Leopard doesn't give a useful doublet. So let's go the extra step and grab the osabi and use it to determine what processor we're using and the size.
Configuration menu - View commit details
-
Copy full SHA for 70a6125 - Browse repository at this point
Copy the full SHA 70a6125View commit details
Commits on Jun 16, 2013
-
Merge pull request #3 from jszakmeister/fix-detection-on-snow-leopard
Attempt to detect the correct processor type under Snow Leopard's gdb.
Configuration menu - View commit details
-
Copy full SHA for 0070acb - Browse repository at this point
Copy the full SHA 0070acbView commit details
Commits on May 16, 2014
-
Do not show [code] if CONTEXTSIZE_CODE is set to 0.
Benjamin Chrétien committedMay 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 6729b92 - Browse repository at this point
Copy the full SHA 6729b92View commit details -
Merge pull request #4 from bchretien/dotgdb
Do not show [code] if CONTEXTSIZE_CODE is set to 0.
Configuration menu - View commit details
-
Copy full SHA for b8314cc - Browse repository at this point
Copy the full SHA b8314ccView commit details
Commits on Dec 22, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 5f6d47b - Browse repository at this point
Copy the full SHA 5f6d47bView commit details -
Merge pull request #5 from D3Hunter/master
prompt: bug in prompt overwrite itself
Configuration menu - View commit details
-
Copy full SHA for 4b0ccbc - Browse repository at this point
Copy the full SHA 4b0ccbcView commit details
Commits on Apr 26, 2016
-
Allow user to override config options
Gabriel Burca authored and Gabriel Burca committedApr 26, 2016 Configuration menu - View commit details
-
Copy full SHA for a40b447 - Browse repository at this point
Copy the full SHA a40b447View commit details
Commits on Apr 30, 2016
-
Merge pull request #6 from gburca/master
Allow user to override config options
Configuration menu - View commit details
-
Copy full SHA for 8ee55b2 - Browse repository at this point
Copy the full SHA 8ee55b2View commit details