From unknown Sun Jun 22 00:03:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28392 <28392@debbugs.gnu.org> To: bug#28392 <28392@debbugs.gnu.org> Subject: Status: 26.0.50; gdb-mi runs into error with tramp Reply-To: bug#28392 <28392@debbugs.gnu.org> Date: Sun, 22 Jun 2025 07:03:55 +0000 retitle 28392 26.0.50; gdb-mi runs into error with tramp reassign 28392 emacs submitter 28392 Zhongwei Yao severity 28392 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 08 10:03:05 2017 Received: (at submit) by debbugs.gnu.org; 8 Sep 2017 14:03:05 +0000 Received: from localhost ([127.0.0.1]:56086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqJs8-00036d-BV for submit@debbugs.gnu.org; Fri, 08 Sep 2017 10:03:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqGuT-00058j-QS for submit@debbugs.gnu.org; Fri, 08 Sep 2017 06:53:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqGuI-0001Vu-Ep for submit@debbugs.gnu.org; Fri, 08 Sep 2017 06:53:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47382) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqGuI-0001Vi-Bh for submit@debbugs.gnu.org; Fri, 08 Sep 2017 06:53:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqGuB-00019u-ET for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2017 06:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqGu4-0001NK-Ti for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2017 06:52:59 -0400 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]:36112) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqGu4-0001MR-DP for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2017 06:52:52 -0400 Received: by mail-lf0-x234.google.com with SMTP id m199so4812375lfe.3 for ; Fri, 08 Sep 2017 03:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=x/z7Ljw0GM4WxfqCUbQXzLevHEY9EdWj3q86Nnx7NgA=; b=lpbhmYVPyeZ7KfnIwfFuF4tcUGCi6dRYL7lHs/UGJrPJjyrGw0+hLsgHvRGNjaNp3C y4l0NphiafkfQkzPg7WPszQvZy2kZ+M8U1GbsahV9S7a1hkPWwlhfvpTFM9mGDU5zwX5 6aI/dCJWGosmRIGQRB7YKukxyip8SYpVdWtX6hKpyyeahMBqPGiz+uFw79EM70p8cMvF vS7LQHirjJ0TI4saYFsYF6rifewqv3qTdKQLwEcFK2c7U7gW5dlU2JQnLkubmB/6mc7r nk94AjWnYIeUUUAtH4b+n8FtWFHJarQJK/mASF6PHD661Jp3pFmhaq3jxzVVDEt7zr/Q 4Jkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x/z7Ljw0GM4WxfqCUbQXzLevHEY9EdWj3q86Nnx7NgA=; b=AO7GZhUzZ2ijBNG43AxouKb2wgRPS3OuSlyVnMrleEfvEWWLH4Q3bj3eLdZufVMUTa tGgD0SBQ5iZHks5fr3TbaUcre9jOCucWZHPk9EXFg/x4hK+iGEB1NezYkIuzawJq0T97 w+HzoF2kfpF8CsI1hXNDSHbRz7BUS78sBzi1u8Rps/sG+Gl1/LX0Hu/t2yhVwHBtCf2b LmrPy2HmSRrIzo7qfWaqA82q96Ei2cFQD8EQtEC1nMV7nosE8BcGDqK8+cS7rsvadcVK ALlmkq9uhFWjDoMTPZ9K3I2L5ft7Zg5e4As2J8GFtAoMMN3PQS6yxCmzQWCnGnhbcX1e +IgA== X-Gm-Message-State: AHPjjUhE8X29wEcSeiNxktfost8t/5zQKn5M22uxzhJa5yybRVHHa0mN PBCQKAs5HiCO+MXliBTAi89BffCvJ9XO27E= X-Google-Smtp-Source: AOwi7QAySNbSfWovCOw/eWyrgdEdHgIv1OEx3OJz9gyRtM1Lw+sgXcV3xJWpxv4759e3PM++uvvuUg7QSLJ7pmnkoUE= X-Received: by 10.46.71.72 with SMTP id u69mr752351lja.182.1504867969153; Fri, 08 Sep 2017 03:52:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.42.87 with HTTP; Fri, 8 Sep 2017 03:52:48 -0700 (PDT) From: Zhongwei Yao Date: Fri, 8 Sep 2017 18:52:48 +0800 Message-ID: Subject: 26.0.50; gdb-mi runs into error with tramp To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="001a11411b84bc3e920558ab60ce" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 08 Sep 2017 10:03:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --001a11411b84bc3e920558ab60ce Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable emacs runs on Mac with tramp . And I have a test project on a remote machine (dev-sever): /home/xxx/project/test_gdb/. It has a simple file: test.c. test.c is compiled by gcc with -O0 -g to test_bin. test.c: 1 int foo(int a, int b) { 2 int c =3D a + b; 3 return c; 4 } 5 6 int main(void) { 7 return foo(3, 4); 8 } Steps: 1. Open test.c on dev-server in emacs 2. run 'M-x gdb' gdb -i=3Dmi test_bin and open gdb-many-window mode. 3. In *gud-test* buffer, run: break 7 4. Run: run and gdb stop at line 7 5. Step into line 7 But the cursor of source buffer will not move at all. And then emacs become irresponsive after running several step commands. I press Ctrl-G several times. Then it returns error: json-read-string: Bad string format: "doesn't start with `\"'!" Here is the backtrace for above error: Debugger entered--Lisp error: (json-string-format "doesn't start with `\"'!") signal(json-string-format ("doesn't start with `\"'!")) json-read-string() json-read-object() apply(json-read-object nil) json-read() gdb-json-read-buffer(nil nil) gdb-json-partial-output() gdb-thread-list-handler-custom() gdb-thread-list-handler() apply(gdb-thread-list-handler nil) (save-current-buffer (set-buffer #) (apply (quote gdb-thread-list-handler) args)) (with-current-buffer # (apply (quote gdb-thread-list-handler) args)) (lambda (&rest args) (with-current-buffer # (apply (quote gdb-thread-list-handler) args)))() gdb-handle-reply(27) gdb-done-or-error("27" done "threads=3D[{id=3D\"1\",target-id=3D\"process 25128\",name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\= ",func=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projec= ts/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\",core=3D\"24\"}= ],current-thread-id=3D\"1\"" t) gdb-done("27" "threads=3D[{id=3D\"1\",target-id=3D\"process 25128\",name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\= ",func=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projec= ts/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\",core=3D\"24\"}= ],current-thread-id=3D\"1\"" t) gdbmi-bnf-incomplete-record-result("27" (gdb-done . progressive)) #[0 "\302\300\301\242\"\207" ["27" ((gdb-done . progressive)) gdbmi-bnf-incomplete-record-result] 3]() gdbmi-bnf-result-and-async-record-impl() gdbmi-bnf-async-record() gdbmi-bnf-out-of-band-record() gdbmi-bnf-output() gud-gdbmi-marker-filter("27^done,threads=3D[{id=3D\"1\",target-id=3D\"pro= cess 25128\",name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\= ",func=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projec= ts/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\",core=3D\"24\"}= ],current-thread-id=3D\"1\"\n(gdb) \n28^done,BreakpointTable=3D{nr_rows=3D\"1\",nr_cols=3D\"6\",hdr=3D[{width= =3D\"7\",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width= =3D\"14\",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width= =3D\"4\",alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width= =3D\"3\",alignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width= =3D\"18\",alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{wid= th=3D\"40\",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body= =3D[bkpt=3D{number=3D\"1\",type=3D\"breakpoint\",disp=3D\"keep\",enabled=3D= \"y\",addr=3D\"0x00000000004004f4\",func=3D\"main\",file=3D\"test.c\",fulln= ame=3D\"/home/xxx/projects/tests/test_gdb/test.c\",line=3D\"7\",thread-grou= ps=3D[\"i1\"],times=3D\"1\",original-location=3D\"/home/xxx/projects/tests/= test_gdb/test.c:7\"}]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done,stack=3D[frame=3D{level=3D\"0\",addr= =3D\"") apply(gud-gdbmi-marker-filter "27^done,threads=3D[{id=3D\"1\",target-id=3D\"process 25128\",name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\= ",func=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projec= ts/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\",core=3D\"24\"}= ],current-thread-id=3D\"1\"\n(gdb) \n28^done,BreakpointTable=3D{nr_rows=3D\"1\",nr_cols=3D\"6\",hdr=3D[{width= =3D\"7\",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width= =3D\"14\",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width= =3D\"4\",alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width= =3D\"3\",alignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width= =3D\"18\",alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{wid= th=3D\"40\",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body= =3D[bkpt=3D{number=3D\"1\",type=3D\"breakpoint\",disp=3D\"keep\",enabled=3D= \"y\",addr=3D\"0x00000000004004f4\",func=3D\"main\",file=3D\"test.c\",fulln= ame=3D\"/home/xxx/projects/tests/test_gdb/test.c\",line=3D\"7\",thread-grou= ps=3D[\"i1\"],times=3D\"1\",original-location=3D\"/home/xxx/projects/tests/= test_gdb/test.c:7\"}]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done,stack=3D[frame=3D{level=3D\"0\",addr= =3D\"") gud-marker-filter("27^done,threads=3D[{id=3D\"1\",target-id=3D\"process 25128\",name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\= ",func=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projec= ts/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\",core=3D\"24\"}= ],current-thread-id=3D\"1\"\n(gdb) \n28^done,BreakpointTable=3D{nr_rows=3D\"1\",nr_cols=3D\"6\",hdr=3D[{width= =3D\"7\",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width= =3D\"14\",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width= =3D\"4\",alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width= =3D\"3\",alignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width= =3D\"18\",alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{wid= th=3D\"40\",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body= =3D[bkpt=3D{number=3D\"1\",type=3D\"breakpoint\",disp=3D\"keep\",enabled=3D= \"y\",addr=3D\"0x00000000004004f4\",func=3D\"main\",file=3D\"test.c\",fulln= ame=3D\"/home/xxx/projects/tests/test_gdb/test.c\",line=3D\"7\",thread-grou= ps=3D[\"i1\"],times=3D\"1\",original-location=3D\"/home/xxx/projects/tests/= test_gdb/test.c:7\"}]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done,stack=3D[frame=3D{level=3D\"0\",addr= =3D\"") gud-filter(# "27^done,threads=3D[{id=3D\"1\",target-id=3D\"process 25128\",name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\= ",func=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projec= ts/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\",core=3D\"24\"}= ],current-thread-id=3D\"1\"\n(gdb) \n28^done,BreakpointTable=3D{nr_rows=3D\"1\",nr_cols=3D\"6\",hdr=3D[{width= =3D\"7\",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width= =3D\"14\",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width= =3D\"4\",alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width= =3D\"3\",alignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width= =3D\"18\",alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{wid= th=3D\"40\",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body= =3D[bkpt=3D{number=3D\"1\",type=3D\"breakpoint\",disp=3D\"keep\",enabled=3D= \"y\",addr=3D\"0x00000000004004f4\",func=3D\"main\",file=3D\"test.c\",fulln= ame=3D\"/home/xxx/projects/tests/test_gdb/test.c\",line=3D\"7\",thread-grou= ps=3D[\"i1\"],times=3D\"1\",original-location=3D\"/home/xxx/projects/tests/= test_gdb/test.c:7\"}]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done,stack=3D[frame=3D{level=3D\"0\",addr= =3D\"") In GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-06-11 built on builder10-9.local Windowing system distributor 'Apple', version 10.3.1504 Recent messages: Warning: arch-dependent data dir =E2=80=99/Users/build/workspace/Emacs-Multi-Build/label/mavericks/emacs-sou= rce/nextstep/Emacs.app/Contents/MacOS/libexec/=E2=80=99: No such file or directory For information about GNU Emacs and the GNU system, type C-h C-a. user-error: Beginning of history; no preceding item user-error: End of history; no default available Quit Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 203699 7694) (symbols 48 19849 1) (miscs 40 71 164) (strings 32 18182 5316) (string-bytes 1 600826) (vectors 16 34880) (vector-slots 8 694435 4243) (floats 8 49 67) (intervals 56 194 0) (buffers 976 12)) --001a11411b84bc3e920558ab60ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
emacs runs on Mac with tramp . And I have a test proj= ect on a remote
machine (dev-sever): /home/xxx/project/test_gdb/.= It has a simple file: test.c. test.c is compiled by gcc with -O0 -g to tes= t_bin.=C2=A0

test.c:
1 int foo(int a, in= t b) {
2 =C2=A0int c =3D a + b;
3 =C2=A0return c;
=
4 }
5
6 int main(void) {
7 =C2=A0return = foo(3, 4);
8 }

Steps:
1. Open = test.c on dev-server in emacs
2. run 'M-x gdb' =C2=A0gdb = -i=3Dmi test_bin and open gdb-many-window mode.
3. In *gud-test* = buffer, run: break 7
4. Run: run and gdb stop at line 7
5. Step into line 7

But the cursor of source buff= er will not move at all. And then emacs become irresponsive after running s= everal step commands. I press Ctrl-G several times. Then it returns error: = json-read-string: Bad string format: "doesn't start with `\"&= #39;!"

Here is the backtrace for above error:=

Debugger entered--Lisp error: (json-string-format= "doesn't start with `\"'!")
=C2=A0 signal= (json-string-format ("doesn't start with `\"'!"))
=C2=A0 json-read-string()
=C2=A0 json-read-object()
=
=C2=A0 apply(json-read-object nil)
=C2=A0 json-read()
<= div>=C2=A0 gdb-json-read-buffer(nil nil)
=C2=A0 gdb-json-partial-= output()
=C2=A0 gdb-thread-list-handler-custom()
=C2=A0= gdb-thread-list-handler()
=C2=A0 apply(gdb-thread-list-handler n= il)
=C2=A0 (save-current-buffer (set-buffer #<buffer *threads = of test*>) (apply (quote gdb-thread-list-handler) args))
=C2= =A0 (with-current-buffer #<buffer *threads of test*> (apply (quote gd= b-thread-list-handler) args))
=C2=A0 (lambda (&rest args) (wi= th-current-buffer #<buffer *threads of test*> (apply (quote gdb-threa= d-list-handler) args)))()
=C2=A0 gdb-handle-reply(27)
= =C2=A0 gdb-done-or-error("27" done "threads=3D[{id=3D\"= 1\",target-id=3D\"process 25128\",name=3D\"test\",= frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\",fu= nc=3D\"main\",args=3D[],file=3D\"test.c\",fullname=3D\&= quot;/home/xxx/projects/tests/test_gdb/test.c\",line=3D\"7\"= },state=3D\"stopped\",core=3D\"24\"}],current-thread-id= =3D\"1\"" t)
=C2=A0 gdb-done("27" "= threads=3D[{id=3D\"1\",target-id=3D\"process 25128\",na= me=3D\"test\",frame=3D{level=3D\"0\",addr=3D\"0x00= 000000004004f4\",func=3D\"main\",args=3D[],file=3D\"tes= t.c\",fullname=3D\"/home/xxx/projects/tests/test_gdb/test.c\"= ;,line=3D\"7\"},state=3D\"stopped\",core=3D\"24\&q= uot;}],current-thread-id=3D\"1\"" t)
=C2=A0 gdbmi-= bnf-incomplete-record-result("27" (gdb-done . progressive))
=
=C2=A0 #[0 "\302\300\301\242\"\207" ["27" ((g= db-done . progressive)) gdbmi-bnf-incomplete-record-result] 3]()
= =C2=A0 gdbmi-bnf-result-and-async-record-impl()
=C2=A0 gdbmi-bnf-= async-record()
=C2=A0 gdbmi-bnf-out-of-band-record()
= =C2=A0 gdbmi-bnf-output()
=C2=A0 gud-gdbmi-marker-filter("27= ^done,threads=3D[{id=3D\"1\",target-id=3D\"process 25128\&qu= ot;,name=3D\"test\",frame=3D{level=3D\"0\",addr=3D\&quo= t;0x00000000004004f4\",func=3D\"main\",args=3D[],file=3D\&qu= ot;test.c\",fullname=3D\"/home/xxx/projects/tests/test_gdb/test.c= \",line=3D\"7\"},state=3D\"stopped\",core=3D\"= ;24\"}],current-thread-id=3D\"1\"\n(gdb) \n28^done,Breakpoin= tTable=3D{nr_rows=3D\"1\",nr_cols=3D\"6\",hdr=3D[{width= =3D\"7\",alignment=3D\"-1\",col_name=3D\"number\&q= uot;,colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\&qu= ot;-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{wi= dth=3D\"4\",alignment=3D\"-1\",col_name=3D\"disp\&= quot;,colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\&q= uot;-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},= {width=3D\"18\",alignment=3D\"-1\",col_name=3D\"ad= dr\",colhdr=3D\"Address\"},{width=3D\"40\",alignme= nt=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\&qu= ot;}],body=3D[bkpt=3D{number=3D\"1\",type=3D\"breakpoint\&qu= ot;,disp=3D\"keep\",enabled=3D\"y\",addr=3D\"0x000= 00000004004f4\",func=3D\"main\",file=3D\"test.c\",= fullname=3D\"/home/xxx/projects/tests/test_gdb/test.c\",line=3D\&= quot;7\",thread-groups=3D[\"i1\"],times=3D\"1\",or= iginal-location=3D\"/home/xxx/projects/tests/test_gdb/test.c:7\"}= ]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done,stack=3D[frame=3D{level=3D= \"0\",addr=3D\"")
=C2=A0 apply(gud-gdbmi-mark= er-filter "27^done,threads=3D[{id=3D\"1\",target-id=3D\"= ;process 25128\",name=3D\"test\",frame=3D{level=3D\"0\&= quot;,addr=3D\"0x00000000004004f4\",func=3D\"main\",arg= s=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/projects/tes= ts/test_gdb/test.c\",line=3D\"7\"},state=3D\"stopped\&q= uot;,core=3D\"24\"}],current-thread-id=3D\"1\"\n(gdb) \= n28^done,BreakpointTable=3D{nr_rows=3D\"1\",nr_cols=3D\"6\&q= uot;,hdr=3D[{width=3D\"7\",alignment=3D\"-1\",col_name= =3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\&quo= t;,alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\&qu= ot;Type\"},{width=3D\"4\",alignment=3D\"-1\",col_n= ame=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\&qu= ot;,alignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D= \"Enb\"},{width=3D\"18\",alignment=3D\"-1\",c= ol_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\&quo= t;40\",alignment=3D\"2\",col_name=3D\"what\",colhd= r=3D\"What\"}],body=3D[bkpt=3D{number=3D\"1\",type=3D\&= quot;breakpoint\",disp=3D\"keep\",enabled=3D\"y\",= addr=3D\"0x00000000004004f4\",func=3D\"main\",file=3D\&= quot;test.c\",fullname=3D\"/home/xxx/projects/tests/test_gdb/test= .c\",line=3D\"7\",thread-groups=3D[\"i1\"],times= =3D\"1\",original-location=3D\"/home/xxx/projects/tests/test= _gdb/test.c:7\"}]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done,stack= =3D[frame=3D{level=3D\"0\",addr=3D\"")
=C2=A0= gud-marker-filter("27^done,threads=3D[{id=3D\"1\",target-id= =3D\"process 25128\",name=3D\"test\",frame=3D{level=3D\= "0\",addr=3D\"0x00000000004004f4\",func=3D\"main\&= quot;,args=3D[],file=3D\"test.c\",fullname=3D\"/home/xxx/pro= jects/tests/test_gdb/test.c\",line=3D\"7\"},state=3D\"s= topped\",core=3D\"24\"}],current-thread-id=3D\"1\"= \n(gdb) \n28^done,BreakpointTable=3D{nr_rows=3D\"1\",nr_cols=3D\&= quot;6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",= col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"= ;14\",alignment=3D\"-1\",col_name=3D\"type\",colhd= r=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\&quo= t;,col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\&qu= ot;3\",alignment=3D\"-1\",col_name=3D\"enabled\",c= olhdr=3D\"Enb\"},{width=3D\"18\",alignment=3D\"-1\= ",col_name=3D\"addr\",colhdr=3D\"Address\"},{width= =3D\"40\",alignment=3D\"2\",col_name=3D\"what\&quo= t;,colhdr=3D\"What\"}],body=3D[bkpt=3D{number=3D\"1\",t= ype=3D\"breakpoint\",disp=3D\"keep\",enabled=3D\"y= \",addr=3D\"0x00000000004004f4\",func=3D\"main\",f= ile=3D\"test.c\",fullname=3D\"/home/xxx/projects/tests/test_= gdb/test.c\",line=3D\"7\",thread-groups=3D[\"i1\"]= ,times=3D\"1\",original-location=3D\"/home/xxx/projects/test= s/test_gdb/test.c:7\"}]}\n(gdb) \n29^done,locals=3D[]\n(gdb) \n30^done= ,stack=3D[frame=3D{level=3D\"0\",addr=3D\"")
= =C2=A0 gud-filter(#<process gud-test> "27^done,threads=3D[{id=3D= \"1\",target-id=3D\"process 25128\",name=3D\"test\= ",frame=3D{level=3D\"0\",addr=3D\"0x00000000004004f4\&q= uot;,func=3D\"main\",args=3D[],file=3D\"test.c\",fullna= me=3D\"/home/xxx/projects/tests/test_gdb/test.c\",line=3D\"7= \"},state=3D\"stopped\",core=3D\"24\"}],current-th= read-id=3D\"1\"\n(gdb) \n28^done,BreakpointTable=3D{nr_rows=3D\&q= uot;1\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alig= nment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Nu= m\"},{width=3D\"14\",alignment=3D\"-1\",col_name= =3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"= ;Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_nam= e=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"18\&q= uot;,alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\&= quot;Address\"},{width=3D\"40\",alignment=3D\"2\",= col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[bkpt=3D= {number=3D\"1\",type=3D\"breakpoint\",disp=3D\"kee= p\",enabled=3D\"y\",addr=3D\"0x00000000004004f4\",= func=3D\"main\",file=3D\"test.c\",fullname=3D\"/ho= me/xxx/projects/tests/test_gdb/test.c\",line=3D\"7\",thread-= groups=3D[\"i1\"],times=3D\"1\",original-location=3D\&q= uot;/home/xxx/projects/tests/test_gdb/test.c:7\"}]}\n(gdb) \n29^done,l= ocals=3D[]\n(gdb) \n30^done,stack=3D[frame=3D{level=3D\"0\",addr= =3D\"")



In= GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin13.4.0, NS appkit-1265.21 V= ersion 10.9.5 (Build 13F1911))
=C2=A0of 2017-06-11 built on build= er10-9.local
Windowing system distributor 'Apple', versio= n 10.3.1504
Recent messages:
Warning: arch-dependent da= ta dir =E2=80=99/Users/build/workspace/Emacs-Multi-Build/label/mavericks/em= acs-source/nextstep/Emacs.app/Contents/MacOS/libexec/=E2=80=99: No such fil= e or directory

For information about GNU Emacs and= the GNU system, type C-h C-a.
user-error: Beginning of history; = no preceding item
user-error: End of history; no default availabl= e
Quit

Configured using:
=C2= =A0'configure --with-ns '--enable-locallisppath=3D/Library/Applicat= ion
=C2=A0Support/Emacs/${version}/site-lisp:/Library/Application=
=C2=A0Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZL= IB TOOLKIT_SCROLL_BARS NS MODULES

Important settin= gs:
=C2=A0 value of $LC_ALL: en_US.UTF-8
=C2=A0 value o= f $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor= modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-= eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mou= se-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-ba= r-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global= -font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 a= uto-composition-mode: t
=C2=A0 auto-encryption-mode: t
= =C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-only: t
<= div>=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message sub= r-x puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs = cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-s= ec password-cache epa derived epg
epg-config gnus-util rmail rmai= l-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 maila= bbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm= -util mail-prsvr mail-utils thingatpt time-date
tooltip eldoc ele= ctric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/ns= -win ns-win ucs-normalize mule-util term/common-win
tool-bar dnd = fontset image regexp-opt fringe tabulated-list replace
newcomment= text-mode elisp-mode lisp-mode prog-mode register page
menu-bar = rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-l= ock syntax facemenu font-core term/tty-colors frame cl-generic
ch= am georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
=
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript char= prop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray= minibuffer
cl-preloaded nadvice loaddefs button faces cus-face m= acroexp files
text-properties overlay sha1 md5 base64 format env = code-pages mule
custom widget hashtable-print-readable backquote = kqueue cocoa ns
multi-tty make-network-process emacs)
<= br>
Memory information:
((conses 16 203699 7694)
<= div>=C2=A0(symbols 48 19849 1)
=C2=A0(miscs 40 71 164)
= =C2=A0(strings 32 18182 5316)
=C2=A0(string-bytes 1 600826)
=
=C2=A0(vectors 16 34880)
=C2=A0(vector-slots 8 694435 4243)<= /div>
=C2=A0(floats 8 49 67)
=C2=A0(intervals 56 194 0)
=
=C2=A0(buffers 976 12))

--001a11411b84bc3e920558ab60ce-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 05:57:39 2020 Received: (at 28392) by debbugs.gnu.org; 30 Nov 2020 10:57:39 +0000 Received: from localhost ([127.0.0.1]:53671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjgsE-0006V7-SO for submit@debbugs.gnu.org; Mon, 30 Nov 2020 05:57:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjgsD-0006Ur-9v for 28392@debbugs.gnu.org; Mon, 30 Nov 2020 05:57:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7mYj3WbZlzMHpvvUadRc8yXpFHKtQ7kfcVu7M9U+wdw=; b=HuazS45cSkqqPglTvPBKgX8lVB 6nbUVmG2RwxLD40FZuK/KEHrH3L8Sk+FTMlGotFLyC42jsuv1CfL2+SikxDITUXQym8GdNfFm3SWq kJwN6vLEaqJf1kNb1Kxn+ZnfmmSKzIyRl2gb7hyCMaa+wWJEwn3NvPs+qwF4UkhYgS3E=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjgs4-0007xg-So; Mon, 30 Nov 2020 11:57:31 +0100 From: Lars Ingebrigtsen To: Zhongwei Yao Subject: Re: bug#28392: 26.0.50; gdb-mi runs into error with tramp References: X-Now-Playing: Lightning Bolt's _Sonic Citadel_: "Van Halen 2049" Date: Mon, 30 Nov 2020 11:57:27 +0100 In-Reply-To: (Zhongwei Yao's message of "Fri, 8 Sep 2017 18:52:48 +0800") Message-ID: <87h7p7cdt4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Zhongwei Yao writes: > Steps: > 1. Open test.c on dev-server in emacs > 2. run 'M-x gdb' gdb -i=mi test_bin and open gdb-many-window mode. > 3. In *gud-test* buffer, run: break 7 > 4. Run: run and gdb stop at line 7 > 5. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28392 Cc: 28392@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Zhongwei Yao writes: > Steps: > 1. Open test.c on dev-server in emacs > 2. run 'M-x gdb' gdb -i=mi test_bin and open gdb-many-window mode. > 3. In *gud-test* buffer, run: break 7 > 4. Run: run and gdb stop at line 7 > 5. Step into line 7 > > But the cursor of source buffer will not move at all. And then emacs become > irresponsive after running several step commands. I press Ctrl-G > several times (This bug report unfortunately got no response at the time.) I vaguely remember seeing a bug report about gdb and Tramp, so this may or may not have been fixed in the years since this was reported. Are you still seeing this problem in Emacs 28? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 05:57:45 2020 Received: (at control) by debbugs.gnu.org; 30 Nov 2020 10:57:45 +0000 Received: from localhost ([127.0.0.1]:53674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjgsL-0006VQ-3Q for submit@debbugs.gnu.org; Mon, 30 Nov 2020 05:57:45 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjgsJ-0006Ux-Jx for control@debbugs.gnu.org; Mon, 30 Nov 2020 05:57:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9Zrpaiz9ATg9ZXIRHsRo3ZBFWupIBdLlluVvJvB1YH0=; b=f+5Kuy/9iUU59AwV28SYgB3CVw I+49C/vx3T89FgktrOcsg9J15AArP/ayJhcQNMSwbxiNqVQOjXzSJhxNhas9XJ8fW1HUxnW6OgFyA VRi9bl7Nt9AMObzSf3S5/DZwy9UNWvprOhXNIezl38udmOEDURuDXQxFL4wQpmzkVLlk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjgsA-0007xo-Df for control@debbugs.gnu.org; Mon, 30 Nov 2020 11:57:36 +0100 Date: Mon, 30 Nov 2020 11:57:33 +0100 Message-Id: <87ft4rcdsy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28392 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 28392 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 28392 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 06:44:45 2020 Received: (at control) by debbugs.gnu.org; 30 Nov 2020 11:44:45 +0000 Received: from localhost ([127.0.0.1]:53842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhbo-0006Q2-Od for submit@debbugs.gnu.org; Mon, 30 Nov 2020 06:44:45 -0500 Received: from mout.gmx.net ([212.227.17.22]:36715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhbm-0006Pm-OI for control@debbugs.gnu.org; Mon, 30 Nov 2020 06:44:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606736676; bh=cTaDamxwHyeWCxfSIDazmuwmHlxI0zRjSEBljRZoq+g=; h=X-UI-Sender-Class:Date:To:From:Subject; b=Fo4ULAZwOiFT+/qRyPxHdKA9IyMKHs2IDfZ6QlyZC/GJqyjm8p5uDWSeCRnG0ZUC2 cVicR0Fp+X877swaF65jWbK/jI+s0U5O8h5gXI9vt/wKDLyTvWd3Z8nsr/VCPGJkfa VelYR7gmZQ+39sHlEEFa+AKECVElYB4HLq4NGhm4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.158.180]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Ml6qC-1kKITQ1HlE-00lUV9 for ; Mon, 30 Nov 2020 12:44:36 +0100 Date: Mon, 30 Nov 2020 12:44:35 +0100 Message-Id: <87lfej3w7w.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #44151 X-Provags-ID: V03:K1:j3KJjnqgN3kTtM9rIjbAidxutDY32dqvUhXBkL17rGKJ4m7w6ym cFcdAvg8kdQ7FlYX9bDKEEeaBSBoZLV8l+Aq00xR4AMKHNuMwAaQIVX986UUEcEKYKOQKK7 77+56H6XblcSnKtG6iHtl1ffzAxJn8yYL6ZvtQJoaa3Ax0NaPPgvIVQUarNMpKlhLTg+ug9 6E5m5iXdaNggp0iz4Zw+g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Tm8ipyIYWAo=:X5sDuativfG0IDO0ffvL5U yDZPGLsk65g4i1EWDXPq5ffO6iLfOlQVRHTxjio/r9NMYZt3l/QoE1kGA8XVsruzJ5WTmgM/c zIxKWcVlUCu/k/k95KwPy4uNI20nichbNEX/s8zJJA8fMYuUvTf0Jr0EnLG248othZOkzncJ+ 5njwlZeCbvprI4Yyb433C5X1JHzNHoYKmkJZrAzTZU3gHyhdbMhCy3iFDMlvFYejPe3wNLZnq yUj2TjJZmAxlg4X8UZdUtaf1L9l4267TIsrq/eOyaJ94e/ZPlg0+Qw8PbQXocjIUuTedgUmht mfgj79sQt089upw3y98wIDg8uKj410puAywrFTO2F/+tOW/6iLO1HGyrm4DaysuYqb6DBaNGE qarWX1xTeJb3Z52Bk948+wa+csUKJJBSNcp9c7/JBX1h7XoMisEAhTUBjkrp6GoFtJ8whrVYu +eAH9xw8Fyx6TLuUkvd7GuEYzlDDaPghE6HZvHDsVOQrJYBMd8B6bHmZBqQC26FZfHEyYCg8G beKuR4FkkBAd3qwEcF1gdlFOYBAomxpuOmqpAVhHXIM3MWtw+BbfrWRbxpihjaLh7c+j1yBCk ZZGwfQ0jKiYirr3ed2DmQipCwrAm7C1Q91d2MkMCUq0mTFRGHznHF3iNzRi5RXlUrG25htsnA crrGaXOJgqtS0M/FY0FPe4HoO1q+1d3T7P3j40n560owY5bVIYrGtjYXgR4OEc5sDDMYHtpcm aR9ZiXgfSHoXowP6GgrK8KC5GjqMMyL1+oB4CgctLH8z4PpbMLzEuXstBLCpA25Lh8vPEZITU WrQUHtZp3plJh2nfYKbUa5jb6rXzhZLR+ZQz6lMG0vpvfP1U0/7M+9eSqEu3CiCrBD2lA0rBt 9Jj/vyGcN00rFdZ7ph6A== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) merge 44151 28392 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 06:48:40 2020 Received: (at 28392) by debbugs.gnu.org; 30 Nov 2020 11:48:41 +0000 Received: from localhost ([127.0.0.1]:53881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhfc-0000EM-NX for submit@debbugs.gnu.org; Mon, 30 Nov 2020 06:48:40 -0500 Received: from mout.gmx.net ([212.227.15.19]:34599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhfa-0000E6-DB for 28392@debbugs.gnu.org; Mon, 30 Nov 2020 06:48:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606736912; bh=lAKhcpuHIAbU5zfpNsNGgHQ7FPWsCrrZWCn4yoV94K4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jeFcfudKrz2Lf1JimKjBHME1XaqrCFyb8g5VTFVi2kOn8QVxiK4scu3CjsNTTrfsS FsLQ8GXJUe0018aIUAqQ3UhLj6f9Umblnz5qxLjuB5q25ewKp+501VtU9kafLzgxMX H31bctyEo2hKsRwhcv9aXpcXoUZHvtzghGyupUME= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.158.180]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mn2aD-1kIvVX06dT-00k4VY; Mon, 30 Nov 2020 12:48:32 +0100 From: Michael Albinus To: Lars Ingebrigtsen Subject: Re: bug#28392: 26.0.50; gdb-mi runs into error with tramp References: <87h7p7cdt4.fsf@gnus.org> Date: Mon, 30 Nov 2020 12:48:31 +0100 In-Reply-To: <87h7p7cdt4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 30 Nov 2020 11:57:27 +0100") Message-ID: <87k0u33w1c.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:++MOKuBMC6hPxWUMfY0AQBHioolQpFdktASyXFmVHJFxFWCTwfE fP/l413y2UzkPAlT2xZ2NdSnY4fb5xJHLcAucb4AoztlxlLUT93tActHJc8ehp1SPbcnuvv 7ZUse75Ua3XHCdAQluTVeNJpNqCwCWCqL+ATmMNH4CCsvx/F6CjuWsuiNO6FVhoI+WjtoJi pbNLYM2bLQqatKjQ1I8Bw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gT6afZMExzs=:VvWIXejm6j0Qrh6RpBJaUo lWaIqoAKEzv9SC3o6B6g+G4uqBQnSniMu79znNZ7ZwOIFD+T4RBiH4cC85D9FbEm2vbXZx0K9 S5noYHVZpvIkpoVDg4l2+z3dj2tRKa6s+jvVVw4l2sh0viju8M63bVoMyqVKLnaWXgBgET+FD f9gWS3jy1dt7alm/UOFuhsDi/7uxizFDjPm414OefkU3o3EvMi0SK8PVA99ccMaVGVZoMuXaX tR/B0PuFw1i/APKMOnELGRVkC39v/2iAPhz/v9wn0CC//7rPXgv+EUyAfYYHMcmoMtudVxQBM TkYi1w78IuMWs5Ni9+w9FQZWcuCfB6fwkIAj4DfdMqzt4/3LOSCU61swWdbErr81VpYGMa+QA txsXFFtGlYj0xpNazwUayBu1o1xWeEZ1NqWHf4IbYF7/rRTfJlMgRQGv5lI2DsJUklOwPMF2q L05dUOteiMOD33yP9lK9v3ALEe0eQ6puZu2ccinQnOE9eHkYVjesa2R0m4rYo5j5DDPV+QBq8 4Ty1bNhetygWjOsOK1lryT8i/Y0CCeeMouDx2mHWPzk3EsrNmvMKpjvkxEgQZuF+cEcBOTGmk kwopUkaF4ZhrYy4+V0W5kJqBUESZewKNHCGMVEMmEXJ6mMknk1QhLQ+w88QWn6FujMqWsl7L9 hArpyl1oA/dPZbw50V596y2GiXvJDc0gAOmpxAvwxfTuE32ne91jM9dmHPQZyAleCpmON19V1 X7d+jjfnDH5qBmnckVGxDzzRJbIzSmulnYTPSs9mKLXk0fmZUiWI37jzS1YfbZlNEvyecTczE dMqTPYey98pWn0YEpwUMAjWhw2Mr97BZiH59PFYWyHjqlEqHZZ9FTTvUKmtKS7J+hf4trmt65 gEG6JBj4mGskuVZ88K3w== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28392 Cc: 28392@debbugs.gnu.org, Zhongwei Yao X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: Hi, >> Steps: >> 1. Open test.c on dev-server in emacs >> 2. run 'M-x gdb' gdb -i=mi test_bin and open gdb-many-window mode. >> 3. In *gud-test* buffer, run: break 7 >> 4. Run: run and gdb stop at line 7 >> 5. Step into line 7 >> >> But the cursor of source buffer will not move at all. And then emacs become >> irresponsive after running several step commands. I press Ctrl-G >> several times > > I vaguely remember seeing a bug report about gdb and Tramp, so this may > or may not have been fixed in the years since this was reported. Are > you still seeing this problem in Emacs 28? Bug#44151. The Tramp part is solved in Emacs' master branch, but there's still something left for the gdb part. I've merged both bugs. (Unfortunately, I'm not a gdb-mi.el expert). Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 14 12:16:48 2020 Received: (at control) by debbugs.gnu.org; 14 Dec 2020 17:16:48 +0000 Received: from localhost ([127.0.0.1]:54124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1korSq-0001DL-3U for submit@debbugs.gnu.org; Mon, 14 Dec 2020 12:16:48 -0500 Received: from quimby.gnus.org ([95.216.78.240]:45376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1korSo-000180-KP for control@debbugs.gnu.org; Mon, 14 Dec 2020 12:16:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=g1Xy4M1PhM3vyMJ5R/QazeZuza92b+N3ftfm8BYKIjE=; b=jIctbpvbvDEKcqJJBhbCztFbBx 6J7O+all2ucNI8Yl84LZZdPHAmA4RMThGUt6mYgO3tXmKS1VzCF8SuvRXpNQNLtHUnwxUrdO+N6sO 4iqWKyuqkRDK7sDs4UkXOyTyz90sc9s/8Cj4c0NtcYqOr/GtVPX668PKWj1qZU/JvHTM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1korSh-00050p-23 for control@debbugs.gnu.org; Mon, 14 Dec 2020 18:16:41 +0100 Date: Mon, 14 Dec 2020 18:16:38 +0100 Message-Id: <87tusoxq89.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #44151 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 44151 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 44151 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 16 03:11:45 2021 Received: (at 28392) by debbugs.gnu.org; 16 Apr 2021 07:11:45 +0000 Received: from localhost ([127.0.0.1]:39933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXIdk-0002SH-Is for submit@debbugs.gnu.org; Fri, 16 Apr 2021 03:11:45 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:43817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXGdQ-0007ML-6N for 28392@debbugs.gnu.org; Fri, 16 Apr 2021 01:03:16 -0400 Received: by mail-pg1-f179.google.com with SMTP id p12so18421653pgj.10 for <28392@debbugs.gnu.org>; Thu, 15 Apr 2021 22:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UXhBJhxvIa+KiQPbiLHVCGmsM4VdiYkSUzNhOXPj+b0=; b=FoWLbw5j68r1IpvRRAMZlk7XgQgG5BscOK50kkTuKNo8RQFsNgriyKKIKYgKL2avlY KcoHhmlh8XXl1Lu30ip1Cv6k+QT+n31C1DZrFMNKz2B9vCGzOcOstRuG5PT+YDmfegCu VEXRlaCdt846lTjN6kjcgljiEcrEgL2OFcfqkCNIKfPryHhOHbrl4caX2crheY/kxR6A URFYUtdG2rYoCCx0l4zEOPZ5VtnObxe4jjh7P4NfeYThE//JoDR0zD5lUO312cKts6R8 1DQqFdzYcVo5/xK2495SAzPcuXVtwHx6/EaPEl2LUOB6DqTcvBhzVxJZLHDTZdIEUet+ WEPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UXhBJhxvIa+KiQPbiLHVCGmsM4VdiYkSUzNhOXPj+b0=; b=CKlzGDZM1qx/9Qsu074DPrIeMP7jJlKieAD+/UOpSAd0LdOuPaDX+SaMSlM1Sq24eK 5iZcyQ6WCroavQAeAouuH3Ii4BMXsGYMyfMDdo7qVsvXSt+vu9RArQBOL5FXgpTjfFAN 9iJFq4GrrkuXBPztTYoW2PgiWM9OuhZ/z/XscYFH1sUw8u6iMCRvOSpsd49W3i1piFLx vVXvzuk7QZrJZCtRRS2QRyQtwbjyovtGaT4H3ZVISNGdZSjMsjcBpQ29IWwzWs5gssDQ uPd4x69zJQcKybGNZQbERHGBgv8OHQxGAiaKvR5DylFFVa7LMPi2di489tN3buuOG3iu CxGQ== X-Gm-Message-State: AOAM532t396HMTI64BJMFfZRVkmYQ2dwpUrEQKdYnuQOM6JrZ8vcso4A ldpcjFLvy2egfhDZXvccuyclbzl2JBDX1r4bkF1d5VhA64s= X-Google-Smtp-Source: ABdhPJw9RzGk1xmRpYcYsp94uvbx+gaip9RfchFYIJ9CigvbFr4joOlIC/ryFP4gsJmdi9qfqzsJ0Jbk29TKq2MDnto= X-Received: by 2002:a65:47ca:: with SMTP id f10mr6571641pgs.206.1618549390383; Thu, 15 Apr 2021 22:03:10 -0700 (PDT) MIME-Version: 1.0 From: Jim Porter Date: Thu, 15 Apr 2021 22:03:00 -0700 Message-ID: Subject: Re: bug#28392: 26.0.50; gdb-mi runs into error with tramp To: 28392@debbugs.gnu.org Content-Type: multipart/mixed; boundary="00000000000077340005c00fe5eb" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28392 X-Mailman-Approved-At: Fri, 16 Apr 2021 03:11:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000077340005c00fe5eb Content-Type: text/plain; charset="UTF-8" Attached are patches to fix this in Emacs 27 and 28; they're essentially the same, but with slightly different contexts around the diff. I'm not sure if this is wanted for Emacs 27, but it's a small bugfix, and combined with my patch in bug#39408 (and the GNU ELPA version of Tramp to fix bug#44151), M-x gdb should work correctly for Tramp. For Emacs 28, this is the only outstanding issue (that I know of) preventing M-x gdb from working with Tramp. The problem here was that `gud-last-frame', set in `gdb-frame-handler', expects a local file path, so the full Tramp path was confusing it. (Note: I have a couple of patches in Tramp already that put me at the limit for patches without copyright assignment paperwork. However, I've already requested the form.) --00000000000077340005c00fe5eb Content-Type: application/octet-stream; name="0002-Emacs-27-Fix-GUD-overlay-arrows-in-M-x-gdb-when-debugging-ove.patch" Content-Disposition: attachment; filename="0002-Emacs-27-Fix-GUD-overlay-arrows-in-M-x-gdb-when-debugging-ove.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_knjubosl1 RnJvbSA3N2QwZjFmNzUzZTBlMDhkZGMxNzUxYWJiNjYxNWM5ZmQyNDUzZGU2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5jb20+CkRh dGU6IFRodSwgMTUgQXByIDIwMjEgMjE6Mzk6MzkgLTA3MDAKU3ViamVjdDogW1BBVENIIDIvMl0g Rml4IEdVRCBvdmVybGF5IGFycm93cyBpbiBNLXggZ2RiIHdoZW4gZGVidWdnaW5nIG92ZXIKIFRy YW1wCgoqIGxpc3AvcHJvZ21vZGVzL2dkYi1taS5lbCAoZ2RiLWZyYW1lLWhhbmRsZXIpOiBVc2Ug bG9jYWwgcGFydCBvZgpmaWxlIG5hbWUgd2hlbiBzZXR0aW5nIGBndWQtbGFzdC1mcmFtZScuCi0t LQogbGlzcC9wcm9nbW9kZXMvZ2RiLW1pLmVsIHwgMiArLQogMSBmaWxlIGNoYW5nZWQsIDEgaW5z ZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvZ2Ri LW1pLmVsIGIvbGlzcC9wcm9nbW9kZXMvZ2RiLW1pLmVsCmluZGV4IDFiMjY0MmZhZTcuLjUxYTIz N2EzOGUgMTAwNjQ0Ci0tLSBhL2xpc3AvcHJvZ21vZGVzL2dkYi1taS5lbAorKysgYi9saXNwL3By b2dtb2Rlcy9nZGItbWkuZWwKQEAgLTQzNzYsNyArNDM3Niw3IEBAIG92ZXJsYXkgYXJyb3cgaW4g c291cmNlIGJ1ZmZlci4iCiAgIChsZXQgKChmcmFtZSAoYmluZGF0LWdldC1maWVsZCAoZ2RiLWpz b24tcGFydGlhbC1vdXRwdXQpICdmcmFtZSkpKQogICAgICh3aGVuIGZyYW1lCiAgICAgICAoc2V0 cSBnZGItc2VsZWN0ZWQtZnJhbWUgKGJpbmRhdC1nZXQtZmllbGQgZnJhbWUgJ2Z1bmMpKQotICAg ICAgKHNldHEgZ2RiLXNlbGVjdGVkLWZpbGUgKGJpbmRhdC1nZXQtZmllbGQgZnJhbWUgJ2Z1bGxu YW1lKSkKKyAgICAgIChzZXRxIGdkYi1zZWxlY3RlZC1maWxlIChmaWxlLWxvY2FsLW5hbWUgKGJp bmRhdC1nZXQtZmllbGQgZnJhbWUgJ2Z1bGxuYW1lKSkpCiAgICAgICAoc2V0cSBnZGItZnJhbWUt bnVtYmVyIChiaW5kYXQtZ2V0LWZpZWxkIGZyYW1lICdsZXZlbCkpCiAgICAgICAoc2V0cSBnZGIt ZnJhbWUtYWRkcmVzcyAoYmluZGF0LWdldC1maWVsZCBmcmFtZSAnYWRkcikpCiAgICAgICAobGV0 ICgobGluZSAoYmluZGF0LWdldC1maWVsZCBmcmFtZSAnbGluZSkpKQotLSAKMi4yNS4xCgo= --00000000000077340005c00fe5eb Content-Type: application/octet-stream; name="0001-Emacs-28-Fix-GUD-overlay-arrows-in-gdb-mi-when-debugging-over.patch" Content-Disposition: attachment; filename="0001-Emacs-28-Fix-GUD-overlay-arrows-in-gdb-mi-when-debugging-over.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_knjubosd0 RnJvbSBlMWZmOWY5MTE1MGM1ZDhiMTE5NTRjNTllNDI0MDA2MzYxNjAzM2U5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5jb20+CkRh dGU6IFRodSwgMTUgQXByIDIwMjEgMjA6MzY6NDMgLTA3MDAKU3ViamVjdDogW1BBVENIXSBGaXgg R1VEIG92ZXJsYXkgYXJyb3dzIGluIGdkYi1taSB3aGVuIGRlYnVnZ2luZyBvdmVyIFRyYW1wCgoq IGxpc3AvcHJvZ21vZGVzL2dkYi1taS5lbCAoZ2RiLWZyYW1lLWhhbmRsZXIpOiBVc2UgbG9jYWwg cGFydCBvZgpmaWxlIG5hbWUgd2hlbiBzZXR0aW5nIGBndWQtbGFzdC1mcmFtZScuCi0tLQogbGlz cC9wcm9nbW9kZXMvZ2RiLW1pLmVsIHwgMiArLQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9u KCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvZ2RiLW1pLmVs IGIvbGlzcC9wcm9nbW9kZXMvZ2RiLW1pLmVsCmluZGV4IDFhOTY3NTViY2YuLjhlNmNlM2QyNjkg MTAwNjQ0Ci0tLSBhL2xpc3AvcHJvZ21vZGVzL2dkYi1taS5lbAorKysgYi9saXNwL3Byb2dtb2Rl cy9nZGItbWkuZWwKQEAgLTQ1MTIsNyArNDUxMiw3IEBAIG92ZXJsYXkgYXJyb3cgaW4gc291cmNl IGJ1ZmZlci4iCiAgIChsZXQgKChmcmFtZSAoZ2RiLW1pLS1maWVsZCAoZ2RiLW1pLS1wYXJ0aWFs LW91dHB1dCkgJ2ZyYW1lKSkpCiAgICAgKHdoZW4gZnJhbWUKICAgICAgIChzZXRxIGdkYi1zZWxl Y3RlZC1mcmFtZSAoZ2RiLW1pLS1maWVsZCBmcmFtZSAnZnVuYykpCi0gICAgICAoc2V0cSBnZGIt c2VsZWN0ZWQtZmlsZSAoZ2RiLW1pLS1maWVsZCBmcmFtZSAnZnVsbG5hbWUpKQorICAgICAgKHNl dHEgZ2RiLXNlbGVjdGVkLWZpbGUgKGZpbGUtbG9jYWwtbmFtZSAoZ2RiLW1pLS1maWVsZCBmcmFt ZSAnZnVsbG5hbWUpKSkKICAgICAgIChzZXRxIGdkYi1mcmFtZS1udW1iZXIgKGdkYi1taS0tZmll bGQgZnJhbWUgJ2xldmVsKSkKICAgICAgIChzZXRxIGdkYi1mcmFtZS1hZGRyZXNzIChnZGItbWkt LWZpZWxkIGZyYW1lICdhZGRyKSkKICAgICAgIChsZXQgKChsaW5lIChnZGItbWktLWZpZWxkIGZy YW1lICdsaW5lKSkpCi0tIAoyLjI1LjEKCg== --00000000000077340005c00fe5eb-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 01 06:13:32 2021 Received: (at 28392-done) by debbugs.gnu.org; 1 May 2021 10:13:33 +0000 Received: from localhost ([127.0.0.1]:32989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcmcu-0005RX-Mu for submit@debbugs.gnu.org; Sat, 01 May 2021 06:13:32 -0400 Received: from mout.gmx.net ([212.227.17.21]:50929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcmcs-0005RF-Bp for 28392-done@debbugs.gnu.org; Sat, 01 May 2021 06:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619864003; bh=piVDPhl5x92xyHxOS7J5uu4UT/9jnxkFkvEdhxe5Sc8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=DBDzxjFNRAp0IrYylImO5501wtfKvNBYIsIgL0dmnlIiFZEgCOPMnh8PGxTgPEGxa vLiIAY8BX+DAmZyQjHXu7uNjutlNZdzjqTjyNLzSAECMly84g9i4pnn1sMM27046+/ 0YAL2fZ70sQJ0TEmW6gHJTFxZNAoVvLEy9DEonWo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.243.39]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N0oG5-1lOR2U2uOr-00wkLL; Sat, 01 May 2021 12:13:23 +0200 From: Michael Albinus To: Jim Porter Subject: Re: bug#28392: 26.0.50; gdb-mi runs into error with tramp References: Date: Sat, 01 May 2021 12:13:22 +0200 In-Reply-To: (Jim Porter's message of "Thu, 15 Apr 2021 22:03:00 -0700") Message-ID: <87pmyaahj1.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:b3uZKAE9x8lOJBSjNyfchvPMWexJZ0IEHrvtZ+mKSeWbVlbPBD2 zjWdRcLqBgKS9V0RC4BjZkbWILg/eOIjYLH2m+WQDPPBdnGb2uCgglwDocqhbtXe291xRpC wSTo8ywD3TZb9+kmIap0ceAwTyBvYMYLCpx8iW+ZlNCOKj3knYexfNA8pW3VtUXucmQG2GC R4rBHAZQkuFVyCX/uLtJw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tUXvp/FDtDY=:loSQsxN/jrgdWdHUKIkdzU e4PsSzlY04DIndyvt6zWrxWkfRzNWmgnNWH10/nfP+2c5Z+4UMaup791SPklpdLhwJSnS78X0 qeVivaoRxivq1uHrFvD7CiuN73ar4CU3+XJ5Qo2O/bZD5e9LqqWxCUKdVxWibI6Jlm3I3D+EI Cb3TSYENuQWxjSRhJQs+JJwM141OpmQK4i1T2RtTkdD7vHOa/mDa68i3lQ30J1VUcZNfDSFWj sbCNs0hGZs68qxLvSyV6H0GgjNlC9qlAUCc23wjIH71O0/4EXECFGigv9Xslv84yPMVZBC/JU 1b2zDHxpSwMUO7UmrJZgc/MKe2LVQYOb7R5yXIgm7Dr0/ZVi5GSyagJsSBjQYKtGen7+m7WiV bpi2MLmlGoN6GG/C3iBVwJRBRAfXnSgYrOLex6iWCxMW2EdBiXZ7Onr5MuNQdgkWjnClB1Zjz 8QU8mNIUEu+PeWqv0e0/9ZZd5RLh2+bB8pshYW5aXG8tMwEmexGf+zWNYmtSpaNubVlReTH7Q G/eCk2RhY16KAHkWW3dCiWiiY0kfbaccLWZ2kvCoMNHqZetMzsZjmBo6B7s1XljWxsO/Q98ID JonzUjSuHv5GFZoEleqdDmiMGMZHOlO1OnooveG7Q5Vbtxc4PY5Nq4Gcbx1xlruPA1boOMA8e DPsIzfR/0JzvdqBSZ5BHdmGBKtjGmkziog3gTOsRgSk4DwZ6jE4lZwOh7MxgwmdMJPNPMyyzz e8emJeMfhr3b7OQ7walmm8XOIEPBLC+cImjK7XxDXsu6llOejP/LdLLs6o52hqG67BEvtOvy2 rnPOpTrZrNCBzKXA+kLXI9A6ngnS3uX4yOIXvqsAQSYhPx7BFKS633IxoKEUcol+7l5pdm2Tj B+ZAe4mKgD7gWOSiZ1Ms/F4sieseIZf6HKEdRqTmCD+rIVFl5eqjStiYJWeykf3/qiP1yu4jj 1SjcT3+PZyyuorhP5VhE8pTuf26zmG9+hO51vE8cQssMobUWx/MgsIOZgZ2imn0VSDDqPHIKu 0oicV1rBBnXJW0UQA4528fNZN+OCOg99Ba/yFioMHb3ICuNowL54lsNG6sEN1qnYG3UfQytar VpKKNwxLT3TRP3i9yAZnN3smu4Mc+3yF9WNbots278UfVAM2aP+vvJ9ErW3vtqumVT3Fm2kUH jIuvVTBkxKp183y0TpvH1TGfXwMdtiyb8xplxVS/aBNDxQZUx0GDiKLxHnPEw6OSbKdLigozy MlkW4UCNDg9ksQGWU X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28392-done Cc: 28392-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 27.3 Jim Porter writes: > Attached are patches to fix this in Emacs 27 and 28; they're > essentially the same, but with slightly different contexts around the > diff. I'm not sure if this is wanted for Emacs 27, but it's a small > bugfix, and combined with my patch in bug#39408 (and the GNU ELPA > version of Tramp to fix bug#44151), M-x gdb should work correctly for > Tramp. For Emacs 28, this is the only outstanding issue (that I know > of) preventing M-x gdb from working with Tramp. > > The problem here was that `gud-last-frame', set in > `gdb-frame-handler', expects a local file path, so the full Tramp path > was confusing it. Pushed to both the emacs-27 and master branch. Closing the bug. I don't know whether there will be an Emacs 27.3, but it doesn't hurt to push the fix, I believe. Best regards, Michael. From unknown Sun Jun 22 00:03:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 29 May 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator