This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: tm-nbsd.h: define IN_SOLIB_CALL_TRAMPOLINE
- To: jtc at redback dot com
- Subject: Re: RFA: tm-nbsd.h: define IN_SOLIB_CALL_TRAMPOLINE
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 22 Mar 2000 09:20:37 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <5maejsgjl8.fsf@jtc.redbacknetworks.com>
"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