This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/RFC] blockframe.c Fix errorneous addr check
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Volkov <Andrew dot Volkov at transas dot com>
- Cc: gdb-patches at sources dot redhat dot com, jimb at redhat dot com, ezannoni at redhat dot com
- Date: Thu, 27 Jun 2002 13:18:00 -0400
- Subject: Re: [RFA/RFC] blockframe.c Fix errorneous addr check
- References: <2E74F312D6980D459F3A05492BA40F8DFE339D@clue.transas.com>
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