From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: support@torapp.info Newsgroups: gmane.emacs.bugs Subject: bug#14431: emacs 24.3 gud-gdb does not response with break command Date: Tue, 21 May 2013 06:19:50 -0700 Message-ID: <87bo84lbk2.fsf@Ric.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: ger.gmane.org 1369150903 10525 80.91.229.3 (21 May 2013 15:41:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 15:41:43 +0000 (UTC) To: 14431@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 21 17:41:44 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 1Ueoh4-0004G0-Dv for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 May 2013 17:41:42 +0200 Original-Received: from localhost ([::1]:58219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueoh4-0004aU-2M for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 May 2013 11:41:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueogs-0004QC-NI for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 11:41:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ueogm-00057P-7Z for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 11:41:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueogm-000578-51 for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 11:41:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UeohO-0007NK-SI for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: support@torapp.info Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 May 2013 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14431 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.136915086528209 (code B ref -1); Tue, 21 May 2013 15:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2013 15:41:05 +0000 Original-Received: from localhost ([127.0.0.1]:54800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeogS-0007Ko-IG for submit@debbugs.gnu.org; Tue, 21 May 2013 11:41:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56615) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UemW7-0001Tw-Gq for submit@debbugs.gnu.org; Tue, 21 May 2013 09:22:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UemVM-00013w-KX for submit@debbugs.gnu.org; Tue, 21 May 2013 09:21:31 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:41045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UemVM-00013s-IA for submit@debbugs.gnu.org; Tue, 21 May 2013 09:21:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UemVJ-0001sJ-19 for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 09:21:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UemVF-00011h-RY for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 09:21:24 -0400 Original-Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]:61548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UemVF-00011T-IN for bug-gnu-emacs@gnu.org; Tue, 21 May 2013 09:21:21 -0400 Original-Received: by mail-pb0-f52.google.com with SMTP id um15so610730pbc.11 for ; Tue, 21 May 2013 06:21:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-gm-message-state; bh=sKG/Aev5eL56J+vwGnKBThdsMQ11PI7LxqwZ3qnJrdU=; b=FiCMSO4ZHIWoqmsnUcWkj5PljppQWmPyF/0yHwKlyB1y5w+lYNPe75udMBdJptQLvF 1LFN6sKkjv7JXhK0KvtBSrlU0SErxe7O2JKsh9wspuAHO4Oz3dVGJHmLO+WMll2OGe6q 9DqrbOtNUnB7sZFxTbjjW8qcIQxTdoDr1UmA3XP9rizfGTaxHUiPt8V94BsDWPh9BZP6 hiIQINQ3u41LNmjmEA+8Qpih32mrqt5vvfTAbqbV12oUubU7BDYnVd/1gI8Oi4wne5+c 0zDC8iiMV1SZzgjyphMZFMhYITPPz2ejHHd4jZTy4HIesye+JtoS5Osv7p1N8l5LL7// Ko7w== X-Received: by 10.68.227.170 with SMTP id sb10mr2639276pbc.81.1369142479755; Tue, 21 May 2013 06:21:19 -0700 (PDT) Original-Received: from Ric ([117.80.92.136]) by mx.google.com with ESMTPSA id l4sm2763529pbo.6.2013.05.21.06.21.16 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 May 2013 06:21:18 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQneyLTPB9FHfwsj11JmmAm5/RVLDicLh3ZlRdMhhU8XKpez9/CrigWvpkwXOAci9zz1BqL2 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: Tue, 21 May 2013 11:41:03 -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:74433 Archived-At: --text follows this line-- Using M-x gud-gdb to debug an application then if I issue a command like "b main", then gud buffer gets no response back. The gdb prompt will only appear if I type C-c C-c. M-x gdb works for simple applications but have other issues when debugging more complicated applications, thus I can not use M-x gdb too. my gdb version is 7.6. and application is compiled with the following gcc version: $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/src/gcc-4.8-20130502/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release Thread model: posix gcc version 4.8.0 20130502 (prerelease) (GCC) In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.1) of 2013-04-29 on eric Windowing system distributor `The X.Org Foundation', version 11.0.11401000 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' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: xterm-mouse-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: x g u d - g d b b SPC m a i n x Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading cc-langs...done Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message idna cl-macs gv 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 gud easy-mmode comint ansi-color ring cc-langs cl cl-lib cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds xt-mouse paren cc-styles cc-align cc-engine cc-vars cc-defs 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)