mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-04 02:02:22 +00:00
* ada-exp.y (write_var_or_type): Rename nested `renaming' to
`ren_sym'(-Wshadow).
This commit is contained in:
parent
b4082c7000
commit
e5e61bd728
@ -1,3 +1,8 @@
|
||||
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
|
||||
|
||||
* ada-exp.y (write_var_or_type): Rename nested `renaming' to
|
||||
`ren_sym'(-Wshadow).
|
||||
|
||||
2011-12-10 Doug Evans <dje@google.com>
|
||||
|
||||
* dwarf2read.c (dwarf2_per_cu_data): Rename debug_type_section to
|
||||
|
@ -1287,12 +1287,12 @@ write_var_or_type (struct block *block, struct stoken name0)
|
||||
FIXME pnh 7/20/2007. */
|
||||
if (nsyms == 1)
|
||||
{
|
||||
struct symbol *renaming =
|
||||
struct symbol *ren_sym =
|
||||
ada_find_renaming_symbol (SYMBOL_LINKAGE_NAME (syms[0].sym),
|
||||
syms[0].block);
|
||||
|
||||
if (renaming != NULL)
|
||||
syms[0].sym = renaming;
|
||||
if (ren_sym != NULL)
|
||||
syms[0].sym = ren_sym;
|
||||
}
|
||||
|
||||
type_sym = select_possible_type_sym (syms, nsyms);
|
||||
|
Loading…
Reference in New Issue
Block a user