all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)
@ 2013-06-13 10:30 koen.meersman
  2013-06-14 18:40 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: koen.meersman @ 2013-06-13 10:30 UTC (permalink / raw)
  To: 14607

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)
  2013-06-13 10:30 bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec) koen.meersman
@ 2013-06-14 18:40 ` Glenn Morris
  2013-06-18 10:46   ` MEERSMAN Koen
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-06-14 18:40 UTC (permalink / raw)
  To: koen.meersman; +Cc: 14607


Adding "shell" to gdb-control-commands-regexp seems to somewhat help,
but it still isn't right.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)
  2013-06-14 18:40 ` Glenn Morris
@ 2013-06-18 10:46   ` MEERSMAN Koen
  2024-01-10 11:16     ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: MEERSMAN Koen @ 2013-06-18 10:46 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 14607

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.

____
 
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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec)
  2013-06-18 10:46   ` MEERSMAN Koen
@ 2024-01-10 11:16     ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2024-01-10 11:16 UTC (permalink / raw)
  To: MEERSMAN Koen; +Cc: Glenn Morris, 14607

"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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-10 11:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-13 10:30 bug#14607: 24.3; gdb shell command does not work properly (zsh: command not found: -interpreter-exec) koen.meersman
2013-06-14 18:40 ` Glenn Morris
2013-06-18 10:46   ` MEERSMAN Koen
2024-01-10 11:16     ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.