This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/13984] gdb stops controlling a thread after "Remote 'g' packet reply is too long: ..." error message
- From: "sarikayameh at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 12 Aug 2015 11:50:22 +0000
- Subject: [Bug server/13984] gdb stops controlling a thread after "Remote 'g' packet reply is too long: ..." error message
- Auto-submitted: auto-generated
- References: <bug-13984-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=13984
--- Comment #3 from Mehmet Ali SARIKAYA <sarikayameh at gmail dot com> ---
Comment on attachment 8506
--> https://sourceware.org/bugzilla/attachment.cgi?id=8506
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.