Skip to main content

GDB and LLDB plugins to enable older versions of GDB and LLDB to support debuginfod

Project description

Debuginfod Plugins

PyPI Build

This repo contains both a GDB and LLDB plugin to support debuginfod in the versions of GDB and LLDB which not do have debuginfod built in.

WARNING: Currently these plugins only support downloading symbols/ These plugin do not support sources.

Supported Environments

This works in both LLDB and GDB. As of GDB 10.1, debuginfod support is built into GDB and so this plugin is not needed.

Installation

These plugins can be installed in two different ways:

  • Using gdbundle. A GDB/LLDB plugin manager from MemFault. (Preferred method)

  • Manual

Using gdbundle

First follow gdbundle's install steps.

Then install the debuginfod plugins with the following command:

pip install gdbundle-debuginfod-plugin

Manual Install

Instructions to come...

Usage

Once installed, you will have access to the dbgd command in both GDB and LLDB. Run dbgd --help to see the full list of commands. Normal usage will be covered here.

By default, symbols will load automatically. :warning: This feature is not yet implemented on LLDB! :warning:

Load symbols manually

debugger> dbgd symbols load

Turn on / off auto loading of symbols

debugger> dbgd symbols autoload on
debugger> dbgd symbols autoload off

List loaded symbols

debugger> dbgd symbols list

List all debuginfod servers

debugger> dbgd servers list

Add a debuginfod server

debugger> dbgd servers add [url]

Remove a debuginfod server

debugger> dbgd servers rm [index]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdbundle-debuginfod-0.4.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

gdbundle_debuginfod-0.4.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file gdbundle-debuginfod-0.4.0.tar.gz.

File metadata

  • Download URL: gdbundle-debuginfod-0.4.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.9.2 Linux/5.4.0-1040-azure

File hashes

Hashes for gdbundle-debuginfod-0.4.0.tar.gz
Algorithm Hash digest
SHA256 beba57a284dc6f90080643826840ef3334b399ee82775f3836911c71ae7c413e
MD5 c2c79a42819797a036561449e155e3b0
BLAKE2b-256 78ae4b1d6d5d19e91f17e4d9c230ff265d0f9bc7cd0506e5dd7858ecaea6be0d

See more details on using hashes here.

File details

Details for the file gdbundle_debuginfod-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gdbundle_debuginfod-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a99e874b6f46937366ba61aae9767e89b2ab5d812deeb9d3274b9e0f963840c
MD5 458f2985a2be09888416053057144369
BLAKE2b-256 4dfa204f37d00f6bd0a96ec07cf0a8f0d1709cb8ae1d6149a9a9c508243fe9f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page