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/16751] New: set target async w/o set non-stop results in infinite loop for target remote


https://sourceware.org/bugzilla/show_bug.cgi?id=16751

            Bug ID: 16751
           Summary: set target async w/o set non-stop results in infinite
                    loop for target remote
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: dtaylor at emc dot com

A GUI we are developing did a

set target-async 1

but accidentally failed to do

set non-stop 1

It then connected to a remote target.  GDB proceeded to rapidly print

warning: Invalid remote reply: timeout

I ran it inside emacs (via gud) to reproduce it and by the time gdb paid
attention to my C-c, the warning had repeated over 400,000 times.

Regardless of the wisdom of doing target-async without non-stop, this
should be handled better.

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