mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
MIPS: Make `mask_address_var' static
Make the `mask_address_var' variable static, it is not used outside mips-tdep.c and having no target name embedded within it causes a risk of a namespace clash. gdb/ * mips-tdep.c (mask_address_var): Make variable static.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2018-05-15 Maciej W. Rozycki <macro@mips.com>
|
||||
|
||||
* mips-tdep.c (mask_address_var): Make variable static.
|
||||
|
||||
2018-05-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* dwarf2read.c (rust_union_quirks): Clear rust_unions.
|
||||
|
@ -1122,7 +1122,7 @@ mips_pseudo_register_type (struct gdbarch *gdbarch, int regnum)
|
||||
}
|
||||
|
||||
/* Should the upper word of 64-bit addresses be zeroed? */
|
||||
enum auto_boolean mask_address_var = AUTO_BOOLEAN_AUTO;
|
||||
static enum auto_boolean mask_address_var = AUTO_BOOLEAN_AUTO;
|
||||
|
||||
static int
|
||||
mips_mask_address_p (struct gdbarch_tdep *tdep)
|
||||
|
Reference in New Issue
Block a user