Re: [PATCH v2 1/8] gdb: move some stabs functions to gdb/buildsym-legacy.h

Tom Tromey
2025-10-20T16:29:57Z

>>>>> "Guinevere" == Guinevere Larsen <guinevere@redhat.com> writes:

Guinevere> The gdb/stabsread.h and .c files define 2 things that, while originally
Guinevere> intended only for stabs reading, actually end up being used for coff,
Guinevere> ecoff and maybe more debuginfo formats. That is the function "hashname",
Guinevere> and the macro HASHSIZE. Both are used for small hashtables when reading
Guinevere> some symbols with incomplete information.

Guinevere> With the upcoming removal of stabs code, this code should be moved
Guinevere> somewhere, and the location that looked most reasonable was
Guinevere> gdb/buildsym-legacy. No change in behavior is expected after this
Guinevere> commit.

Ok.
Approved-By: Tom Tromey <tom@tromey.com>

Tom