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: [ppc64-linux] gdbarch hook to find true execution entry point


2003-06-11 Jim Blandy <jimb@redhat.com>

* gdbarch.sh (gdbarch_bfd_entry_point): New gdbarch method. * arch-utils.c (generic_bfd_entry_point): New function. * arch-utils.h (generic_bfd_entry_point): New declaration. * gdbarch.c, gdbarch.h: Regenerated. * solib-svr4.c (enable_break): Call it, instead of accessing tmp_bfd->start_address directly.


The solib-svr4.c change is okay with me.  If you can get Andrew on board
for the gdbarch changes, you're good to go.  If you wind up implementing
it in bfd, consider the solib change to be pre-approved.

I'm still struggling to differentiate gdbarch_bfd_entry_point, entry_point_address(), CALL_DUMMY_ADDRESS, and now CONVERT_FROM_FUNC_PTR_ADDR.


I need to re-read the threads.

(And I've even got the original PowerOpen spec at home!)

Andrew



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