Skip to content

danobi/gdb-scripts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

gdb-scripts

This repository contains scripts/commands I use to develop/build/test GDB.

GDB is fairly hard to get built and tested so I containerized the build to make it easier to reproduce on my machines.

Usage

Run ./x.py to see help menu:

usage: x [-h] [-s SOURCE_DIR] [-b BUILD_DIR] {conf,build,run,shell,help} ...

positional arguments:
  {conf,build,run,shell,help}
                        subcommands
    conf                configure and build gdb container image
    build               build gdb
    run                 run gdb
    shell               open shell
    help                print help

optional arguments:
  -h, --help            show this help message and exit
  -s SOURCE_DIR, --source-dir SOURCE_DIR
                        source code directory (default: ~/dev/gdb)
  -b BUILD_DIR, --build-dir BUILD_DIR
                        build directory (default: /tmp/gdb-build)

Notes

  • You'll need podman installed on your system for these scripts to work
  • The default file paths are also built around my preferences but I've left command line options to override the the defaults.

About

Build scripts for GDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published