This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/hppa] Can not insert breakpoint at address higher than 0xFFFFFF
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 12 Jun 2005 23:23:49 -0400
- Subject: Re: [RFA/hppa] Can not insert breakpoint at address higher than 0xFFFFFF
- References: <20050603235918.GD1266@adacore.com>
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