On 02/19/2011 03:42 AM, Tom Tromey wrote: > I got something working today. But, I am not sure it really works. I > sort of punted on the gnulib stuff; maybe it is handled automatically, > maybe not -- I'm not likely to find out on a Linux host. > > Here's a diff. No ChangeLog yet. If you want to try it and report > problems, that would be helpful. I sent all the files, including > generated ones, for convenience. I tested this diff on my linux system, and build gdb/gdbserver as native debugger, and arm cross debugger. `make clean' can't remove some files. The rest works well to me. This patch is to clean generated files, applied on top of Tom's patch. I really want gdbserver automake patch in trunk, then, I don't have to worry about dependency tracking when I add new .h files in common/ -- Yao (齐尧)