From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mohammed Sadiq Newsgroups: gmane.emacs.bugs Subject: bug#25844: 26.0.50; gdb doesn't respect '$INSIDE_EMACS' shell variables Date: Thu, 23 Feb 2017 07:45:10 +0530 Message-ID: <87poi9fya9.fsf@rose> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487816599 4376 195.159.176.226 (23 Feb 2017 02:23:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2017 02:23:19 +0000 (UTC) To: 25844@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 03:23:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgj3h-00006y-Qo for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 03:23:06 +0100 Original-Received: from localhost ([::1]:56054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgj3n-0007dW-JP for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2017 21:23:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgixv-0003Q7-Qw for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:17:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgixq-0001YI-TP for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:17:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53557) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgixq-0001YE-Pe for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgixq-0001nK-Ke for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mohammed Sadiq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2017 02:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14878161676833 (code B ref -1); Thu, 23 Feb 2017 02:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2017 02:16:07 +0000 Original-Received: from localhost ([127.0.0.1]:51756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgiwx-0001m9-HJ for submit@debbugs.gnu.org; Wed, 22 Feb 2017 21:16:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgiwu-0001lP-9E for submit@debbugs.gnu.org; Wed, 22 Feb 2017 21:16:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgiwo-0001KR-3h for submit@debbugs.gnu.org; Wed, 22 Feb 2017 21:15:59 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgiwo-0001KN-0P for submit@debbugs.gnu.org; Wed, 22 Feb 2017 21:15:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgiwm-0001um-Jt for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:15:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgiwh-0001JY-Rf for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:15:56 -0500 Original-Received: from us2-ob4-6.mailhostbox.com ([208.91.199.215]:42215) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgiwh-0001JP-IF for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:15:51 -0500 Original-Received: from rose (unknown [117.202.224.228]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sadiq@sadiqpk.org) by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id C9BAC1C1BE1 for ; Thu, 23 Feb 2017 02:15:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org; s=20160628; t=1487816140; bh=LDL0LnrxbP92lAxO/YwcOLIXs6hwYQeEA9HCv8vWUi0=; h=From:To:Subject:Date; b=WDz6IS3r4CAQGsnn2ySKilQzTMfwpAoAYVT0aL3ZA8juokPMfsgpE2f/jlW03QbxG 8kPZkxjrBa+ZqvpqRl/LzOHM6ENGr92TOIlqXd27jVnhkMAKUD81DEBxspuE+xrGLc 3qGiMJgq5TpYD5llrmGWteBVmsTwE3N86cSuWuu0= X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=bdwbaKHB c=1 sm=1 tr=0 a=Iop4HlxToXRU68wBsVpOAA==:117 a=Iop4HlxToXRU68wBsVpOAA==:17 a=wyribW1-wWrB7Rt9apoA:9 a=W6bq_oYnIzm8xYgf:21 a=YoQzt8mwUspm6Bsp:21 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129671 Archived-At: M-x gdb doesn't seem to respect variables set with '$INSIDE_EMACS' Ie, my bashrc has some variables set as: if [ '$INSIDE_EMACS' ] foo='FOO' bar='BAR' fi And when I run M-x gdb, it seems not to work. Instead, if I run emacs this way: foo='FOO' emacs and run gdb, the variable is respected The variable I was trying to set was G_DEBUG='fatal-criticals' Thanks In GNU Emacs 26.0.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.22.6) of 2017-02-05 built on rose Repository revision: 148100d98319499f0ac6f57b8be08cbd14884a5c Windowing system distributor 'The X.Org Foundation', version 11.0.11901000 System Description: Debian GNU/Linux 9.0 (stretch) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction 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 font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: 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 cl-extra help-mode cconv cl-loaddefs pcase 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 time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd 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 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 97836 9217) (symbols 48 20259 1) (miscs 40 420 154) (strings 32 18154 4104) (string-bytes 1 587387) (vectors 16 14062) (vector-slots 8 469511 5295) (floats 8 183 66) (intervals 56 216 0) (buffers 976 12))