From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16731 invoked by alias); 10 Jun 2008 19:42:23 -0000 Received: (qmail 16722 invoked by uid 22791); 10 Jun 2008 19:42:22 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jun 2008 19:42:05 +0000 Received: (qmail 11794 invoked from network); 10 Jun 2008 19:42:03 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Jun 2008 19:42:03 -0000 To: gdb@sourceware.org Subject: [remote] Where is S AA p PID currently specified? Content-Disposition: inline From: Pedro Alves Date: Tue, 10 Jun 2008 19:42:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200806102042.06609.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00081.txt.bz2 [Resend - it seems the first time didn't make it] Hi, I see this in remote.c:remote_wait, while handling the 'S' and 'T' stop reply packets: switch (buf[0]) { ... case 'T': ... /* fall through */ case 'S': /* Old style status, just signal only. */ if (solibs_changed) status->kind = TARGET_WAITKIND_LOADED; else { status->kind = TARGET_WAITKIND_STOPPED; status->value.sig = (enum target_signal) (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); } if (buf[3] == 'p') { thread_num = strtol ((const char *) &buf[4], NULL, 16); record_currthread (thread_num); } goto got_status; Where's that 'p' after S AA specified? I don't see it in the docs, in either S or T stop reply packets description. Looking through the file history, it seemed this had to do with some old Cisco extensions that have since been removed, but this bit got left behind. Can we remove it ? -- Pedro Alves