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


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

--- Comment #4 from David Taylor <dtaylor at emc dot com> ---
First, I set the stage:

    (gdb) set debug remote 1
    (gdb) set target-async 1
    (gdb) show non-stop
    Controlling the inferior in non-stop mode is off.

Next, I did the target remote command., here's the output.

    Sending packet:
$qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+#b5...Ack
    Packet received:
PacketSize=400;EnableDisableTracepoints+;QAgent+;ConditionalTracepoints-;FastTracepoints-;QNonStop+;QAllow-
    Packet qSupported (supported-packets) is supported
    Sending packet: $Hg0#df...Ack
    Packet received: OK
    Sending packet: $QNonStop:0#8c...Ack
    Packet received: OK
    Sending packet: $qTStatus#49...Ack
    Packet received: T0;tnotrun:0
    Packet qTStatus (trace-status) is supported
    Sending packet: $qTfV#81...Ack
    Packet received: 
    Sending packet: $?#3f...Ack
    Packet received: OK
    Sending packet: $Hc-1#09...Ack
    Packet received: OK
    Sending packet: $qC#b4...Packet instead of Ack, ignoring it
    Ack
    Packet received: QC1
    Sending packet: $qAttached#8f...Ack
    Packet received: 1
    Packet qAttached (query-attached) is supported
    Sending packet: $qOffsets#4b...Ack
    Packet received: 
    warning: Invalid remote reply: timeout
    warning: Invalid remote reply: timeout
    warning: Invalid remote reply: timeout
    warning: Invalid remote reply: timeout
    warning: Invalid remote reply: timeout
    warning: Invalid remote reply: timeout

This time I had to externally kill GDB as try as I might repeated C-c's
in emacs did nothing.  By the time I found the pid and killed it there
were over 448,000 instances of the line:

    warning: Invalid remote reply: timeout

in the gud buffer.

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