From 4cf623b60bb41ce141aa47d27e6d119324cb5ed1 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 21 Feb 2003 15:23:36 +0000 Subject: [PATCH] * mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. --- gdb/mi/ChangeLog | 5 +++++ gdb/mi/mi-cmd-stack.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 948748907ab..2be84ed5e24 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2003-02-21 Daniel Jacobowitz + + * mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and + LOC_COMPUTED_ARG. + 2003-02-19 David Carlton * mi-cmd-stack.c: #include "block.h" diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 7f32ef1e80c..d715bd3056c 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; -- 2.30.2