This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] cleanup: Remove INVALID_ENTRY_POINT (+FR-V modification)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 2 Nov 2009 15:50:59 +0100
- Subject: Re: [patch] cleanup: Remove INVALID_ENTRY_POINT (+FR-V modification)
- References: <20091031150829.GA27608@host0.dyn.jankratochvil.net> <200910311542.13318.pedro@codesourcery.com> <20091031195053.GA9955@host0.dyn.jankratochvil.net> <200910312108.28983.pedro@codesourcery.com>
On Sat, 31 Oct 2009 22:08:28 +0100, Pedro Alves wrote:
> > 2009-10-31 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > Remove INVALID_ENTRY_POINT.
> > * frame.c (inside_entry_func): New variable entry_point. Return 0 if
> > the entry point is not known.
> > * solib-irix.c (enable_break): Likewise.
> > * objfiles.c (init_entry_point_info): Stop using INVALID_ENTRY_POINT.
> > Initialize EI.ENTRY_POINT_P.
> > (entry_point_address): Rename to ...
> > (entry_point_address_query): ... a new function. Use EI.ENTRY_POINT_P.
> > (entry_point_address): New function.
> > (objfile_relocate): Use EI.ENTRY_POINT_P.
> > * objfiles.h (struct entry_info): Simplify entry_point comment. New
> > field entry_point_p.
> > (INVALID_ENTRY_POINT): Remove.
> > (entry_point_address_query): New prototype.
> > * solib-frv.c (enable_break): Check for NULL SYMFILE_OBJFILE and its
> > EI.ENTRY_POINT_P. Return 0 if ".interp" is not found.
>
> Looks OK to me.
Checked-in:
http://sourceware.org/ml/gdb-cvs/2009-11/msg00006.html
Thanks,
Jan