1*4f0ce1daSGordon Ross 2*4f0ce1daSGordon Ross# 3*4f0ce1daSGordon Ross# This file and its contents are supplied under the terms of the 4*4f0ce1daSGordon Ross# Common Development and Distribution License ("CDDL"), version 1.0. 5*4f0ce1daSGordon Ross# You may only use this file in accordance with the terms of version 6*4f0ce1daSGordon Ross# 1.0 of the CDDL. 7*4f0ce1daSGordon Ross# 8*4f0ce1daSGordon Ross# A full copy of the text of the CDDL should have accompanied this 9*4f0ce1daSGordon Ross# source. A copy of the CDDL is also available via the Internet at 10*4f0ce1daSGordon Ross# http://www.illumos.org/license/CDDL. 11*4f0ce1daSGordon Ross# 12*4f0ce1daSGordon Ross 13*4f0ce1daSGordon Ross# 14*4f0ce1daSGordon Ross# Copyright 2021 Tintri by DDN, Inc. All rights reserved. 15*4f0ce1daSGordon Ross# 16*4f0ce1daSGordon Ross 17*4f0ce1daSGordon Ross# gdb script (it allows python :) 18*4f0ce1daSGordon Ross 19*4f0ce1daSGordon Rosspython 20*4f0ce1daSGordon Rossimport os 21*4f0ce1daSGordon Rossgdb.execute('file' + os.environ['ROOT'] + '/usr/lib/smbsrv/fksmbd') 22*4f0ce1daSGordon Rossgdb.execute('set env ' + 'LD_LIBRARY_PATH ' + \ 23*4f0ce1daSGordon Ross os.environ['ROOT'] + '/lib:' + \ 24*4f0ce1daSGordon Ross os.environ['ROOT'] + '/usr/lib') 25*4f0ce1daSGordon Rossend 26*4f0ce1daSGordon Ross 27*4f0ce1daSGordon Rossecho break debug_enter\n 28