This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: RFA: tm-nbsd.h: define IN_SOLIB_CALL_TRAMPOLINE


"J.T. Conklin" wrote:
> 
> I submit the enclosed patch for approval.  This allows programs linked
> with shared libraries to be debugged on a.out-based NetBSD targets.
> 
> 2000-03-21  J.T. Conklin  <jtc@redback.com>
> 
>         * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
>         SVR4_SHARED_LIBS.
> 
> Index: tm-nbsd.h
> ===================================================================
> RCS file: /cvs/src/src/gdb/config/tm-nbsd.h,v
> retrieving revision 1.1.1.2
> diff -c -3 -p -r1.1.1.2 tm-nbsd.h
> *** tm-nbsd.h   1999/07/07 20:11:33     1.1.1.2
> --- tm-nbsd.h   2000/03/21 20:17:52
> ***************
> *** 18,20 ****
> --- 18,29 ----
>      along with this program; if not, write to the Free Software
>      Foundation, Inc., 59 Temple Place - Suite 330,
>      Boston, MA 02111-1307, USA.  */
> +
> + #ifndef SVR4_SHARED_LIBS
> +
> + /* Return non-zero if we are in a shared library trampoline code stub. */
> +
> + #define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
> +   (name && !strcmp(name, "_DYNAMIC"))
> +
> + #endif /* !SVR4_SHARED_LIBS */

Approved.
	Andrew

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