From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37186 invoked by alias); 11 Feb 2016 19:05:27 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 36695 invoked by uid 89); 11 Feb 2016 19:05:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=ves, Hx-languages-length:2311, sk:system, thr X-HELO: smtp121.ord1c.emailsrvr.com Received: from smtp121.ord1c.emailsrvr.com (HELO smtp121.ord1c.emailsrvr.com) (108.166.43.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 11 Feb 2016 19:05:23 +0000 Received: from smtp8.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp8.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id C8271805F5 for ; Thu, 11 Feb 2016 14:05:21 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox beta Received: from smtp8.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp8.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id C5347801C4 for ; Thu, 11 Feb 2016 14:05:21 -0500 (EST) Received: from smtp192.mex09.emailsrvr.com (unknown [184.106.73.70]) by smtp8.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTPS id BC394805F5 for ; Thu, 11 Feb 2016 14:05:20 -0500 (EST) X-Sender-Id: neale@sinenomine.net Received: from smtp192.mex09.emailsrvr.com ([UNAVAILABLE]. [184.106.73.70]) (using TLSv1.2 with cipher AES256-SHA256) by 0.0.0.0:25 (trex/5.5.4); Thu, 11 Feb 2016 14:05:21 -0500 Received: from MBX07C-ORD1.mex09.mlsrvr.com (172.29.128.26) by MBX07C-ORD1.mex09.mlsrvr.com (172.29.128.26) with Microsoft SMTP Server (TLS) id 15.1.225.42; Thu, 11 Feb 2016 13:05:19 -0600 Received: from MBX07C-ORD1.mex09.mlsrvr.com ([fe80::c552:a87:3f12:5f8a]) by MBX07C-ORD1.mex09.mlsrvr.com ([fe80::c552:a87:3f12:5f8a%21]) with mapi id 15.01.0225.041; Thu, 11 Feb 2016 13:05:19 -0600 From: Neale Ferguson To: "gdb@sourceware.org" Subject: Python diagnostic messages truncated Date: Thu, 11 Feb 2016 19:05:00 -0000 Message-ID: user-agent: Microsoft-MacOutlook/14.6.0.151221 x-ms-exchange-messagesentrepresentingtype: 1 Content-Type: text/plain; charset="utf-7" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00015.txt.bz2 I have written a python macro that uses the filtering/unwinding/decorator facilities of gdb.=20 (gdb) source +AH4-/sna-stacktrace/stacktrace.py (gdb) thr 3 +AFs-Switching to thread 3 (Thread 0x7f21b751e700 (LWP 22219))+AF0- +ACM-0 0x00007f21ba364dad in write () at ../sysdeps/unix/syscall-template.= S:81 81 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) bt +ACM-0 0x00007f21ba364dad in write () at ../sysdeps/unix/syscall-template.= S:81 +ACM-1 0x0000000000614c78 in console+AF8-write (handle+AD0APA-optimized ou= t+AD4-, buffer+AD0-0x7f21b8c06160, numbytes+AD0-1, byteswritten+AD0-0x7f21b751d814, overlapped+AD0APA-optimized out+AD4-) at io.c:1128 +ACM-2 0x000000000060d6b4 in ves+AF8-icall+AF8-System+AF8-IO+AF8-MonoIO+AF= 8-Write (handle+AD0-0x1, src+AD0-0x7f21b8c06140, src+AF8-offset+AD0APA-optimized out+AD4-, count+AD0= -1, error+AD0-0x7f21b751d8d0) at file-io.c:862 +ACM-3 0x0000000041b90b35 in +AFs-wrapper - managed-to-native+AF0-:System.IO.MonoIO.Write(long, szarray, int, int, valuetype) () +ACM-4 0x0000000041b908e0 in System.IO.FileStream.WriteInternal(szarray, i= nt, int) () +ACM-5 0x0000000041b9073c in System.IO.FileStream.Write(szarray, int, int)= () +ACM-6 0x0000000041b9063c in System.IO.StreamWriter.FlushBytes() () +ACM-7 0x0000000041b8e4f8 in System.IO.StreamWriter.FlushCore() () +ACM-8 0x0000000041b90fe0 in System.IO.StreamWriter.Write(szarray, int, in= t) () +ACM-9 0x0000000041b90cf8 in System.IO.CStreamWriter.Write(szarray, int, i= nt) () +ACM-10 0x00007f21b751db10 in () +ACM-11 0x0000000041b90c38 in System.IO.CStreamWriter.Write(szarray) () +ACM-12 0x0000000041b90bfb in System.IO.TextWriter.WriteLine() () +ACM-13 0x0000000041b8f9dd in System.IO.TextWriter.WriteLine(string) () +ACM-14 0x0000000041b8f97c in System.IO.SynchronizedWriter.WriteLine(string= ) () +ACM-15 0x00007f21b751dba0 in () +ACM-16 0x0000000041b8883d in System.Console.WriteLine(string) () +ACM-17 0x0000000041b887f4 in Test.MainClass.Worker(object) () Python Exception +ADw-class 'gdb.error'+AD4- value has been optimized out: It is that last message that+IBk-s causing me grief. It appears there should be more to the message but it+IBk-s not being shown and I am unable to find out where the error is occurring. Is there a way of retrieving this message? Neale