Subject: bug#14607: closed (Re: bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec))

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 09 Jun 2024 21:13:01 +0000

Your bug report

#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14607: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14607
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)
From: Stefan Kangas <[email-masked]>
To: MEERSMAN Koen <[email-masked]>
Cc: Glenn Morris <[email-masked]>, [email-masked]
Date: Sun, 9 Jun 2024 17:02:48 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Stefan Kangas <[email-masked]> writes:

> "MEERSMAN Koen" <[email-masked]> writes:
>
>> Indeed,
>>
>> I played a bit with  gdb-control-commands-regexp and gdb-control-level
>> but I was not able to find a quick fix.
>> (otherwise I would have added it to the bug report.)
>>
>> I'll try to teach the developers not to use shell inside gdb, if you do
>> it then you can't exit the shell and return to gdb.
>>
>> Tnx,
>>
>> Koen
>>
>>
>> -----Original Message-----
>> From: Glenn Morris [mailto:[email-masked]]
>> Sent: 14 June, 2013 20:41
>> To: MEERSMAN Koen
>> Cc: [email-masked]
>> Subject: Re: bug#14607: 24.3; gdb shell command does not work properly
>> (zsh: command not found: -interpreter-exec)
>>
>>
>> Adding "shell" to gdb-control-commands-regexp seems to somewhat help,
>> but it still isn't right.
>
> That was 10 years ago, so I'm reaching out to see if this is still
> relevant on a modern version of Emacs.
>
> If I don't hear back from you within a couple of months, Ill just assume
> that this has been fixed and close this bug.
>
> Thanks in advance.

More information was requested, but none was given within 5 months, so
I'm closing this bug.

If this is still an issue, please reply to this email (use "Reply to
all" in your email client) and we can reopen the bug report.

Subject: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)
From: [email-masked]
To: [email-masked]
Date: Thu, 13 Jun 2013 12:30:36 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Commands to reproduce: 

1) M-x gdb

2) make sure: 'gdb -i=mi brolleke' is on the command line.

3) in gud-brokkeke window, the gdb interface window, type 'shell'

4) in this shell type: 'ls'
    --> (gdb) shell
        ls
        $ -interpreter-exec console "ls"
        zsh: command not found: -interpreter-exec

5) commands like 'shell ls' are working.

--- complete output:
    Current directory is ~/
    GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)
    Copyright (C) 2009 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-redhat-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    /auto/home/mea/.gdbinit:100: Error in sourced command file:
    No symbol table is loaded.  Use the "file" command.
    brolleke: No such file or directory.
    (gdb) shell
    ls
    $ -interpreter-exec console "ls"
    zsh: command not found: -interpreter-exec

------

In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
 of 2013-05-23 on dhbldd01
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
System Description:	Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Configured using:
 `configure
 '--prefix=/cm/ot/TOOL/GNU!MEA.UPD_EMACS_3/build_G!85.IP.L5/generated'
 '--exec-prefix=/cm/ot/TOOL/GNU!MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/libexec/emacs-24.3'
 '--mandir=/cm/ot/TOOL/GNU!MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/man'
 '--without-gif' '--with-xpm' '--with-png' '--with-jpeg' 'CFLAGS=-g
 -O2''

Important settings:
  value of $EMACSDATA: /cm/ot/TOOL/GNU.MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/share/emacs/24.3/etc
  value of $EMACSDOC: /cm/ot/TOOL/GNU.MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/share/emacs/24.3/etc
  value of $EMACSPATH: /cm/ot/TOOL/GNU.MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/libexec/emacs-24.3/libexec/emacs/24.3/x86_64-unknown-linux-gnu
  value of $LANG: C
  value of $XMODIFIERS: @im=none
  locale-coding-system: nil
  default enable-multibyte-characters: nil

Major mode: Frames

Minor modes in effect:
  gdb-many-windows: t
  iswitchb-mode: t
  show-paren-mode: t
  which-function-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x g d b <return> b <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <home> 
<delete> <end> b r o l l e k e <return> s h e l l <return> 
l s <return> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> M-x r e p o r t <tab> <return>

Recent messages:
Loading version_emacs_startup...
Loading highlight-beyond-fill-column...done
Loading gpc...done
isearch-forwardisearch-backwardisearch-forward-regexpisearch-backward-regexpquery-replacequery-replace-regexpreplace-regexpreplace-string
Loading gnat-fix-error...done
Note: file is write protected
Loading version_emacs_startup...done
Loading /cm/ot/TOOL/GNU!MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/share/emacs/24.3/site-lisp/emacs_startup.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
uncompressing gdb-mi.el.gz...done

Load-path shadows:
/cm/ot/TOOL/GNU!MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/share/emacs/24.3/site-lisp/sh-script hides /cm/ot/TOOL/GNU!MEA.UPD_EMACS_3/build_G!85.IP.L5/generated/share/emacs/24.3/lisp/progmodes/sh-script

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils gdb-mi cl-macs gv derived bindat json gud
easy-mmode gnat-fix-error etags find-func gpc dired mule-util iswitchb
paren ada-xref ada-mode easymenu compile comint ansi-color ring
which-func imenu align find-file highlight-beyond-fill-column jka-compr
uniquify advice help-fns cl-lib advice-preload time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)

-- 
Koen Meersman                          Eurocontrol - CFMU room 20.122
[email-masked]          Raketstraat 96
Tel: +32 2 729 97 36                   B-1130 BRUSSELS
Fax: +32 2 729 90 22                   Belgium

____
 
This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.
 
Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.
 
Any views expressed in this message are those of the sender.