]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/Makefile.in
Add name splitting
authorTom Tromey <tom@tromey.com>
Sun, 21 Mar 2021 17:07:28 +0000 (11:07 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:15 +0000 (09:31 -0600)
commitb2bc564fe817f857b4915903f16026472acfbdcc
treeeb1dd6d22659e8cd209722ea9b778e1068c687c0
parent073954a792b3911f07b1dd22a8e0ffcc89ed3080
Add name splitting

The new DWARF index code works by keeping names pre-split.  That is,
rather than storing a symbol name like "a::b::c", the names "a", "b",
and "c" will be stored separately.

This patch introduces some helper code to split a full name into its
components.
gdb/Makefile.in
gdb/split-name.c [new file with mode: 0644]
gdb/split-name.h [new file with mode: 0644]
gdb/symtab.h