Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Amit S. Kale" <amitkale@linsyssoft.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: kgdb support for gdb
Date: Mon, 04 Oct 2004 15:42:00 -0000	[thread overview]
Message-ID: <200410042111.33306.amitkale@linsyssoft.com> (raw)
In-Reply-To: <416168C5.6010601@gnu.org>

On Monday 04 Oct 2004 8:44 pm, Andrew Cagney wrote:
> > Index: src/gdb/remote.c
> > ===================================================================
> > --- src.orig/gdb/remote.c	2004-09-25 01:21:18.000000000 +0530
> > +++ src/gdb/remote.c	2004-10-01 12:58:49.000000000 +0530
> > @@ -271,12 +271,13 @@
> >
> >    /* Default maximum number of characters in a packet body. Many
> >       remote stubs have a hardwired buffer size of 400 bytes
> > -     (c.f. BUFMAX in m68k-stub.c and i386-stub.c).  BUFMAX-1 is used
> > +     (c.f. BUFMAX in m68k-stub.c and i386-stub.c).
> > +     BUFMAX is defined as 1024 in most kgdb stubs. BUFMAX-1 is used
> >       as the maximum packet-size to ensure that the packet and an extra
> >       NUL character can always fit in the buffer.  This stops GDB
> >       trashing stubs that try to squeeze an extra NUL into what is
> >       already a full buffer (As of 1999-12-04 that was most stubs. */
> > -  rs->remote_packet_size = 400 - 1;
> > +  rs->remote_packet_size = 1024 - 1;
> >
> >    /* Should rs->sizeof_g_packet needs more space than the
> >       default, adjust the size accordingly. Remember that each byte is
>
> As the comment explains, the change is wrong.  Can I suggest starting a
> new thread on gdb@ explaining the underlying problem that you're trying
> to fix here (however, can you also delay it a bit, gdb@'s currently
> dominated by MI questions).

No problem!
I'll keep this in mind and bring this point up in the next round of 
discussions? I have to first work on the changes suggested by Mark K.

-Amit


  reply	other threads:[~2004-10-04 15:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01  7:45 Amit S. Kale
2004-10-01  9:13 ` Andreas Schwab
2004-10-01  9:57   ` Amit S. Kale
2004-10-01 22:01 ` Mark Kettenis
2004-10-02  3:52   ` Amit S. Kale
2004-10-02 22:48     ` Mark Kettenis
2004-10-04 14:56     ` Andrew Cagney
2004-10-19 12:45     ` Amit S. Kale
2004-10-04 15:14 ` Andrew Cagney
2004-10-04 15:42   ` Amit S. Kale [this message]
2004-10-19 12:55   ` Amit S. Kale
2004-10-04 15:55 ` Andrew Cagney
2004-10-04 16:36   ` Amit S. Kale
2004-10-04 17:23     ` Daniel Jacobowitz
2004-10-25  5:50       ` Amit S. Kale

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=200410042111.33306.amitkale@linsyssoft.com \
    --to=amitkale@linsyssoft.com \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /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