emacs-devel
[Top][All Lists]
Advanced

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

Re: GDB on Mac is (NOT) Broken


From: Nick Roberts
Subject: Re: GDB on Mac is (NOT) Broken
Date: Tue, 23 Mar 2010 15:38:43 +1300

 > > How do you know that sending a command like "server show version"
 > > will never have any effect at all neither on the GDB process nor on
 > > the Emacs state nor on the synchronization between the two?  The
 > > things we've seen in the Emacs<->GDB interaction make me very
 > > suspicious of such things.

That sounds more like paranoia than reason.  

Unsurprisingly all "show version" does is output the version of GDB:

address@hidden:~$ gdb -q
(gdb) show version
GNU gdb 6.8-debian
Copyright (C) 2008 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".
(gdb) 

That's the same text that is output if "-q" isn't specified.

Unlike other commands, it doesn't change the state of the executable or the
debugger.  Parsing the output is no different in it's nature to the the many
other lisp functions that already do this except that some of those _do_
change the state of the executable or the debugger

 > How about surrounding it with (if (eq system-type 'darwin) ...)?

I don't think that should really be necessary.

 > BTW, personally I don't care that much whether the change is included
 > in Emacs 23.2 or deferred to the subsequent versions (I'll include it
 > into the next version of the Mac port in any case).

Likewise it's not that important to me either: I don't currently use a Mac.  I'm
just trying to react to the bug reports that have been made.

-- 
Nick                                           http://users.snap.net.nz/~nickrob




reply via email to

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