GNU bug report logs - #14431
emacs 24.3 gud-gdb does not response with break command

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: support@HIDDEN; dated Tue, 21 May 2013 15:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 May 2013 15:41:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 21 11:41:05 2013
Received: from localhost ([127.0.0.1]:54800 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UeogS-0007Ko-IG
	for submit <at> debbugs.gnu.org; Tue, 21 May 2013 11:41:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56615)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <support@HIDDEN>) id 1UemW7-0001Tw-Gq
	for submit <at> debbugs.gnu.org; Tue, 21 May 2013 09:22:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <support@HIDDEN>) id 1UemVM-00013w-KX
	for submit <at> debbugs.gnu.org; Tue, 21 May 2013 09:21:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
	version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:41045)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <support@HIDDEN>) id 1UemVM-00013s-IA
	for submit <at> debbugs.gnu.org; Tue, 21 May 2013 09:21:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39707)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <support@HIDDEN>) id 1UemVJ-0001sJ-19
	for bug-gnu-emacs@HIDDEN; Tue, 21 May 2013 09:21:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <support@HIDDEN>) id 1UemVF-00011h-RY
	for bug-gnu-emacs@HIDDEN; Tue, 21 May 2013 09:21:24 -0400
Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]:61548)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <support@HIDDEN>) id 1UemVF-00011T-IN
	for bug-gnu-emacs@HIDDEN; Tue, 21 May 2013 09:21:21 -0400
Received: by mail-pb0-f52.google.com with SMTP id um15so610730pbc.11
	for <bug-gnu-emacs@HIDDEN>; 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)
Received: from Ric ([117.80.92.136])
	by mx.google.com with ESMTPSA id l4sm2763529pbo.6.2013.05.21.06.21.16
	for <bug-gnu-emacs@HIDDEN>
	(version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 21 May 2013 06:21:18 -0700 (PDT)
Date: Tue, 21 May 2013 06:19:50 -0700
From: support@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: emacs 24.3 gud-gdb does not response with break command
Message-ID: <87bo84lbk2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
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-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 21 May 2013 11:41:03 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

--text follows this line--
Using M-x gud-gdb <CR> 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:
<escape> x g u d - g d b <return> <return> b SPC m 
a i n <return> <escape> x <help-echo> <down-mouse-2> 
<mouse-2> <return>

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)




Acknowledgement sent to support@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#14431; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.