mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
6ccd956fd4
the disk space cost is less than 20Kb They provide pretty printers for datascructures likes hash tables in gdb. To check that the scripts are loaded: run gdb on any glib application (for example gio from the bin output) run info auto-load python-scripts observe scripts whose filename is libglib-...-gdb.py
24 lines
738 B
Diff
24 lines
738 B
Diff
diff --git a/glib/meson.build b/glib/meson.build
|
|
index b2dd569e1..b013991a1 100644
|
|
--- a/glib/meson.build
|
|
+++ b/glib/meson.build
|
|
@@ -541,7 +540,7 @@ configure_file(
|
|
input: 'libglib-gdb.py.in',
|
|
output: 'libglib-2.0.so.@0@-gdb.py'.format(library_version),
|
|
configuration: gdb_conf,
|
|
- install_dir: gdb_install_dir,
|
|
+ install_dir: glib_libdir,
|
|
install_tag: 'devel',
|
|
install: gdb_install,
|
|
)
|
|
diff --git a/gobject/meson.build b/gobject/meson.build
|
|
@@ -185,7 +184,7 @@ configure_file(
|
|
input: 'libgobject-gdb.py.in',
|
|
output: 'libgobject-2.0.so.@0@-gdb.py'.format(library_version),
|
|
configuration: gdb_conf,
|
|
- install_dir: gdb_install_dir,
|
|
+ install_dir: glib_libdir,
|
|
install_tag: 'devel',
|
|
install: gdb_install,
|
|
)
|