gdb: make gdbarch_data_registry static

This variable was made static in:

  6bd434d6ca ("gdb: make some variables static")

But I modified gdbarch.c instead of gdbarch.sh, so the change was
later reverted when gdbarch.c was re-generated.

Do it right this time.

gdb/ChangeLog:

	* gdbarch.sh (gdbarch_data_registry): Make static.
	* gdbarch.c: Re-generate.

Change-Id: I4048ba99a0cf47acd9da050934965db222fbd159
This commit is contained in:
Simon Marchi 2021-03-24 15:39:11 -04:00
parent bf0aecce6e
commit 41c0087ba5
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2021-03-24 Simon Marchi <simon.marchi@polymtl.ca>
* gdbarch.sh (gdbarch_data_registry): Make static.
* gdbarch.c: Re-generate.
2021-03-24 Luis Machado <luis.machado@linaro.org>
* NEWS: Mention memory tagging changes.

View File

@ -5451,7 +5451,7 @@ struct gdbarch_data_registry
struct gdbarch_data_registration *registrations;
};
struct gdbarch_data_registry gdbarch_data_registry =
static struct gdbarch_data_registry gdbarch_data_registry =
{
0, NULL,
};

View File

@ -2235,7 +2235,7 @@ struct gdbarch_data_registry
struct gdbarch_data_registration *registrations;
};
struct gdbarch_data_registry gdbarch_data_registry =
static struct gdbarch_data_registry gdbarch_data_registry =
{
0, NULL,
};