This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/15255] New: remote_read_qxfer hides remote errors
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 08 Mar 2013 12:34:29 +0000
- Subject: [Bug remote/15255] New: remote_read_qxfer hides remote errors
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15255
Bug #: 15255
Summary: remote_read_qxfer hides remote errors
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: remote
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
Created attachment 6921
--> http://sourceware.org/bugzilla/attachment.cgi?id=6921
Simple artifical error in gdbserver.
Patch gdbserver by the attachment.
(gdb) record btrace
(gdb) step
(gdb) set debug remote 1
(gdb) record function-call-history
Sending packet: $qXfer:btrace:read:new:0,fff#d3...Packet received: E.Must
select a single thread.
No trace.
(gdb)
GDB could print: Must select a single thread.
It looks to me as:
remote_read_qxfer:
if (packet_len < 0 || packet_ok (rs->buf, packet) != PACKET_OK)
return -1;
PACKET_ERROR with "E." is not handled.
--
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.