[RFA/hppa] Can not insert breakpoint at address higher than 0xFFFFFF

Daniel Jacobowitz drow@false.org
Mon Jun 13 03:23:00 GMT 2005


Oops, thought I reviewed this one earlier...

On Fri, Jun 03, 2005 at 04:59:18PM -0700, Joel Brobecker wrote:
> The problem is that the program built by our customer is large enough
> that the address of certain symbol exceeds 0xFFFFFF, and hence triggers
> the condition above.
> 
> But the condition above doesn't correspond to the comment. We think it
> is an error, although it's always hard to tell with a hack. Anyway,
> if changed the check to make sure that *all* bits in the top byte are
> 1's before forcing the user to start the program for this breakpoint.
> This fixes the problem.
> 
> 2005-06-03  Joel Brobecker  <brobecker@adacore.com>
> 
>         * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
>         bits in of type byte in address.
> 
> Tested on hppa-hpux, no regression.
> OK to apply?

Yes, I agree with your reading.  This is OK.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb-patches mailing list