xref: /onnv-gate/usr/src/cmd/sgs/librtld_db/demo/tests/plt_skip (revision 12927:a27c46eb192b)
1*12927SRod.Evans@Sun.COM#
2*12927SRod.Evans@Sun.COM# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
3*12927SRod.Evans@Sun.COM#
4*12927SRod.Evans@Sun.COM# CDDL HEADER START
5*12927SRod.Evans@Sun.COM#
6*12927SRod.Evans@Sun.COM# The contents of this file are subject to the terms of the
7*12927SRod.Evans@Sun.COM# Common Development and Distribution License (the "License").
8*12927SRod.Evans@Sun.COM# You may not use this file except in compliance with the License.
9*12927SRod.Evans@Sun.COM#
10*12927SRod.Evans@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11*12927SRod.Evans@Sun.COM# or http://www.opensolaris.org/os/licensing.
12*12927SRod.Evans@Sun.COM# See the License for the specific language governing permissions
13*12927SRod.Evans@Sun.COM# and limitations under the License.
14*12927SRod.Evans@Sun.COM#
15*12927SRod.Evans@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
16*12927SRod.Evans@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17*12927SRod.Evans@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
18*12927SRod.Evans@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
19*12927SRod.Evans@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
20*12927SRod.Evans@Sun.COM#
21*12927SRod.Evans@Sun.COM# CDDL HEADER END
22*12927SRod.Evans@Sun.COM#
23*12927SRod.Evans@Sun.COMbreak main
24*12927SRod.Evans@Sun.COMcont
25*12927SRod.Evans@Sun.COM#
26*12927SRod.Evans@Sun.COM# First it does several steps over the call to small_sub
27*12927SRod.Evans@Sun.COMecho "==============================================================="
28*12927SRod.Evans@Sun.COMecho "The following step will step over the PLT's and directly"
29*12927SRod.Evans@Sun.COMecho "into the functions."
30*12927SRod.Evans@Sun.COMecho "==============================================================="
31*12927SRod.Evans@Sun.COMstep 30
32*12927SRod.Evans@Sun.COM#
33*12927SRod.Evans@Sun.COM# Disable the pltskip routine to see it step through
34*12927SRod.Evans@Sun.COM# PLT's
35*12927SRod.Evans@Sun.COM#
36*12927SRod.Evans@Sun.COMpltskip
37*12927SRod.Evans@Sun.COMecho "==============================================================="
38*12927SRod.Evans@Sun.COMecho "Plt skipping has now been disabled and we should see the PLT's"
39*12927SRod.Evans@Sun.COMecho "as we call into small_sub()"
40*12927SRod.Evans@Sun.COMecho "==============================================================="
41*12927SRod.Evans@Sun.COMstep 30
42