This is the mail archive of the gdb@sourceware.org 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: Info reg sp


On Tue, May 22, 2007 at 08:58:28AM -0700, Robert Norton wrote:
> The default print_registers seems to be immune to this by virtue of the
> (slightly weird) for loop which compares every number less than
> NUM_REGS+NUM_PSEUDO_REGS to regnum when printing a value! Design or
> happy coincidence -- who can tell? 

Not a very satisfactory immunity; it will just print nothing.  I think
this was reported as a bug before.

-- 
Daniel Jacobowitz
CodeSourcery


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