emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 24.3 gdb mode doesn't work on OSX 10.7.5


From: Steven Wu
Subject: Re: Emacs 24.3 gdb mode doesn't work on OSX 10.7.5
Date: Fri, 10 May 2013 00:16:42 -0700

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 <address@hidden>
>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]