diff options
author | Yao Qi <yao@codesourcery.com> | 2014-11-28 16:17:37 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-11-29 22:26:35 +0800 |
commit | 4072f9208f12fdd60e68c73807fed4624607d290 (patch) | |
tree | 9f4a8140064775d9a87fe5119b88c31d3c5efe9a /gdb/h8300-tdep.c | |
parent | 6c659fc2c7cd2da6d2b9a3d7c38597ad3821832a (diff) | |
download | gdb-4072f9208f12fdd60e68c73807fed4624607d290.zip gdb-4072f9208f12fdd60e68c73807fed4624607d290.tar.gz gdb-4072f9208f12fdd60e68c73807fed4624607d290.tar.bz2 |
[arm] compute framereg and framesize when needed
I find local variables framereg and framesize is only used when cache
isn't NULL. This patch to move the code into "if (cache)" block.
gdb:
2014-11-29 Yao Qi <yao@codesourcery.com>
* arm-tdep.c (arm_analyze_prologue): Move local variables
'framereg' and 'framesize' to inner block. Move code to
inner block too.
Diffstat (limited to 'gdb/h8300-tdep.c')
0 files changed, 0 insertions, 0 deletions