emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14607: closed (24.3; gdb shell command does not work properly (zsh:


From: GNU bug Tracking System
Subject: bug#14607: closed (24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec))
Date: Sun, 09 Jun 2024 21:13:01 +0000

Your message dated Sun, 9 Jun 2024 17:02:48 -0400
with message-id 
<CADwFkmksjSpNFH9ifX4OffJTjJ3UZq6gtuZL89AsWCR3SOGBVA@mail.gmail.com>
and subject line Re: bug#14607: 24.3; gdb shell command does not work properly 
(zsh: command not found: -interpreter-exec)
has caused the debbugs.gnu.org bug report #14607,
regarding 24.3; gdb shell command does not work properly (zsh: command not 
found: -interpreter-exec)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
14607: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14607
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec) Date: Thu, 13 Jun 2013 12:30:36 +0200
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
koen.meersman@eurocontrol.int          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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec) Date: Sun, 9 Jun 2024 17:02:48 -0400
Stefan Kangas <stefankangas@gmail.com> writes:

> "MEERSMAN Koen" <koen.meersman@eurocontrol.int> 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:rgm@gnu.org]
>> Sent: 14 June, 2013 20:41
>> To: MEERSMAN Koen
>> Cc: 14607@debbugs.gnu.org
>> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]