Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3cceebeffd | |||
|
|
c8ccbd4f20
|
||
|
|
44a63993db
|
||
|
|
22af1f16e0
|
||
|
|
bba0fbe6f6
|
||
|
|
39f67b829b
|
||
|
|
1f5e145a05
|
||
|
|
a2bfb0beb4
|
||
|
|
b8b05b65e4
|
BIN
drgn-0.0.31.tar.xz
LFS
BIN
drgn-0.0.31.tar.xz
LFS
Binary file not shown.
BIN
drgn-0.1.0.tar.gz
LFS
Normal file
BIN
drgn-0.1.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
name: drgn
|
||||
version: 0.0.31
|
||||
mtime: 1744828823
|
||||
commit: 8209a147fb61deed38ca376d063bbff0343ca234
|
||||
version: 0.0.33
|
||||
mtime: 1761770492
|
||||
commit: 781a21cb057ce07f17fd6edf0ffd299426abcbf7
|
||||
|
||||
@@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 07:05:00 UTC 2026 - Christoph Grüninger <foss@grueninger.de>
|
||||
|
||||
- Update to drgn 0.1.0
|
||||
* drgn now provides a few built-in commands accessed by starting
|
||||
a line with the % character.
|
||||
* py runs Python code, allowing its output to be piped or redirected.
|
||||
* sh executes a shell command.
|
||||
* source runs a script.
|
||||
* drgn now provides a compatibility mode with the crash utility.
|
||||
* Most commands have been ported from crash.
|
||||
* Ported commands also have a --drgn option that prints example
|
||||
drgn code for doing the equivalent of the command.
|
||||
* Crash compatibility mode can be accessed with %crash from the
|
||||
drgn CLI or directly with the new drgn-crash script.
|
||||
* drgn.StackFrame.source() now returns a new type,
|
||||
drgn.SourceLocation, instead of a tuple.
|
||||
* drgn.Program.source_location() was added. It looks up the file, line
|
||||
number, column number, and function name of a given code address.
|
||||
* Several methods were added to drgn.Program for searching for
|
||||
certain values or patterns in memory
|
||||
* drgn.Program.set_linux_kernel_custom() was added. It allows
|
||||
creating a drgn.Program representing the Linux kernel that
|
||||
is backed by a custom backend defined by the user, like a
|
||||
remote transport.
|
||||
* Linux 6.19 is now supported. Linux 7.0 is now tentatively supported.
|
||||
* Many new helpers were added.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 13:15:51 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
||||
|
||||
- Split off a drgn package with the CLI program.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 4 19:48:45 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
||||
|
||||
- Update to drgn-0.0.33:
|
||||
* Lots of new helpers.
|
||||
* Address Identification Improvements
|
||||
* Array Slices
|
||||
* More Reliable Interrupt Stack Traces
|
||||
* Kmodify Bit Field Fix
|
||||
* Linux 6.17 and 6.18 Support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 17 06:47:43 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-drgn
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,18 +15,24 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
|
||||
%if %{undefined primary_python}
|
||||
%define first_arg() %1
|
||||
%define primary_python %{first_arg %pythons}
|
||||
%endif
|
||||
|
||||
Name: python-drgn
|
||||
Version: 0.0.31
|
||||
Version: 0.1.0
|
||||
Release: 0
|
||||
Summary: Scriptable debugger library
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Tools/Debuggers
|
||||
URL: https://github.com/osandov/drgn
|
||||
Source: drgn-%{version}.tar.xz
|
||||
Source: drgn-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module readline}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: check-devel
|
||||
@@ -38,6 +44,11 @@ BuildRequires: libtool
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# Do not even try for ancient distributions
|
||||
%if %{undefined pythons}
|
||||
ExclusiveArch: nothere
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -45,6 +56,21 @@ drgn (pronounced “dragon”) is a debugger with an emphasis on
|
||||
programmability. drgn exposes the types and variables in a program
|
||||
for easy, expressive scripting in Python.
|
||||
|
||||
This package contains the Python module.
|
||||
|
||||
%package -n drgn
|
||||
Summary: Scriptable debugger CLI
|
||||
Conflicts: %{python_module drgn < 0.0.33}
|
||||
Provides: %{python_module drgn:/usr/bin/drgn}
|
||||
Requires: %{primary_python}-drgn = %{version}
|
||||
|
||||
%description -n drgn
|
||||
drgn (pronounced “dragon”) is a debugger with an emphasis on
|
||||
programmability. drgn exposes the types and variables in a program
|
||||
for easy, expressive scripting in Python.
|
||||
|
||||
This package contains the CLI program.
|
||||
|
||||
%prep
|
||||
%setup -q -n drgn-%{version}
|
||||
|
||||
@@ -54,26 +80,22 @@ export CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/drgn
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%pyunittest_arch discover -v
|
||||
|
||||
%post
|
||||
%python_install_alternative drgn
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative drgn
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
%python_alternative %{_bindir}/drgn
|
||||
%{python_sitearch}/drgn
|
||||
%{python_sitearch}/drgn-%{version}*-info
|
||||
%{python_sitearch}/_drgn*.pyi
|
||||
%{python_sitearch}/_drgn*.so
|
||||
%{python_sitearch}/_drgn_util
|
||||
|
||||
%files -n drgn
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
%{_bindir}/drgn
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user