public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "sarikayameh at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug server/13984] gdb stops controlling a thread after "Remote 'g' packet reply is too long: ..." error message
Date: Wed, 12 Aug 2015 11:47:00 -0000	[thread overview]
Message-ID: <bug-13984-4717-T0wLAYgri6@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13984-4717@http.sourceware.org/bugzilla/>

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

Mehmet Ali SARIKAYA <sarikayameh at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sarikayameh at gmail dot com

--- Comment #1 from Mehmet Ali SARIKAYA <sarikayameh at gmail dot com> ---
Created attachment 8506
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8506&action=edit
gdb/remote.c change set

6064 /* Further sanity checks, with knowledge of the architecture. 
6065 //SunnyBeike
6066 
6067 // if (buf_len  > 2 * rsa->sizeof_g_packet) 
6068 // error (_("Remote 'g' packet reply is too long: %s"), rs->buf); 
6069 
6070    if(buf_len > 2 * rsa->sizeof_g_packet) {
6071         rsa->sizeof_g_packet = buf_len;
6072         for(i = 0; i < gdbarch_num_regs(gdbarch); i++){
6073             if(rsa->regs->pnum == -1)
6074                continue;
6075             if(rsa->regs->offset >= rsa->sizeof_g_packet)
6076                rsa->regs->in_g_packet = 0;
6077             else
6078                rsa->regs->in_g_packet = 1;
6079         } 
6080    }
6081

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


  reply	other threads:[~2015-08-12 11:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16  2:34 [Bug server/13984] New: " curty at ieee dot org
2015-08-12 11:47 ` sarikayameh at gmail dot com [this message]
2015-08-12 11:49 ` [Bug server/13984] " sarikayameh at gmail dot com
2015-08-12 11:50 ` sarikayameh at gmail dot com
2015-08-12 12:55 ` ciro.santilli at gmail dot com
2015-08-12 12:57 ` ciro.santilli at gmail dot com
2015-08-12 13:07 ` ciro.santilli at gmail dot com
2015-08-12 17:08 ` sarikayameh at gmail dot com
2015-08-12 17:09 ` sarikayameh at gmail dot com
2015-08-12 21:01 ` ciro.santilli at gmail dot com
2015-08-13 10:37 ` sarikayameh at gmail dot com
2015-08-13 10:39 ` ciro.santilli at gmail dot com
2023-09-12 14:49 ` konsolebox at gmail dot com

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-13984-4717-T0wLAYgri6@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).