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/RFC] blockframe.c Fix errorneous addr check


On Thu, Jun 27, 2002 at 09:13:41PM +0400, Andrew Volkov wrote:
> Hi,
> 
> This patch fix wrong detection of belonging addr to startup file:
> if call main is last instuction in crt0, then 
> inside_entry_file erroneously return false.
> 
> Ok to commit?
> Andrey 
> 
> P.S. Possible this bug not in this func, but in symbol reader.

I'm inclined to believe the bug is in the symbol reader.  Upper PC
bounds are generally exclusive - first address after the function.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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