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: [RFA/hppa] Can not insert breakpoint at address higher than 0xFFFFFF


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


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