unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14431: emacs 24.3 gud-gdb does not response with break command
@ 2013-05-21 13:19 support
  2020-12-06 15:46 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: support @ 2013-05-21 13:19 UTC (permalink / raw)
  To: 14431

--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)





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

* bug#14431: emacs 24.3 gud-gdb does not response with break command
  2013-05-21 13:19 bug#14431: emacs 24.3 gud-gdb does not response with break command support
@ 2020-12-06 15:46 ` Lars Ingebrigtsen
  2021-01-20  4:31   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-06 15:46 UTC (permalink / raw)
  To: support; +Cc: 14431

support@torapp.info writes:

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

(This bug report unfortunately got no response at the time.)

I tried this in Emacs 28, and things seem to work as normal:

M-x gud-gdb RET RET

Reading symbols from bug...
(gdb) b main
Breakpoint 1 at 0x1139: file foo.c, line 4.
(gdb)

Are you still seeing this issue on more recent versions of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#14431: emacs 24.3 gud-gdb does not response with break command
  2020-12-06 15:46 ` Lars Ingebrigtsen
@ 2021-01-20  4:31   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-20  4:31 UTC (permalink / raw)
  To: support; +Cc: 14431

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I tried this in Emacs 28, and things seem to work as normal:
>
> M-x gud-gdb RET RET
>
> Reading symbols from bug...
> (gdb) b main
> Breakpoint 1 at 0x1139: file foo.c, line 4.
> (gdb)
>
> Are you still seeing this issue on more recent versions of Emacs?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-01-20  4:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21 13:19 bug#14431: emacs 24.3 gud-gdb does not response with break command support
2020-12-06 15:46 ` Lars Ingebrigtsen
2021-01-20  4:31   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).