mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +08:00
* stack.c: Include "reggroups.h".
(frame_info): Only display registers in all_reggroup. * Makefile.in (stack.o): Update dependencies.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user