[PATCH 2/2] gdb: remove TYPE_NAME macro

Simon Marchi simark@simark.ca
Sat May 16 19:33:35 GMT 2020


On 2020-05-16 3:26 p.m., Tom Tromey wrote:
> Simon> I'd be curious to run it.  This is what I get, it's probably not expected:
> 
> Simon> $ emacs --script gdb-refactoring-scripts/rewriter.el method TYPE_NAME name
> Simon> Loading 00debian-vars...
> Simon> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> Simon> Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
> 
> This output is from your system site-lisp and unfortunately can't be
> suppressed.
> 
> Simon> Symbol's function definition is void: directory-files-recursively
> 
> Simon> My cwd is gdb's source directory.  Any idea what's going wrong?
> 
> You probably have an older Emacs.
> I think this was introduced in Emacs 25 though I'm not 100% sure.

Ah that's it, I was using emacs 24.  With emacs 26 it ran fine.  It works
pretty well!

Simon


More information about the Gdb-patches mailing list