all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Wu <wus@qwest.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 24.3 gdb mode doesn't work on OSX 10.7.5
Date: Fri, 10 May 2013 00:16:42 -0700	[thread overview]
Message-ID: <6806A256-82DD-4D94-A52E-09CF968D4C82@qwest.net> (raw)
In-Reply-To: <83ehdfcp2i.fsf@gnu.org>

They do.  I tried --annotate=3 -i mi, and I had
==
Current directory is /Users/wus/src/vocoder/
Error: you did not specify -i=mi on GDB's command line!
~"GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012)\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-apple-darwin\"..."
~"\n\032\032frames-invalid\n"
~"\n\032\032breakpoints-invalid\n"
~"\n\032\032frames-invalid\n"
~"\n"
(gdb) 
1^done,time={wallclock="0.00043",user="0.00000",system="0.00043",start="1368169896.484846",end="1368169896.485277"}
(gdb) 
2^done,time={wallclock="0.00394",user="0.00007",system="0.00387",start="1368169896.485313",end="1368169896.489254"}
(gdb) 
&"\n\032\032error-begin\n"
~"\n\032\032error\n"
3^error,msg="No symbol \"non\" in current context."
(gdb) 
&"\n\032\032error-begin\n"
~"\n\032\032error\n"
11^error,msg="No registers."

Breakpoint 1 at 0x1000018bf: file main.cc, line 44.
^done,MI_HOOK_RESULT={HOOK_TYPE="breakpoint_create",bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000001000018bf",func="sampleIO(int, int, melp_param*)",file="main.cc",line="44",shlib="/Users/wus/src/vocoder/hmsmelpe",times="0"}},time={wallclock="0.86889",user="0.00264",system="0.02251",start="1368169946.472118",end="1368169947.341012"}
(gdb) run testin.pcm testout.pcm

Starting program: /Users/wus/src/vocoder/hmsmelpe testin.pcm testout.pcm
=rerun
^done,time={wallclock="0.00192",user="0.00010",system="0.00181",start="1368169968.235716",end="1368169968.237637"}
(gdb) 
==

I got the same thing, all other buffers did not have any activity. The only difference is the gud buffer had strange outputs.

I am not quit sure what the problem is.
On May 9, 2013, at 11:43 PM, Eli Zaretskii wrote:

>> From: Steven Wu <wus@qwest.net>
>> Date: Thu, 9 May 2013 18:36:51 -0700
>> 
>> I am having trouble to get Emacs gdb working correctly. When I do m-x gdb with argument --annonate=1 -i mi, I got this
> 
> Why did you use --annonate=1?  That's not the default.  Do the
> problems disappear when you don't use that option?




  reply	other threads:[~2013-05-10  7:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10  1:36 Emacs 24.3 gdb mode doesn't work on OSX 10.7.5 Steven Wu
2013-05-10  6:43 ` Eli Zaretskii
2013-05-10  7:16   ` Steven Wu [this message]
2013-05-10  8:05     ` Eli Zaretskii
2013-05-10  8:12       ` Steven Wu
     [not found]       ` <DE6C35E9-C6A3-48FE-893D-E0ECFBB94604@qwest.net>
2013-05-10  8:44         ` Eli Zaretskii
2013-05-10 10:00           ` Steven Wu
2013-05-10 12:59             ` Eli Zaretskii
2013-05-10 14:50               ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6806A256-82DD-4D94-A52E-09CF968D4C82@qwest.net \
    --to=wus@qwest.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.