mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 13:04:46 +08:00
gdb/
Code cleanup. * varobj.c (varobj_create): Move variables fi, old_fi and block to a more inner block.
This commit is contained in:
parent
6ca4eb7789
commit
e4195b40c5
@ -1,3 +1,9 @@
|
||||
2010-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Code cleanup.
|
||||
* varobj.c (varobj_create): Move variables fi, old_fi and block to
|
||||
a more inner block.
|
||||
|
||||
2010-08-05 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* configure.tgt (alpha*-*-linux*, am33_2.0*-*-linux*, frv-*-*)
|
||||
|
@ -528,9 +528,6 @@ varobj_create (char *objname,
|
||||
char *expression, CORE_ADDR frame, enum varobj_type type)
|
||||
{
|
||||
struct varobj *var;
|
||||
struct frame_info *fi;
|
||||
struct frame_info *old_fi = NULL;
|
||||
struct block *block;
|
||||
struct cleanup *old_chain;
|
||||
|
||||
/* Fill out a varobj structure for the (root) variable being constructed. */
|
||||
@ -539,6 +536,9 @@ varobj_create (char *objname,
|
||||
|
||||
if (expression != NULL)
|
||||
{
|
||||
struct frame_info *fi;
|
||||
struct frame_info *old_fi = NULL;
|
||||
struct block *block;
|
||||
char *p;
|
||||
enum varobj_languages lang;
|
||||
struct value *value = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user