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]

Introducing the use -Wunused-function in GDB (take 2)


Hello,

Here is a second version of the set of patches that would make us
compile GDB with -Wunused-function.  Compared to set #1 I submitted
yesterday, I made the following changes:

  1. New patch, avoiding the definition of function "input" in generated
     file ada-lex.c (patch #4 of the series) - I swept the problem under
     the carpet, thinking I'd get back to it, and forgot;
  2. Deleted free_named_symtabs instead of just commenting out
     the code that this function would have used, had its body not been
     itself commented out;
  3. configure and built GDB with --enable-targets=all, and deleted
     a few more unused functions (thanks for the tip, Pedro).

The patches have been tested on x86_64-linux. No regression.
I'm planning on checking these patches in in a couple of days, if
there are no other comments.

Thanks,
-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]