2004-01-20 Andrew Cagney <cagney@redhat.com>
* mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of sym2 to start of block.
This commit is contained in:
parent
4d8907ac12
commit
6bb0384f7c
|
@ -1,3 +1,8 @@
|
||||||
|
2004-01-20 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
|
||||||
|
sym2 to start of block.
|
||||||
|
|
||||||
2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
|
2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* MAINTAINERS: Delete mmalloc.
|
* MAINTAINERS: Delete mmalloc.
|
||||||
|
@ -6,7 +11,8 @@
|
||||||
* acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
|
* acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
|
||||||
* config.in: Regenerate.
|
* config.in: Regenerate.
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
* configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, USE_MMALLOC, MMCHECK_FORCE.
|
* configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
|
||||||
|
USE_MMALLOC, MMCHECK_FORCE.
|
||||||
* gdbinit.in: Remove mmalloc.
|
* gdbinit.in: Remove mmalloc.
|
||||||
* utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
|
* utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
|
||||||
* config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
|
* config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
|
||||||
|
|
|
@ -286,12 +286,12 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
|
||||||
if (print_me)
|
if (print_me)
|
||||||
{
|
{
|
||||||
struct cleanup *cleanup_tuple = NULL;
|
struct cleanup *cleanup_tuple = NULL;
|
||||||
|
struct symbol *sym2;
|
||||||
if (values != PRINT_NO_VALUES)
|
if (values != PRINT_NO_VALUES)
|
||||||
cleanup_tuple =
|
cleanup_tuple =
|
||||||
make_cleanup_ui_out_tuple_begin_end (uiout, NULL);
|
make_cleanup_ui_out_tuple_begin_end (uiout, NULL);
|
||||||
ui_out_field_string (uiout, "name", SYMBOL_PRINT_NAME (sym));
|
ui_out_field_string (uiout, "name", SYMBOL_PRINT_NAME (sym));
|
||||||
|
|
||||||
struct symbol *sym2;
|
|
||||||
if (!locals)
|
if (!locals)
|
||||||
sym2 = lookup_symbol (SYMBOL_NATURAL_NAME (sym),
|
sym2 = lookup_symbol (SYMBOL_NATURAL_NAME (sym),
|
||||||
block, VAR_DOMAIN,
|
block, VAR_DOMAIN,
|
||||||
|
|
Loading…
Reference in New Issue