Avoid shadowing in linux-tdep.c
authorTom Tromey <tom@tromey.com>
Sun, 22 Apr 2018 16:46:51 +0000 (10:46 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 5 Oct 2018 04:51:47 +0000 (22:51 -0600)
commit3fba72f7612c071f07fc7e65887bd1e8e056e272
tree5f90a15ae6d5b84d320cbcef65b59784b9971618
parent795afcbbb4b6c9a47597b9da57221b1bf9fdc88f
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".
gdb/ChangeLog
gdb/linux-tdep.c
This page took 0.024303 seconds and 4 git commands to generate.