unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Gdb in emacs 24
@ 2011-03-10 13:50 Nick Roberts
  2011-03-10 14:07 ` Andreas Schwab
  0 siblings, 1 reply; 34+ messages in thread
From: Nick Roberts @ 2011-03-10 13:50 UTC (permalink / raw)
  To: schwab; +Cc: emacs-devel

> Try using gud-gdb instead.

How will that help with emacs development?




^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: Gdb in emacs 24
@ 2011-03-09  0:22 Nick Roberts
  2011-03-09 14:20 ` Andrea Crotti
  0 siblings, 1 reply; 34+ messages in thread
From: Nick Roberts @ 2011-03-09  0:22 UTC (permalink / raw)
  To: andrea.crotti.0; +Cc: emacs-devel

Gdb in Emacs 24 uses MI not annotations.  You need:

(defun gdb-pad ()
  "Debug the simulation"
  (interactive)
  (gdb "gdb -cd=/long/path -i=mi --args /long/path/opp_run args"))




^ permalink raw reply	[flat|nested] 34+ messages in thread
* Gdb in emacs 24
@ 2011-03-08  8:07 Andrea Crotti
  2011-03-08  8:56 ` Eli Zaretskii
  2011-03-09 22:23 ` Andreas Schwab
  0 siblings, 2 replies; 34+ messages in thread
From: Andrea Crotti @ 2011-03-08  8:07 UTC (permalink / raw)
  To: emacs-devel


I'm using now emacs from the trunk (in the signature the full version)
and it works wonderfully for everything.  The only thing that doesn't
work is the gdb.

I have an elisp function to call GDB (just a shortcut):

--8<---------------cut here---------------start------------->8---
(defun gdb-pad ()
  "Debug the simulation"
  (interactive)
  (gdb "gdb -cd=/long/path --annotate=3 --args /long/path/opp_run args"))
--8<---------------cut here---------------end--------------->8---

And when I run it I get things like
--8<---------------cut here---------------start------------->8---
pre-prompt
       prompt
                             
post-prompt
                                            
error-begin
Undefined command: "1-inferior-tty-set".  Try "help".
                                                                                                                 
error
--8<---------------cut here---------------end--------------->8---

Looks like an error of gdb, this is for completeness the version of gdb
on this machine...

--8<---------------cut here---------------start------------->8---
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
--8<---------------cut here---------------end--------------->8---

Any idea?
Is there any emacs-friendly way to navigate in the bug tracking system
and see if something is already there about?

And by the way is not so easy to find the web interface of the bug
tracking system, I only saw it the first time I when I actually reported
a bug (dreaming about an org-mode based bug tracking system).

Thanks a lot for the great work,
Andrea

-- 
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 of 2011-03-04 on plaetekopp



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

end of thread, other threads:[~2011-10-28  2:25 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-10 13:50 Gdb in emacs 24 Nick Roberts
2011-03-10 14:07 ` Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2011-03-09  0:22 Nick Roberts
2011-03-09 14:20 ` Andrea Crotti
2011-03-08  8:07 Andrea Crotti
2011-03-08  8:56 ` Eli Zaretskii
2011-10-05 21:55   ` David Reitter
2011-10-06  5:52     ` Eli Zaretskii
2011-10-06 10:45       ` David Reitter
2011-10-06 11:25         ` Eli Zaretskii
2011-10-06 13:37           ` David Reitter
2011-10-06 14:55             ` Chong Yidong
2011-10-06 18:07             ` Eli Zaretskii
2011-10-06 20:00               ` David Reitter
2011-10-06 20:07               ` Stephen J. Turnbull
2011-10-06 20:45                 ` Eli Zaretskii
2011-10-07  6:08                   ` Stephen J. Turnbull
2011-10-07 12:28                     ` Eli Zaretskii
2011-10-06 12:40     ` Stefan Monnier
2011-10-19  1:48       ` Tom Tromey
2011-10-19 13:10         ` Lluís
2011-10-19 13:38           ` Tom Tromey
2011-10-19 14:14             ` Lluís
2011-10-19 14:35           ` Stefan Monnier
2011-10-19 14:54             ` Tom Tromey
2011-10-19 17:54               ` Stefan Monnier
2011-10-19 18:55                 ` Lluís
2011-10-19 21:22                   ` Stefan Monnier
2011-10-20 16:11                     ` Lluís
2011-10-21 17:20                       ` Stefan Monnier
2011-10-23 19:47                         ` Lluís
2011-10-28  2:25                           ` Stefan Monnier
2011-10-19 15:42             ` Lluís
2011-03-09 22:23 ` Andreas Schwab

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