From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Dumping unexec Date: Sat, 20 Apr 2024 22:44:17 +0800 Message-ID: <87zftogkla.fsf@yahoo.com> References: <87il0dqrp7.fsf@gmail.com> <86v84d9rs5.fsf@gnu.org> <87bk64imly.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14674"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , Eli Zaretskii , rpluim@gmail.com, schwab@suse.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 20 16:45:30 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ryBy5-0003UB-JY for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Apr 2024 16:45:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryBxD-0003Vp-Rb; Sat, 20 Apr 2024 10:44:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryBxC-0003VX-6f for emacs-devel@gnu.org; Sat, 20 Apr 2024 10:44:34 -0400 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryBxA-0008QM-MV for emacs-devel@gnu.org; Sat, 20 Apr 2024 10:44:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713624269; bh=wT3xixstx0/CuEc0ZKyyvRJC8NJuavVweALrCC/D1gA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ZP4IvfAf8EkmwEWLHYysj7hV5efnbTGd/iBglIEsJQqHJ3P0+q9/Jg2vsDGm3kisyfZGpD3S0wQq9yCIUnC1K7sOxbOOeB3RTueH7B+ghwxTpUMVlnPFp6JJcS247Z4O2JaokSrNa15WRav1MTgKpJhIst0KT7P5GR8dJFMNbfBSc3JUndWNIrBr49VV7Ih+fjpHWL9yoRMUJrKngOTMTrwfjv/Aq8H2+gbiQMEbEMExBeHwjG9G9fCWUYylTFud1qpPGR8eEO7FX8p+e2+tZezNgnz3Awp5jJZM9hlqC+3DeEOWs2q15LWlsnUZQkXPmOZBWME5p5TuQ7tjganq5w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713624269; bh=nLGiN2c7m93P7wdUBlKSZqLzqEPuYs6Rqiyhtjv2yII=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=U+p+w2a4yF86Z8Pq4PdqmwsSe3OvFMrRHT6A0lO+QpOWSKH3ZYAto3Me5Xh/doagXHrES14QAfXsauQ/dBDITHcZlxzSeU/QgmQJJLVYdsOe1BJBr3RqFiE+tbII6zn45/crNsPqWlLTdFoQLTvYq4uW6I8WN3laB61fYUC3qIRSntaxywzgnARLMfmEpuS3ueBPAissLN7oyy7z7JMI/ESUlGK1UT1aI4+m/NCSbp6/NFaBKf7wdZ25ysvqdpD7s5VVrHUGHJeTu0rSzGDydNpT1oM+JIAmk/a1Ugh5bOvGQC2NUXWjerW8QkfGFTMuJAmxI+jLDB4YXpbmyz0L3Q== X-YMail-OSG: g8ofruYVM1lZxGKWqrH7YXnIAF.l5reuG6iE64MP9n2jyCUB92dA1aqBxBdguDG VplNd06feUfpzPa9Bn5uSHr6WV6j6W.qnNkb60bqEsqwQc2UVjJ3QNfpycwteBPox.UGMD.zGibt 6bWtDHWMy8vjNfyYvelMnRD3WsiMNwNt_t6X70BsD.DyulYRI3S9f1lpCrohmDK1ubTg05pjg39w JbOj_vZdkl9pHrZW57ujPute.M1K7z.JYg9fi2Jl6A8qpYiiKynAZCT8zwi3QL4RTYO4MjlUj4fX 15bqSnYwj2asE4GUGIXQgkthPg.g9XsNwcxXFbgOXYjVRzF1jZh59dbf8Kgthny1AbWKl5abKh4X Mcg2UcZG2x8Ak7jlY7VRn5GGFbztsyHo0AeRzLrz3U.WYPQwCaTlcwCr.daO43ydqelSoLVMyt5l jQ0Ftu6pdWrSLx1Rkb8RffruK5qUsvqjgd5VJHK32bKFUXG21mbBwVDjr0b123Ej88GIyTT0_kDT fxP4I4zS8KU3uVbWBoNdr30r8H9M2B82RNsJ.6sx2KyNRGlOfQUrE_hEsG_SEzBUtCGyAtz1VL1Z AtSuZsvLX0NmxkkHPrH..yC_ekDQsnb2ylBKpVkPJRdkXr_ki_ec11g.oQp547TsVjEekDFA9axA 5GquYbKKLCJsMEKnE0uPkZF58ttYpNyXk8v7Aty1oe0akH2GBSVDMdN4wfkgVv7m4YLwXskCwsIp Q48nTWhGkqY0QR.Hpdb7H1tLFLekzs3h4BW8223RAo9vP9Mlg08mqcafFwCXcjGKtmg4Sqi1cWDL l5XCvc_YXB0eLA73InBx1o_p54miHxoUnxygA5Q5dr X-Sonic-MF: X-Sonic-ID: bcfb2a4e-6466-4261-844c-fd1cfe831c4b Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 Apr 2024 14:44:29 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-5vf9b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c7c41869ff1639edbfd04b5cb8994d57; Sat, 20 Apr 2024 14:44:24 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Sat, 20 Apr 2024 09:43:32 -0400") X-Mailer: WebService/1.1.22256 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.147; envelope-from=luangruo@yahoo.com; helo=sonic303-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317879 Archived-At: Stefan Monnier writes: > IIUC, adding support for the pdumper to these systems should be fairly > simple, consisting mostly of replacing calls to `mmap` with > `malloc+read`. Windows 9x's virtual memory facilities are adequate for the portable dumper, but it crashes at runtime for reasons unknown with debugging a vain endeavor. DJGPP's fall short of what is required to implement mprotect, under the memory extender they distribute, but there I've never tried building the portable dump file loader already implemented in pdumper.c. > Has someone with access to such systems tried that? Easier said than done: debugging Emacs on Windows 9x is a tedious exercise that entails, among other tasks, transferring binaries between the development machine and the target by way of an intermittent connection to a Samba share, which is a hit or miss insofar as success is concerned. Not helping matters is the scarcity of time I can spend with suitable target machines. > Is there some more serious issue? On my last attempt I failed to extract anything approaching an intelligible backtrace from GDB. However, none of these systems are to receive support for the MPS, so why has it suddenly become an issue of immediate importance that unexec be given the axe?