This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I think I had a couple homemade scripts that I used for GDB years and years ago, probably packed three layers deep in archives of old files by now. They wouldn't have been any deeper than accumulating lists of defines and uses, then diff'ing the two. I remember diff'ing against the internals manual too.I was looking at something else and noticed that symbol_init_demangled_name was unused. I got out my trusty grep, searched for defined but unused macros, and deleted the ones that I couldn't think of even a flimsy reason to keep.
Aren't there scripts somewhere for detecting unused macros and
functions? If someone knows I'd appreciate a pointer.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |