| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 61QDQF0L1098035 |
| Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
| Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 61QDQF0L1098035 |
| Authentication-Results: | delorie.com; |
| dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=eFmhhu2H | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 59D154BA2E16 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1772112374; | |
| bh=rIhGvk2FjG7etwestPt7kLnYltdn/bd/2tdD7kU/Emw=; | |
| h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: | |
| List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: | |
| From:Reply-To:From; | |
| b=eFmhhu2HBhJr237KipON4zq+ksEJCH2Gq4i1jbkW04RKQCjpoN2mO11nJKVaO0mBF | |
| W/K5SzeitfwEipxcmlMMvOA75y3Ii5yX8qT6cfuNsPwkpE008jDVU+UEbbVK5XncaV | |
| cneSrB7Z0Doy+gkjNOdYVpPwNud+gMG5Shsh+Ujg= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 21B134BA2E0F |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 21B134BA2E0F |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1772112355; cv=none; |
| b=nF1Uo33M4QTNo8cqMlrrTBxZfPHXmRBp0f4sYvhEANvWR6IRfgvRWGJSFPKBbbxHS+tyHvHn5Vy2nxJjIZOs7A44M7o552duaf5q5it8JVw14/GzF+7DWApRRks4wLv951NLc3IyzIpIHe+brnQNlkktKtjTfCW6T7LFfWgQHoA= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1772112355; c=relaxed/simple; | |
| bh=BfGFfjQKXWum41kgScb+pFA/oY8/fyHjcMWhBdm6t8M=; | |
| h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; | |
| b=C4bQv6nlHMqsOvl3kirU33bi9tUIOVPhqVp24zjipF5Vx1oXMPOgaNrM7EXylMllTJ75aSEJ4T4UhCBv6XpQ3FGKfgansc1G0v97h+vfZp4MNF5GyPaRKgKp8r01/qsfkaYEm4sAE7Hn1EXCm5/eJn+hnBWirwwhvYtHMX9cgbw= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 21B134BA2E0F |
| X-Barracuda-Envelope-From: | moss AT cs DOT umass DOT edu |
| X-Barracuda-RBL-Trusted-Forwarder: | 128.119.240.136 |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 mailsrv.cs.umass.edu 9168C5BDA9 |
| X-Barracuda-RBL-Trusted-Forwarder: | 172.26.69.67 |
| Message-ID: | <2346fd41-2500-0db6-5849-6788174b5a1d@cs.umass.edu> |
| Date: | Thu, 26 Feb 2026 08:25:53 -0500 |
| MIME-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 |
| Thunderbird/102.15.1 | |
| Subject: | Re: Memmove causing program crashes, giving SIGTRAP in GDB(?) |
| X-ASG-Orig-Subj: | Re: Memmove causing program crashes, giving SIGTRAP in GDB(?) |
| To: | KENNON J CONRAD <kennonconrad AT comcast DOT net>, |
| Dimitry Andric <dimitry AT unified-streaming DOT com> | |
| Cc: | KENNON J CONRAD via Cygwin <cygwin AT cygwin DOT com> |
| References: | <547312365 DOT 1464244 DOT 1771958282029 AT connect DOT xfinity DOT com> |
| <aZ7PrbisVR1R4A7v AT dimstar DOT local DOT net> | |
| <1670201592 DOT 1489273 DOT 1772043520008 AT connect DOT xfinity DOT com> | |
| <e91d8b5b-2690-4271-aa74-e6226440e33d AT SystematicSW DOT ab DOT ca> | |
| <1044918836 DOT 1507810 DOT 1772086967212 AT connect DOT xfinity DOT com> | |
| <1579472684 DOT 1508349 DOT 1772092747339 AT connect DOT xfinity DOT com> | |
| <aaABFf5iEowV1l7I AT xps13> <1148572549 DOT 1808180 DOT 1772097444036 AT mail DOT yahoo DOT com> | |
| <1901597260 DOT 1508573 DOT 1772100378936 AT connect DOT xfinity DOT com> | |
| <0C965DD0-856E-41FF-B5A4-15E472292A32 AT unified-streaming DOT com> | |
| <483908609 DOT 1508714 DOT 1772103775739 AT connect DOT xfinity DOT com> | |
| In-Reply-To: | <483908609.1508714.1772103775739@connect.xfinity.com> |
| X-Barracuda-Connect: | mailsrv.cs.umass.edu[128.119.240.136] |
| X-Barracuda-Start-Time: | 1772112353 |
| X-Barracuda-Encrypted: | TLS_AES_256_GCM_SHA384 |
| X-Barracuda-URL: | https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi |
| X-Barracuda-BRTS-Status: | 1 |
| X-Virus-Scanned: | by bsmtpd at cs.umass.edu |
| X-Barracuda-Scan-Msg-Size: | 915 |
| X-ASG-Debug-ID: | 1772112353-24039d073317a00001-w5GHUG |
| X-Barracuda-Spam-Score: | 0.00 |
| X-Barracuda-Spam-Status: | No, SCORE=0.00 using global scores of TAG_LEVEL=3.5 |
| QUARANTINE_LEVEL=10.0 KILL_LEVEL=9.7 test= | |
| X-Barracuda-Spam-Report: | Code version 3.2, rules version 3.2.3.125474 |
| Rule breakdown below | |
| pts rule name description | |
| ---- ---------------------- -------------------------------------------------- | |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.30 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Eliot Moss via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Eliot Moss <moss AT cs DOT umass DOT edu> |
| Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
On 2/26/2026 6:02 AM, KENNON J CONRAD via Cygwin wrote: > Thanks for checking and sharing your thoughts. This is what I would expect, so at least I'm not crazy :) > I really need to see the values of the registers in memmove, hopefully it's just a matter of continuing to learn gdb. The command is "info registers", of "info r" for short. You can also print an individual register using (say) "print $rax" (prefix the register name by $) or "info r rax". If you're stepping, you can set up a *layout* that shows all the register values as you step along. You also might consider using a reverse debugging tool like the "undo" debugger. They track enough information to allow them to (effectively) execute backwards from a point. Not sure if any work under cygwin, though. By the way, I got the commands for printing individual registers with a simple web search :-) ... HTH -- Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |