Move some code from buildsym to stabsread
authorTom Tromey <tom@tromey.com>
Sun, 20 May 2018 17:13:12 +0000 (11:13 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 16 Jul 2018 14:55:17 +0000 (08:55 -0600)
commit2150c3ef045a525b1d74c06eb8b0811621f264e3
tree3d1608f5efcf47922f1ae3a1e4f72d1b1cc0a411
parent0ec44fc067ca71f968a4fedda1c17cba2e5ad0ca
Move some code from buildsym to stabsread

A few things that currently reside in buildsym.c turn out to be
specific to the stabs reader.  This patch moves these from
buildsym.[ch] to stabsread.[ch].

gdb/ChangeLog
2018-07-16  Tom Tromey  <tom@tromey.com>

* stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text)
(next_symbol_text_func): Move from buildsym.h.
* stabsread.c (hashname): Move from buildsym.c.
* buildsym.h (HASHSIZE, symnum, next_symbol_text)
(next_symbol_text_func, hashname): Move to stabsread.h.
* buildsym.c: Don't include bcache.h
(hashname): Move to stasbread.c.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/stabsread.c
gdb/stabsread.h
This page took 0.024814 seconds and 4 git commands to generate.