From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 9EA046EC59; Mon, 8 Mar 2021 14:54:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9EA046EC59 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615204490; bh=A98eXqla+4HXrXZB0xFnI8vfe4rcFf04jfNBrujXs4I=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=lWcTKjipeTIOlQneaJGwgVuF/cLswmgSEk7lvKqr3fF4VonAVipCoomKJ1PbDWoES L6xfHDTDdUu67+qwaDXJS8ytepCGCaStads25YOVI5ls4Ym02/VTbUCUevTADJWy5K S7+7Lhqfnyq2n+plhKptwzq/iGr1H20qyyXFYOM4= Received: from smtp45.i.mail.ru (smtp45.i.mail.ru [94.100.177.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id ABC556EC59 for ; Mon, 8 Mar 2021 14:54:49 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org ABC556EC59 Received: by smtp45.i.mail.ru with esmtpa (envelope-from ) id 1lJETI-0003vT-VT; Mon, 08 Mar 2021 14:54:49 +0300 To: Alexander Turenko References: <7f444b92bacefea0e3a0b2d2846737d9791626ea.1614256802.git.imun@tarantool.org> <0a7f111d-7119-bd2d-020d-1938edeb973e@tarantool.org> <20210308045647.3kl5bfcvjdsarz2o@tkn_work_nb> Message-ID: <4ff508bc-bad0-978e-47ae-33baae6aeef3@tarantool.org> Date: Mon, 8 Mar 2021 14:54:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210308045647.3kl5bfcvjdsarz2o@tkn_work_nb> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9D3134714A9BDB69B9676070C5F64E418DB309FBA590CF44700894C459B0CD1B92827CC94E8623C6F5EFDA1A814AACA7B74D225CA2D02150E3D433D207E322D29 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7374BF80023594226EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063764FE777F378F21448638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCE81502484391F13E8746D3038C4F1E5387D0D0A23B4327F0389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C0A29E2F051442AF778941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B601F8F2FECC0250C8CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C2249F99AF4D8A163DCE876E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8BE6A2F950A10922ED3AA81AA40904B5D9DBF02ECDB25306B2B25CBF701D1BE8734AD6D5ED66289B5278DA827A17800CE7BEE702378D8A34C767F23339F89546C5A8DF7F3B2552694A6FED454B719173D6725E5C173C3A84C3D703628AB378667775ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46D11D63CD61895BAB9355D89D7DBCDD132 X-C1DE0DAB: 0D63561A33F958A5D8A78A2C633AC5E5E6A64C2C8F063D9925F45B5FCE03AA22D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75448CF9D3A7B2C848410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3475AE8838CC1BF58EC02977A0863D345F698A36B0A5982E3BA48D014DE7888E4BD32ED6B10211704E1D7E09C32AA3244CC5F32FAD8885268444DBCD4DF51BF5C2F165894D92D62706FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojUqxEkzHTt/gQKQ7k1Tx3HQ== X-Mailru-Sender: C4F68CFF4024C8867DFDF7C7F2588458E557633369FC3F0400DCA9B8D9B5D4E6E67B740FB6DE5D17282EC151BADDC1D3523A6D01B4765B2DFB59E2DDD9FE06B14FA522850F29BC30112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] tools: implement toolchain for crash artefacts X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On 08.03.2021 07:56, Alexander Turenko wrote: >>> diff --git a/tools/gdb.sh b/tools/gdb.sh >>> new file mode 100755 >>> index 000000000..a58c47cab >>> --- /dev/null >>> +++ b/tools/gdb.sh >>> @@ -0,0 +1,59 @@ >>> +#!/bin/sh >>> +set -eu >> 3. "set -euo pipefail" is better. Pipe used for SUBPATH var. > '-o pipefail' is bash-specific AFAIR. Seem yes. I haven't found anything about pipefail in POSIX standard [1]. 1. https://pubs.opengroup.org/onlinepubs/9699919799/