mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
This commit is contained in:
parent
887933998a
commit
4cf623b60b
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user