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]

pushed: [RFA 2/2] Add "undefined-command" error code at end of ^error result...


> > > gdb/ChangeLog:
> > > 
> > >         (from Pedro Alves  <palves@redhat.com>)
> > >         (from Joel Brobecker  <brobecker@adacore.com>)
> > >         * exceptions.h (enum_errors) <UNKNOWN_COMMAND_ERROR>: New enum.
> > >         * mi/mi-parse.c (mi_parse): Thow UNKNOWN_COMMAND_ERROR instead
> > 
> > "Throw"
> > 
> > >         of a regular error when the GDB/MI command does not exist.
> > >         * mi/mi-main.c (mi_cmd_list_features): Add
> > >         "undefined-command-error-code".
> > >         (mi_print_exception): Print an "undefined-command"
> > >         error code if EXCEPTION.ERROR in UNKNOWN_COMMAND_ERROR.
> > 
> > s/in/is ?
> > 
> > >         * NEWS: Add entry documenting the new "code" variable in
> > >         "^error" result records.
> > > 
> > > gdb/doc/ChangeLog:
> > > 
> > >         * gdb.texinfo (GDB/MI Result Records): Fix the syntax of the
> > >         "^error" result record concerning the error message.  Document
> > >         the error code that may also be part of that result record.
> > >         (GDB/MI Miscellaneous Commands): Document the
> > >         "undefined-command-error-code" element in the output of
> > >         the "-list-features" GDB/MI command.
> > > 
> > > gdb/testsuite/ChangeLog:
> > > 
> > >         * gdb.mi/mi-undefined-cmd.exp: New testcase.
> > > 
> > > Tested on x86_64-linux.  OK to commit?

Now pushed.

-- 
Joel


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