diff options
author | Daniel Jacobowitz <dan@debian.org> | 2003-09-25 16:12:32 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2003-09-25 16:12:32 +0000 |
commit | 2043692956965c128cbc2950bc9f9c6a454ce706 (patch) | |
tree | 1045e93aad7a0721d6065fe3fe29d80c1bbfc89e /gdb/stack.c | |
parent | 842e64b0a07f2290461c8346294479af71f96de9 (diff) | |
download | gdb-2043692956965c128cbc2950bc9f9c6a454ce706.tar.gz |
* stack.c: Include "reggroups.h".
(frame_info): Only display registers in all_reggroup.
* Makefile.in (stack.o): Update dependencies.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 72d7f22cc06..a82f9f3fd12 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -43,6 +43,7 @@ #include "stack.h" #include "gdb_assert.h" #include "dictionary.h" +#include "reggroups.h" /* Prototypes for exported functions. */ @@ -1079,7 +1080,8 @@ frame_info (char *addr_exp, int from_tty) count = 0; numregs = NUM_REGS + NUM_PSEUDO_REGS; for (i = 0; i < numregs; i++) - if (i != SP_REGNUM) + if (i != SP_REGNUM + && gdbarch_register_reggroup_p (current_gdbarch, i, all_reggroup)) { /* Find out the location of the saved register without fetching the corresponding value. */ |