X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=tools%2Fgdb-sd_dump_hashmaps.py;h=4e8593f320099b96c568baee3eff57ad762f0e77;hb=a9ab5cdb505d7d368c44fc02cc0183e75db1f657;hp=ea151601075adc234f89fb199fe7f3e89234de1b;hpb=9d0798a2edf05438499c7cb5def592d52358f397;p=thirdparty%2Fsystemd.git diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py index ea151601075..4e8593f3200 100644 --- a/tools/gdb-sd_dump_hashmaps.py +++ b/tools/gdb-sd_dump_hashmaps.py @@ -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")