Skip to content

Instantly share code, notes, and snippets.

@tromey
Last active August 7, 2022 16:33
Show Gist options
  • Save tromey/a1dd055ade51439cb0317c0585481ac4 to your computer and use it in GitHub Desktop.
Save tromey/a1dd055ade51439cb0317c0585481ac4 to your computer and use it in GitHub Desktop.
gdb to do
  • Defaults changes

    • set print object on
    • set print pretty on
    • set history save on
    • Enable multi-inferior by default
    • Make a variant of info locals that shows both locals and args
  • Build System

    • Convert gdb to automake
    • init.c is not remade if configure.tgt is changed
    • top-level configure will still build many things even if just gold is asked for
  • DWARF

    • Should iterate over attributes instead of looking up each one
  • Python

    • Value.string does not work for Ada array-of-char
    • Type.range doesn't strip typedefs
    • Type doesn't expose whether a type is signed
  • Threading

    • strtok
    • strerror
    • asctime, gmtime, ctime, localtime
    • Read DWARF macro info in a worker thread
  • Documentation

    • Document that the children method should be lazy
    • Update catch exception docs to mention param
    • fix catch load/unload to use markup
    • "set remotelogfile" doesn't seem to be in the manual index?
    • how to disable the remotelogfile?
    • document source highlight dependency
  • Help

    • help catch assert misleading
    • help catch in general doesn't mention conditions
    • help bt doesn't describe qualifiers
    • help target remote is lame
    • help save gdb-index is not very well written
    • help - has an extra newline - check other TUI commands
    • interpreter-exec help doesn't have usage
  • Cleanups

    • change tee_file to take rvalue ref
    • remove gdb/testsuite/TODO
    • pid_to_exec_file should return unique_ptr
    • unify TYPE_CODE_SET printing into the generic printer
    • remove remaining LA_ defines from language.h
    • merge Fortran TYPE_CODE_BOOL into generic one using decorations
    • remove print_array_index from language_defn and use decorations
    • unify string/char printing somehow, make string printer use language char printer
    • Remove opcode method from expressions
    • Remove bptype in favor of methods / OO
    • Remove dbx mode
    • remove type::set_code and ensure the code is set at construction
  • Styling

    • Selected thread / inferior / etc
    • pwd
    • show logging file
    • info shared
    • file and function name in skip.c
    • file name in info sources
    • file name in info_frame_command_core
    • printing address in say_where
    • gdb "meta" output like <unavailable> could be styled differently
    • make set style enabled an auto variable, per Pedro's suggestion
    • disassembly in the TUI
    • the TUI locator window
    • file names in TUI titles
    • colors for the TUI window borders
    • line numbers (both TUI and CLI)
    • See https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for putting links into the terminal. Maybe useful for help?
    • field names in print
    • field names in ptype
    • The Type "help ..." for ... messages
    • Style URLs - maybe like files?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment