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] Fix for searching for data symbols


On Wed, Jan 30, 2002 at 06:26:08PM -0500, Elena Zannoni wrote:
> Daniel Jacobowitz writes:
>  > This patch fixes the problem I described in:
>  > 	http://sources.redhat.com/ml/gdb/2002-01/msg00223.html
>  > 
>  > Basically, since we use the bounds of the text segment to search for symbols
>  > in find_pc_*, don't let them return a bogus answer for a symbol we know is
>  > off in data land.
>  > 
>  > OK to commit, or does anyone prefer a different approach to this?
>  > 
> 
> I think it's fine. Just could you add comments with an explanation of
> the odd case that you described in the mail above? 

Committed with comments, thanks!

-- 
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]