]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - tools/gdb-sd_dump_hashmaps.py
Merge pull request #15472 from keszybz/dbus-api-docs
[thirdparty/systemd.git] / tools / gdb-sd_dump_hashmaps.py
index ea151601075adc234f89fb199fe7f3e89234de1b..4e8593f320099b96c568baee3eff57ad762f0e77 100644 (file)
@@ -1,5 +1,4 @@
 #!/usr/bin/env python3
-#  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 # SPDX-License-Identifier: LGPL-2.1+
 
 from __future__ import print_function
@@ -16,7 +15,6 @@ class sd_dump_hashmaps(gdb.Command):
                 d = gdb.parse_and_eval("hashmap_debug_list")
                 all_entry_sizes = gdb.parse_and_eval("all_entry_sizes")
                 all_direct_buckets = gdb.parse_and_eval("all_direct_buckets")
-                hashmap_base_t = gdb.lookup_type("HashmapBase")
                 uchar_t = gdb.lookup_type("unsigned char")
                 ulong_t = gdb.lookup_type("unsigned long")
                 debug_offset = gdb.parse_and_eval("(unsigned long)&((HashmapBase*)0)->debug")