summaryrefslogtreecommitdiff
path: root/tools/gdb-sd_dump_hashmaps.py
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-12-08 19:33:37 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-12-10 03:07:08 +0900
commit2f6c9b6f3fb0128cee7f74985c143b4850feff6d (patch)
treebde0dad00edcc1fece57793e77ffcccb25d19d2d /tools/gdb-sd_dump_hashmaps.py
parentaf182e786ccd8157633b93dbb312a21ff99588d1 (diff)
downloadsystemd-2f6c9b6f3fb0128cee7f74985c143b4850feff6d.tar.gz
tools: drop unused variable
Diffstat (limited to 'tools/gdb-sd_dump_hashmaps.py')
-rw-r--r--tools/gdb-sd_dump_hashmaps.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py
index ea15160107..0701d139e2 100644
--- a/tools/gdb-sd_dump_hashmaps.py
+++ b/tools/gdb-sd_dump_hashmaps.py
@@ -16,7 +16,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")