Source: dwarves
Section: utils
Maintainer: Håvard F. Aasen <havard.f.aasen@pfft.no>
Build-Depends:
 debhelper-compat (= 13),
 cmake (>= 2.4.8),
 libbpf-dev (>= 1:1.0.1) [linux-any],
 libdw-dev (>= 0.141),
 libelf-dev,
 linux-libc-dev (>= 6.0~) [linux-any],
 pkgconf,
 zlib1g-dev,
Standards-Version: 4.7.3
Vcs-Browser: https://salsa.debian.org/debian/dwarves
Vcs-Git: https://salsa.debian.org/debian/dwarves.git
Homepage: https://git.kernel.org/pub/scm/devel/pahole/pahole.git

Package: libdwarves-dev
Section: libdevel
Architecture: linux-any
Multi-Arch: same
Depends:
 libdwarves1 (= ${binary:Version}),
 ${misc:Depends},
Description: set of advanced DWARF utilities - development files
 This package contains tools that use the DWARF debugging information
 inserted in ELF binaries by the compiler. This information is used by
 debuggers (e.g. GDB), and other tools such as systemtap.
 .
 This package contains the development files to build programs against
 dwarves.

Package: dwarves
Architecture: all
Multi-Arch: foreign
Section: oldlibs
Depends:
 pahole (>= 1.22),
 ${misc:Depends},
Description: set of advanced DWARF utilities - transitional package
 This is a "dummy" package that depends on the newly named pahole.

Package: libdwarves1
Section: libs
Architecture: linux-any
Multi-Arch: same
Depends:
 ${misc:Depends},
 ${shlibs:Depends},
Description: set of advanced DWARF utilities - shared library
 This package contains tools that use the DWARF debugging information
 inserted in ELF binaries by the compiler. This information is used by
 debuggers (e.g. GDB), and other tools such as systemtap.
 .
 This package contains dwarves shared library.

Package: pahole
Architecture: linux-any
Multi-Arch: foreign
Replaces:
 dwarves (<< 1.22),
Breaks:
 dwarves (<< 1.22),
Depends:
 libdwarves1 (= ${binary:Version}),
 ${misc:Depends},
 ${shlibs:Depends},
Description: set of advanced DWARF utilities
 This package contains tools that use the DWARF debugging information
 inserted in ELF binaries by the compiler. This information is used by
 debuggers (e.g. GDB), and other tools such as systemtap.
 .
 Utilities in the dwarves suite include:
 .
  - pahole: finds alignment holes in structs and classes in languages
    such as C/C++, CPU cacheline alignment. Helps repack those structures
    to achieve more cache hits.
  - codiff: a diff like tool to compare the effects changes in source
    code generate on the resulting binaries
  - pfunct: displays all sorts of information about functions, inlines, etc.
  - pdwtags: pretty-prints DWARF information
  - pglobal: lists global symbols
  - prefcnt: counts DWARF tags usage
  - syscse: system call sign extender
  - dtagnames: lists tag names
