Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: starting gdb/mi from FE
Date: Tue, 06 Jun 2006 17:22:00 -0000	[thread overview]
Message-ID: <8EE08A24-F526-4AE6-89A5-46C7AB15A77D@apple.com> (raw)
In-Reply-To: <17540.57896.489747.811644@kahikatea.snap.net.nz>


On Jun 5, 2006, at 7:02 PM, Nick Roberts wrote:

>> Nick, could you explain why the restart is a problem?  The time GDB
>> takes to reject an interpreter doesn't seem too bad.  I don't want to
>> optimize the wrong thing.
>
> It's just more complicated to handle and I can see no advantage.   
> With Emacs,
> compare M-x gdb and mistyping a CLI command to M-x gdb and giving  
> gdb an
> unrecognised option.
>
>> ...
>> I thought there already was a "set interp", but it seems I was
>> mistaken.
>
> I think Apple have such a command but have not ported it back to FSF  
> GDB

This is not relevant to the discussion, but just to get the history  
right...  "set interpreter" was part of the interpreter command that I  
did a while back.  When it was ported to FSF gdb (Keith, Andrew and  
Elena were the ones involved with this, IIRC)  the "set interpreter"  
part was explicitly rejected.  IIRC the argument at the time was that  
you could manage to do nested calls to set interpreter, and it was  
hard to make that work.  This didn't so much bother me - people who  
taunt the software like that deserve what they get.  So I've  
maintained it as a patch in our sources because having to run the  
whole session in mi mode when debugging mi commands is a RPITA.

Jim


  parent reply	other threads:[~2006-06-06 17:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06  0:55 Nick Roberts
2006-06-06  1:20 ` Daniel Jacobowitz
2006-06-06  1:56   ` Bob Rossi
2006-06-06  3:16     ` Daniel Jacobowitz
2006-06-06  2:03   ` Nick Roberts
2006-06-06  2:04     ` Bob Rossi
2006-06-06 17:22     ` Jim Ingham [this message]
2006-06-06 17:30       ` Daniel Jacobowitz
2006-06-06 17:41         ` Jim Ingham
2006-06-06  1:33 ` Bob Rossi
2006-06-06  1:56   ` Nick Roberts
2006-06-06  2:01     ` Bob Rossi
2006-06-06  2:30       ` Nick Roberts
  -- strict thread matches above, loose matches on Subject: below --
2006-06-05 13:45 Bob Rossi
2006-06-05 19:56 ` Eli Zaretskii
2006-06-05 19:58   ` Bob Rossi
2006-06-05 20:23     ` Eli Zaretskii
2006-06-05 21:25   ` Daniel Jacobowitz
2006-06-05 21:28     ` Bob Rossi
2006-06-06  3:44     ` Eli Zaretskii
2006-06-05 19:59 ` Daniel Jacobowitz
2006-06-05 20:49   ` Bob Rossi

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=8EE08A24-F526-4AE6-89A5-46C7AB15A77D@apple.com \
    --to=jingham@apple.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /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