* Re: FW: [MI] -break-delete with several breakpoints
@ 2008-05-03 6:56 Bjarke Viksoe
2008-05-03 10:07 ` MI consumers [was Re: FW: [MI] -break-delete with several breakpoints] Nick Roberts
2008-05-03 14:25 ` FW: [MI] -break-delete with several breakpoints Daniel Jacobowitz
0 siblings, 2 replies; 6+ messages in thread
From: Bjarke Viksoe @ 2008-05-03 6:56 UTC (permalink / raw)
To: gdb
>
>> Vladimir wrote:
> For reference, which IDE are you using this behaviour in?
> - Volodya
BVRDE; a personal project of mine, yet hosted on sourceforge.
http://sourceforge.net/projects/bvrde/
I don't have the luxury of installing the latest GDB with my tool, and
because of network latency, small and concise MI messages are
important.
Please be aware that the majority of MI consumers are not on this
list. What may seem nifty to the 2-3 IDE implementations that
discusses MI changes here may not be easy for Apple, Wind River
or the scores of other tools that have integrated with the current
MI interface.
I feel confident that you will eventually find the best path, but if you
do introduce breaking changes, please consider putting it in a
milestone where you can add all, not just the non-stop stuff, pending
breaking changes.
Adding non-stop to MI3 now, then adding MI4 with a few more
breaking changes a couple of months later, MI5, MI6... well, it going
to be a mess and you'll end up with a lot of tools hard-coded to MI2
forever. Surely these changes are needed, just appreciate the
impact on tool developers.
bjarke
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
^ permalink raw reply [flat|nested] 6+ messages in thread
* MI consumers [was Re: FW: [MI] -break-delete with several breakpoints]
2008-05-03 6:56 FW: [MI] -break-delete with several breakpoints Bjarke Viksoe
@ 2008-05-03 10:07 ` Nick Roberts
2008-05-03 14:25 ` FW: [MI] -break-delete with several breakpoints Daniel Jacobowitz
1 sibling, 0 replies; 6+ messages in thread
From: Nick Roberts @ 2008-05-03 10:07 UTC (permalink / raw)
To: Bjarke Viksoe; +Cc: gdb
> Please be aware that the majority of MI consumers are not on this
> list.
You may be right but it is hard to know. In the manual we say:
The best way to avoid unexpected changes in MI that might break your
front end is to make your project known to GDB developers and follow
development on <gdb@sourceware.org> and <gdb-patches@sourceware.org>.
> What may seem nifty to the 2-3 IDE implementations that
> discusses MI changes here may not be easy for Apple, Wind River
> or the scores of other tools that have integrated with the current
> MI interface.
Apple have their own version of Gdb. The only other debuggers that use GDB/MI
and which are not active on this list, that I am aware of, are Netbeans and
Nemiver. Scores (= 40+) seems like an exaggeration. In any case it would be
useful to be aware of them. Can you list them here?
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: FW: [MI] -break-delete with several breakpoints
2008-05-03 6:56 FW: [MI] -break-delete with several breakpoints Bjarke Viksoe
2008-05-03 10:07 ` MI consumers [was Re: FW: [MI] -break-delete with several breakpoints] Nick Roberts
@ 2008-05-03 14:25 ` Daniel Jacobowitz
2008-05-03 15:23 ` Bjarke Viksoe
1 sibling, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-05-03 14:25 UTC (permalink / raw)
To: Bjarke Viksoe; +Cc: gdb
On Sat, May 03, 2008 at 08:56:07AM +0200, Bjarke Viksoe wrote:
>
> >
> >> Vladimir wrote:
> > For reference, which IDE are you using this behaviour in?
> > - Volodya
>
> BVRDE; a personal project of mine, yet hosted on sourceforge.
> http://sourceforge.net/projects/bvrde/
Thanks for the link; I decided to start a list of front ends on the
wiki.
So you're running the front end on Windows and the GDB on the remote
Unix system, rather than GDB on Windows and gdbserver on the remote
system?
> I don't have the luxury of installing the latest GDB with my tool, and
> because of network latency, small and concise MI messages are
> important.
That doesn't sound quite right... small and concise messages are
important for throughput. If you are prepared to pipeline multiple
requests latency can be less of an issue.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [MI] -break-delete with several breakpoints
2008-05-03 14:25 ` FW: [MI] -break-delete with several breakpoints Daniel Jacobowitz
@ 2008-05-03 15:23 ` Bjarke Viksoe
0 siblings, 0 replies; 6+ messages in thread
From: Bjarke Viksoe @ 2008-05-03 15:23 UTC (permalink / raw)
To: gdb
> Daniel wrote:
>> BVRDE; a personal project of mine, yet hosted on sourceforge.
>> http://sourceforge.net/projects/bvrde/
>
> Thanks for the link; I decided to start a list of front ends on the
> wiki.
>
Do a search on google /codesearch for "-exec-run" and a number of
opensource IDE and tools that use MI will turn up too.
> So you're running the front end on Windows and the GDB on the remote
> Unix system, rather than GDB on Windows and gdbserver on the remote
> system?
>
This is correct.
>> I don't have the luxury of installing the latest GDB with my tool, and
>> because of network latency, small and concise MI messages are
>> important.
>
> That doesn't sound quite right... small and concise messages are
> important for throughput. If you are prepared to pipeline multiple
> requests latency can be less of an issue.
>
This was discussed to some degree a long time ago:
http://sourceware.org/ml/gdb/2006-05/msg00063.html
Part of the problem is obviously my lack of skills, some of it because
of the enviroments I wish to support.
bjarke
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
^ permalink raw reply [flat|nested] 6+ messages in thread
* FW: [MI] -break-delete with several breakpoints
@ 2008-05-02 15:33 Bjarke Viksoe
2008-05-02 15:49 ` Vladimir Prus
0 siblings, 1 reply; 6+ messages in thread
From: Bjarke Viksoe @ 2008-05-02 15:33 UTC (permalink / raw)
To: gdb
> Vladimir wrote:
> I've noticed that right now, both -break-delete and -break-disable
> commands accept several breakpoint ids, like:
> -break-disable 1 2 3
> This behaviour comes almost by accident, and is not documented
> anywhere. The question is -- should we document it and add tests, or
> should we declare this behaviour does not exist? I would disallow it.
> Keep it simple ;-)
It's documented alright...
-break-disable ( breakpoint )+
Notice the + character in the MI definition!
I'm using this behaviour. Other IDEs would be too, I'd imagine.
bjarke
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FW: [MI] -break-delete with several breakpoints
2008-05-02 15:33 FW: " Bjarke Viksoe
@ 2008-05-02 15:49 ` Vladimir Prus
0 siblings, 0 replies; 6+ messages in thread
From: Vladimir Prus @ 2008-05-02 15:49 UTC (permalink / raw)
To: gdb
Bjarke Viksoe wrote:
>
>> Vladimir wrote:
>> I've noticed that right now, both -break-delete and -break-disable
>> commands accept several breakpoint ids, like:
>> -break-disable 1 2 3
>> This behaviour comes almost by accident, and is not documented
>> anywhere. The question is -- should we document it and add tests, or
>> should we declare this behaviour does not exist? I would disallow it.
>> Keep it simple ;-)
>
> It's documented alright...
>
> -break-disable ( breakpoint )+
>
> Notice the + character in the MI definition!
Ok, we'll keep it then.
> I'm using this behaviour. Other IDEs would be too, I'd imagine.
For reference, which IDE are you using this behaviour in?
- Volodya
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-05-03 15:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-03 6:56 FW: [MI] -break-delete with several breakpoints Bjarke Viksoe
2008-05-03 10:07 ` MI consumers [was Re: FW: [MI] -break-delete with several breakpoints] Nick Roberts
2008-05-03 14:25 ` FW: [MI] -break-delete with several breakpoints Daniel Jacobowitz
2008-05-03 15:23 ` Bjarke Viksoe
-- strict thread matches above, loose matches on Subject: below --
2008-05-02 15:33 FW: " Bjarke Viksoe
2008-05-02 15:49 ` Vladimir Prus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox