From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: weijie sun Newsgroups: gmane.emacs.bugs Subject: bug#14282: 24.3; gud-gdb doesn't work Date: Sat, 27 Apr 2013 09:50:51 +0800 Message-ID: <517B2EFB.1000305@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367028133 13569 80.91.229.3 (27 Apr 2013 02:02:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Apr 2013 02:02:13 +0000 (UTC) To: 14282@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 27 04:02:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UVuSn-0007kb-4J for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2013 04:02:09 +0200 Original-Received: from localhost ([::1]:38838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVuSm-0005pt-HR for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 22:02:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVuSf-0005nl-GS for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 22:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVuSc-0005BI-Vc for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 22:02:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVuSc-0005BD-RD for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 22:01:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UVuSg-0001Hs-2R for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 22:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: weijie sun Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2013 02:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14282 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.13670281154910 (code B ref -1); Sat, 27 Apr 2013 02:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Apr 2013 02:01:55 +0000 Original-Received: from localhost ([127.0.0.1]:45739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVuSY-0001H7-7W for submit@debbugs.gnu.org; Fri, 26 Apr 2013 22:01:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41886) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVuIT-0000er-6b for submit@debbugs.gnu.org; Fri, 26 Apr 2013 21:51:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVuIM-0002Nm-Jz for submit@debbugs.gnu.org; Fri, 26 Apr 2013 21:51:25 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:47861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVuIM-0002Ni-GS for submit@debbugs.gnu.org; Fri, 26 Apr 2013 21:51:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVuIJ-0002bj-N1 for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 21:51:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVuIG-0002N8-Th for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 21:51:19 -0400 Original-Received: from mail-da0-x22f.google.com ([2607:f8b0:400e:c00::22f]:36079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVuIG-0002N1-KF for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 21:51:16 -0400 Original-Received: by mail-da0-f47.google.com with SMTP id p1so2149571dad.6 for ; Fri, 26 Apr 2013 18:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=icz9DnsNJA2SmkByD35h/cSbaFOLMMmfg0eCKQB061E=; b=yR7WhffE4D74l4DTqPTAjUUjYURw3NGrmKz4lAw/vGUKQ3BsCwZVF9hclaF284+eTw WLVL6T9f6sAj2/ATzz9W44uYYX4g9TfR2HWa/X8tuZPFtuV5vnAsAUfNdLyEEHahSUqq qJRqJdIAM0+Y3qLHt+Bvl27O8AeZNjDd3RqbmQS4TmxPepUJ4/KMpxxPNmEUmRHeJ75D 2aaDe9lUUcoPV8ZlUv0+qhbBuLiAbkAvi1MFSYkF5Uh3FAtXZQmMHZ9k27r3mNRUGfeo 30z7eH1QOc1UFDrBKxkTWI6nn3tk2bezm1MuDpuGC6aHdCzh2MFXvnouOy6Jki3TwWsL Qt7w== X-Received: by 10.66.144.103 with SMTP id sl7mr33563014pab.55.1367027475143; Fri, 26 Apr 2013 18:51:15 -0700 (PDT) Original-Received: from [10.214.9.235] ([218.108.29.104]) by mx.google.com with ESMTPSA id tx9sm14984303pab.5.2013.04.26.18.51.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 18:51:13 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 26 Apr 2013 22:01:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73760 Archived-At: When I debug C/C++ program using gdb, the gud-gdb never returns from "scanf". When debugging programs without using "scanf", the debugger works ok. And when I use gdb directly in the terminal(my terminal is xfce-terminal), it works ok too. When starting emacs from "emacs -Q", the problem still exists. My distribution is ArchLinux, and the desktop environment is Xfce. I get my emacs from the pacman. In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2013-03-19 on eric Windowing system distributor `The X.Org Foundation', version 11.0.11400000 Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'' Important settings: value of $LC_CTYPE: zh_CN.utf8 value of $LANG: zh_CN.utf8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: global-auto-complete-mode: t tooltip-mode: t mouse-wheel-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 Recent input: Recent messages: Loading dired-x...done `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. Loading /home/sun/.emacs.d/el-get/color-theme/themes/color-theme-example.el (source)...done Loading /home/sun/.emacs.d/el-get/color-theme/themes/color-theme-library.el (source)...done `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. Loading /home/sun/.emacs.d/el-get/color-theme/deepblue-color-theme.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /home/sun/.emacs.d/el-get/el-get/.dir-locals hides /usr/share/emacs/24.3/lisp/gnus/.dir-locals Features: (shadow sort gnus-util mail-extr emacsbug message idna byte-opt 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 advice advice-preload auto-complete-config auto-complete edmacro kmacro popup .loaddefs color-theme wid-edit el-get el-get-autoloads el-get-list-packages el-get-notify help-mode el-get-dependencies el-get-build el-get-status pp el-get-recipes el-get-byte-compile el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-emacsmirror el-get-github el-get-git el-get-elpa package cl-macs gv el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-custom el-get-core autoload help-fns bytecomp byte-compile cconv cl cl-lib dired-x easymenu dired ido time-date china-util 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)