public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug remote/27927] gdb crash with OpenOCD
Date: Tue, 17 Jan 2023 16:28:20 +0000	[thread overview]
Message-ID: <bug-27927-4717-021PlMGKGJ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27927-4717@http.sourceware.org/bugzilla/>

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #14 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Simon Marchi from comment #12)

Looking at the trace:

>   [remote] Sending packet: $qXfer:threads:read::0,1000#92
>   [remote] Packet received: l<?xml version="1.0"?>\n<threads>\n<thread
> id="1">Name: Kernel's Stat Task, State: Delay, Priority: 6</thread>\n<thread
> id="2">Name: Wi-SUN MAC, State: Pend, Priority: 31</thread>\n<thread
> id="3">Name: Wi-SUN Timer Task, State: Pend, Priority: 10</thread>\n<thread
> id="4">Name: Wi-SUN Event Loop Task, State: Pend, Priority:
> 12</thread>\n<thread id="5">Name: Wi-SUN RF Task, State: Pend, Priority:
> 9</thread>\n</threads>\n

This shows the threads, they have id 1-5.

>   [remote] Sending packet: $qC#b4
>   [remote] Packet received: QC0000000000000000

But the remote says that the current thread is 0, which seems
sort of nonsensical.  The docs say:

A THREAD-ID can
also be a literal '-1' to indicate all threads, or '0' to pick any
thread.

However, it seems to me that these special values do not make
sense for a QC response.

IOW, I think this is a bug in the remote stub.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-01-17 16:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28 12:47 [Bug remote/27927] New: " jerome.pouiller at gmail dot com
2021-05-28 12:49 ` [Bug remote/27927] " jerome.pouiller at gmail dot com
2021-05-28 12:52 ` jerome.pouiller at gmail dot com
2021-05-28 13:40 ` simark at simark dot ca
2021-06-01  8:14 ` jerome.pouiller at gmail dot com
2021-06-01  8:21 ` jerome.pouiller at gmail dot com
2021-06-01  8:23 ` jerome.pouiller at gmail dot com
2021-06-01 13:43 ` simark at simark dot ca
2021-06-01 13:44 ` simark at simark dot ca
2021-06-02  6:22 ` alucca388 at gmail dot com
2021-06-02  7:06 ` jerome.pouiller at gmail dot com
2021-06-02  7:26 ` jerome.pouiller at gmail dot com
2021-06-02  7:29 ` jerome.pouiller at gmail dot com
2021-06-02 13:28 ` simark at simark dot ca
2021-11-06  9:04 ` fredrik.hederstierna@securitas-direct.com
2022-06-29 13:43 ` robertjenssen at ozemail dot com.au
2023-01-17 16:28 ` tromey at sourceware dot org [this message]
2023-02-09 14:40 ` jerome.pouiller at gmail dot com
2023-02-09 14:43 ` jerome.pouiller at gmail dot com
2023-02-09 21:45 ` tromey at sourceware dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27927-4717-021PlMGKGJ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).