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 remote/14408] New: remote_start_remote incorrectly usesimmediate_quit


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

             Bug #: 14408
           Summary: remote_start_remote incorrectly uses immediate_quit
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


remote_start_remote modifies immediate_quit but:

* Does not always decrement it.
  In particular it is not cleared along the non-stop path.

* Runs too much code (IMHO) with it non-zero.
  immediate_quit can cause an exception to be thrown at any
  instruction.  It is not safe to leave it set, say, over
  calls into libc and the like.

-- 
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]