Skip to content
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

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Modularize gdbinit #6

wants to merge 25 commits into from

Commits on Oct 21, 2012

  1. 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.
    dholm committed Oct 21, 2012
    Configuration menu
    Copy the full SHA
    7b34156 View commit details
    Browse the repository at this point in the history
  2. Code cleanup

    Reindented code so that every module follows the same syntax.
    dholm committed Oct 21, 2012
    Configuration menu
    Copy the full SHA
    2053b9e View commit details
    Browse the repository at this point in the history
  3. 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.
    dholm committed Oct 21, 2012
    Configuration menu
    Copy the full SHA
    142d955 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2012

  1. Adds support for MIPS

    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.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    1075a0e View commit details
    Browse the repository at this point in the history
  2. Fixes issues in data printers

    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.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    abfb95b View commit details
    Browse the repository at this point in the history
  3. 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.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    f2c9650 View commit details
    Browse the repository at this point in the history
  4. Place all hooks in .gdbinit

    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.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    e8c3366 View commit details
    Browse the repository at this point in the history
  5. Updated README

    Updates the README to contain a list of contributors to gdbinit. Also
    adds documentation on many of the commands that it defines.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    b20cc01 View commit details
    Browse the repository at this point in the history
  6. Fixes issues in markdown

    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    41249c9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c90255f View commit details
    Browse the repository at this point in the history
  8. Only print valid registers

    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.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    a1e6193 View commit details
    Browse the repository at this point in the history
  9. Place commands into code blocks

    The commands were a bit difficult to read, hopefully this will make the
    documentation a little better.
    dholm committed Oct 22, 2012
    Configuration menu
    Copy the full SHA
    46b0391 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2012

  1. 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.
    dholm committed Oct 23, 2012
    Configuration menu
    Copy the full SHA
    69e25a6 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2013

  1. 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
    cooljeanius committed May 7, 2013
    Configuration menu
    Copy the full SHA
    46fc426 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from cooljeanius/egall_additions

    add some gdb macros from Apple
    dholm committed May 7, 2013
    Configuration menu
    Copy the full SHA
    cabf5d8 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2013

  1. Configuration menu
    Copy the full SHA
    438da47 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from cooljeanius/more_apple_macros

    found some more .gdb files in Apple's version of gdb
    dholm committed May 12, 2013
    Configuration menu
    Copy the full SHA
    a43a2a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2013

  1. 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.
    jszakmeister committed Jun 7, 2013
    Configuration menu
    Copy the full SHA
    70a6125 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2013

  1. Merge pull request #3 from jszakmeister/fix-detection-on-snow-leopard

    Attempt to detect the correct processor type under Snow Leopard's gdb.
    dholm committed Jun 16, 2013
    Configuration menu
    Copy the full SHA
    0070acb View commit details
    Browse the repository at this point in the history

Commits on May 16, 2014

  1. Do not show [code] if CONTEXTSIZE_CODE is set to 0.

    Benjamin Chrétien committed May 16, 2014
    Configuration menu
    Copy the full SHA
    6729b92 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from bchretien/dotgdb

    Do not show [code] if CONTEXTSIZE_CODE is set to 0.
    dholm committed May 16, 2014
    Configuration menu
    Copy the full SHA
    b8314cc View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2014

  1. Configuration menu
    Copy the full SHA
    5f6d47b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5 from D3Hunter/master

    prompt: bug in prompt overwrite itself
    dholm committed Dec 22, 2014
    Configuration menu
    Copy the full SHA
    4b0ccbc View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2016

  1. Allow user to override config options

    Gabriel Burca authored and Gabriel Burca committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    a40b447 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2016

  1. Merge pull request #6 from gburca/master

    Allow user to override config options
    dholm committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    8ee55b2 View commit details
    Browse the repository at this point in the history