Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Michael Snyder <msnyder@specifix.com>
Subject: Re: Remove undocumented remote procotol extension
Date: Wed, 11 Jun 2008 03:27:00 -0000	[thread overview]
Message-ID: <200806110108.16878.pedro@codesourcery.com> (raw)
In-Reply-To: <200806110103.33301.pedro@codesourcery.com>

A Wednesday 11 June 2008 01:03:33, Pedro Alves escreveu:
> Hi,
>
> Following up on,
>
>  [remote] Where is S AA p PID currently specified?
>  http://sourceware.org/ml/gdb/2008-06/msg00081.html
>
> Here is the patch that removes the undocumented extension.
>
> Is this NEWS worthy?  If so, NEWS change included.
>
> OK ?

For the record, it seems it was used to report some the kernel mode
in the stop reply.  There was PDEBUG ('k') and KDEBUG ('p').

          if (buf[3] == 'p')
            {
              /* Export Cisco kernel mode as a convenience variable
                 (so that it can be used in the GDB prompt if desired). */

              if (cisco_kernel_mode == 1)
                set_internalvar (lookup_internalvar ("cisco_kernel_mode"),
                                 value_from_string ("PDEBUG-"));
              cisco_kernel_mode = 0;
              thread_num = strtol ((const char *) &buf[4], NULL, 16);
              record_currthread (thread_num);
            }
          else if (buf[3] == 'k')
            {
              /* Export Cisco kernel mode as a convenience variable
                 (so that it can be used in the GDB prompt if desired). */

              if (cisco_kernel_mode == 1)
                set_internalvar (lookup_internalvar ("cisco_kernel_mode"),
                                 value_from_string ("KDEBUG-"));
              cisco_kernel_mode = 1;
            }

For some reason, Andrew Cagney left that 'p' in, when removing
the cisco bits.

-- 
Pedro Alves


  reply	other threads:[~2008-06-11  0:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  0:24 Pedro Alves
2008-06-11  3:27 ` Pedro Alves [this message]
2008-06-11  4:55 ` Eli Zaretskii
2008-06-11  8:25   ` Thiago Jung Bauermann
2008-06-11 13:48 ` Daniel Jacobowitz

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=200806110108.16878.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@specifix.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