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]

[commit] Delete language.h:op_error declaration


Hello,

  Re: http://www.sourceware.org/ml/gdb-patches/2007-12/msg00270.html
  (Re: [commit] language.h minor cleanup)

There was a problem with an enum which was used before being defined.
As it turns out, there is only one function declaration that uses this
enum (op_error), and this function was deleted in Aug 2003.

So I deleted the declaration, which allowed us to get rid of the
dependency on the enum as well.

2007-12-19  Joel Brobecker  <brobecker@adacore.com>

        * language.h (enum exp_opcode): Remove commented out forward
        declaration.
        (op_error): Delete declaration.

Tested on x86-linux by rebuilding GDB, and checked in.

-- 
Joel

Attachment: op_error.diff
Description: Text document


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