diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-22 10:46:51 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-10-04 22:51:47 -0600 |
commit | 3fba72f7612c071f07fc7e65887bd1e8e056e272 (patch) | |
tree | 5f90a15ae6d5b84d320cbcef65b59784b9971618 /gdb/python/py-frame.c | |
parent | 795afcbbb4b6c9a47597b9da57221b1bf9fdc88f (diff) | |
download | binutils-3fba72f7612c071f07fc7e65887bd1e8e056e272.zip binutils-3fba72f7612c071f07fc7e65887bd1e8e056e272.tar.gz binutils-3fba72f7612c071f07fc7e65887bd1e8e056e272.tar.bz2 |
Avoid shadowing in linux-tdep.c
This is one of the uglier changes to avoid local shadowing. Because
obstack.h uses statement expressions, in some cases a nested obstack
call will result in shadowing. Rather than try to fix obstack.h, this
patch simply works around the one instance of this problem.
gdb/ChangeLog
2018-10-04 Tom Tromey <tom@tromey.com>
* linux-tdep.c (linux_make_mappings_corefile_notes): Introduce new
variable "size".
Diffstat (limited to 'gdb/python/py-frame.c')
0 files changed, 0 insertions, 0 deletions