This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Don't print saved registers with no name


-      if (i != SP_REGNUM)
+      if (i != SP_REGNUM
+	  && gdbarch_register_reggroup_p (current_gdbarch, i, all_reggroup))

Yep, thanks.


[Both patches display sp an extra time.  I don't see a way around it,
with this code the way it is... does anyone else?]

Don't be too worried about the duplication - SP_REGNUM is going away anyway. However, bug report it so hopefully I can discover that eliminating SP eliminated the problem :-)


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]