This is the mail archive of the gdb-prs@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]

[Bug mi/10765] Missing prompt and error result record for invalidthread option


http://sourceware.org/bugzilla/show_bug.cgi?id=10765

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |FIXED
   Target Milestone|7.1                         |7.3

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2011-01-10 21:17:37 UTC ---
This was fixed by:

2010-12-09  Tom Tromey  <tromey@redhat.com>

    * mi/mi-parse.h (mi_parse): Update.
    * mi/mi-parse.c (mi_parse_cleanup): New function.
    (mi_parse): Add 'token' argument.  Throw exception on error.
    * mi/mi-main.c (mi_print_exception): New function.
    (mi_execute_command): Use mi_print_exception.  Catch exceptions
    from mi_parse.

The reason the exception was not working was that
the call to mi_parse was not surrounded by a TRY_CATCH.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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