gdb: remove subfile::buildsym_compunit field

It is only set, never used.

Change-Id: Ia46ed2f9da243b0ccfc4588c1b57be2a0f3939de
This commit is contained in:
Simon Marchi 2022-04-07 09:03:59 -04:00
parent 359efc2d89
commit 4f7df13ee7
2 changed files with 0 additions and 3 deletions

View File

@ -539,7 +539,6 @@ buildsym_compunit::start_subfile (const char *name)
subfile = XNEW (struct subfile);
memset (subfile, 0, sizeof (struct subfile));
subfile->buildsym_compunit = this;
subfile->next = m_subfiles;
m_subfiles = subfile;

View File

@ -51,8 +51,6 @@ struct subfile
/* Space for this is malloc'd. */
struct linetable *line_vector;
int line_vector_length;
/* The "containing" compunit. */
struct buildsym_compunit *buildsym_compunit;
enum language language;
struct symtab *symtab;
};