Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alexshi126/gdb-dashboard
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: cyrus-and/gdb-dashboard
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 9, 2025

  1. Update copyright year

    cyrus-and committed Feb 9, 2025
    Copy the full SHA
    49c8dad View commit details
  2. Fix GDB tab completion issue

    So it seems that importing readline causes issue with the GDB prompt, in fact
    GDB already tries (failing) to avoid that. The issue manifests when debugging a
    program with the source code available, e.g., C, and IPython is available in the
    system.
    
    Fixes cyrus-and#325 and closes cyrus-and#326 by providing a better solution.
    cyrus-and committed Feb 9, 2025
    Copy the full SHA
    616ed51 View commit details
Showing with 6 additions and 1 deletion.
  1. +6 −1 .gdbinit
7 changes: 6 additions & 1 deletion .gdbinit
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ python

# License ----------------------------------------------------------------------

# Copyright (c) 2015-2024 Andrea Cardaci <cyrus.and@gmail.com>
# Copyright (c) 2015-2025 Andrea Cardaci <cyrus.and@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -2374,6 +2374,11 @@ set python print-stack full

python Dashboard.start()

# Fixes ------------------------------------------------------------------------

# workaround for the GDB readline issue, see #325
python import sys; sys.modules['readline'] = None

# File variables ---------------------------------------------------------------

# vim: filetype=python