* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and

LOC_COMPUTED_ARG.
This commit is contained in:
Daniel Jacobowitz 2003-02-21 15:23:36 +00:00
parent 887933998a
commit 4cf623b60b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-02-21 Daniel Jacobowitz <drow@mvista.com>
* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"

View File

@ -253,6 +253,7 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
case LOC_REGPARM_ADDR: /* indirect register arg */
case LOC_LOCAL_ARG: /* stack arg */
case LOC_BASEREG_ARG: /* basereg arg */
case LOC_COMPUTED_ARG: /* arg with computed location */
if (!locals)
print_me = 1;
break;
@ -261,6 +262,7 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
case LOC_BASEREG: /* basereg local */
case LOC_STATIC: /* static */
case LOC_REGISTER: /* register */
case LOC_COMPUTED: /* computed location */
if (locals)
print_me = 1;
break;