aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-stack.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-02-21 15:23:36 +0000
committerDaniel Jacobowitz <drow@false.org>2003-02-21 15:23:36 +0000
commit4cf623b60bb41ce141aa47d27e6d119324cb5ed1 (patch)
treedd3064742060b968e6758fee6f17c43af008c0ca /gdb/mi/mi-cmd-stack.c
parent887933998adad12398f8e99bb484a894552f86f8 (diff)
downloadgdb-4cf623b60bb41ce141aa47d27e6d119324cb5ed1.zip
gdb-4cf623b60bb41ce141aa47d27e6d119324cb5ed1.tar.gz
gdb-4cf623b60bb41ce141aa47d27e6d119324cb5ed1.tar.bz2
* mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
Diffstat (limited to 'gdb/mi/mi-cmd-stack.c')
-rw-r--r--gdb/mi/mi-cmd-stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c
index 7f32ef1..d715bd3 100644
--- a/gdb/mi/mi-cmd-stack.c
+++ b/gdb/mi/mi-cmd-stack.c
@@ -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;