From susan at smacchia.net Mon Jun 5 07:59:15 2006 From: susan at smacchia.net (Susan Macchia) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec Message-ID: <20060605145915.13745.qmail@web51815.mail.yahoo.com> Hello all, I am posting this to dmi-discuss rather than workgroup to get as much participation as possible. I've added the initial pages for us to work on adding spec content. If you go to the main DMI website (http://dmi.freestandards.org), there is a link to "Developing the DMI Spec". You can start there, which will point you to the DMI Wiki (http://freestandards.org/en/DMIwiki). This page contains some preamble and the GPL license (found in the gdb manual). >From there you can go to the "DMI Wiki Content" page and start adding content or pages with content (http://freestandards.org/en/DMI_Wiki_Content). I suggest that we make pages for areas to add content and let this page be the TOC. So you could add, to this page (note "[[ References: <20060605145915.13745.qmail@web51815.mail.yahoo.com> Message-ID: <28BA0D64-0D78-42C5-9307-5C0E11C0D87A@computer.org> Susan, If you like, I can do an initial cut-and-paste of the relevant sections from the gdb manual and get the initial formatting set up. This will give people something to start working with. Greg On Jun 5, 2006, at 8:59 AM, Susan Macchia wrote: > Hello all, > > I am posting this to dmi-discuss rather than workgroup to get as much > participation as possible. > > I've added the initial pages for us to work on adding spec content. > > If you go to the main DMI website (http://dmi.freestandards.org), > there is a > link to "Developing the DMI Spec". > > You can start there, which will point you to the DMI Wiki > (http://freestandards.org/en/DMIwiki). This page contains some > preamble and > the GPL license (found in the gdb manual). > >> From there you can go to the "DMI Wiki Content" page and start >> adding content > or pages with content (http://freestandards.org/en/DMI_Wiki_Content). > > I suggest that we make pages for areas to add content and let this > page be the > TOC. So you could add, to this page (note "[[ you to > create a page): > [[Command Syntax]] > [[CLI compatibility]] > > etc. > > Then each page created from here can be devoted to that area. I > just used the > above names as an example. > > One question to you all, given that my role has mostly been one of > driving/organizing this effort, is there a section that I could > review against > the latest gdb to see what works and what doesn't? I would like to > contribute > here. > > Regards, > Susan > > _____________________________ > Susan Macchia > mailto:susan@smacchia.net > http://www.smacchia.net > _____________________________ > > _______________________________________________ > dmi-discuss mailing list > dmi-discuss@lists.freestandards.org > http://lists.freestandards.org/cgi-bin/mailman/listinfo/dmi-discuss From susan at smacchia.net Mon Jun 5 10:46:08 2006 From: susan at smacchia.net (susan@smacchia.net) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <28BA0D64-0D78-42C5-9307-5C0E11C0D87A@computer.org> Message-ID: <20060605174608.33119.qmail@web51802.mail.yahoo.com> That would be GREAT! Thanks. ----- Original Message ---- From: Greg Watson To: Susan Macchia Cc: DMI Mailing List Sent: Monday, June 5, 2006 1:11:53 PM Subject: Re: [dmi-discuss] DMI Wiki for working on the Spec Susan, If you like, I can do an initial cut-and-paste of the relevant sections from the gdb manual and get the initial formatting set up. This will give people something to start working with. Greg On Jun 5, 2006, at 8:59 AM, Susan Macchia wrote: > Hello all, > > I am posting this to dmi-discuss rather than workgroup to get as much > participation as possible. > > I've added the initial pages for us to work on adding spec content. > > If you go to the main DMI website (http://dmi.freestandards.org), > there is a > link to "Developing the DMI Spec". > > You can start there, which will point you to the DMI Wiki > (http://freestandards.org/en/DMIwiki). This page contains some > preamble and > the GPL license (found in the gdb manual). > >> From there you can go to the "DMI Wiki Content" page and start >> adding content > or pages with content (http://freestandards.org/en/DMI_Wiki_Content). > > I suggest that we make pages for areas to add content and let this > page be the > TOC. So you could add, to this page (note "[[ you to > create a page): > [[Command Syntax]] > [[CLI compatibility]] > > etc. > > Then each page created from here can be devoted to that area. I > just used the > above names as an example. > > One question to you all, given that my role has mostly been one of > driving/organizing this effort, is there a section that I could > review against > the latest gdb to see what works and what doesn't? I would like to > contribute > here. > > Regards, > Susan > > _____________________________ > Susan Macchia > mailto:susan@smacchia.net > http://www.smacchia.net > _____________________________ > > _______________________________________________ > dmi-discuss mailing list > dmi-discuss@lists.freestandards.org > http://lists.freestandards.org/cgi-bin/mailman/listinfo/dmi-discuss From g.watson at computer.org Mon Jun 5 14:57:09 2006 From: g.watson at computer.org (Greg Watson) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060605174608.33119.qmail@web51802.mail.yahoo.com> References: <20060605174608.33119.qmail@web51802.mail.yahoo.com> Message-ID: Ok, I've added the syntax sections and the first breakpoint command section to give you a feel for the layout. Please take a look and let me know if it seems ok and you're happy with the formatting. This wiki seems to have a default paragraph indent that makes the formatting a bit weird. If anyone knows how to turn it off, please let me know. I've taken the liberty of making a few editorial changes. Feel free to disagree and/or make changes yourselves: 1. I've removed 'GDB/MI' from the section headings. I guess we should also remove references to it from the text as well. 2. I have not included the 'Simple Examples of GDB/MI Interaction' section. 3. I changed the 'GDB/MI Development and Front Ends' section to 'Version Numbers' to better reflect what this section is (or should be) about. 4. I have not included the 'Example' parts of each section. I think it would be better to provide the specific syntax that each command produces rather than an example of the output. This would be better in the user manual. I'll continue to add sections as I get time. Enjoy. Greg On Jun 5, 2006, at 11:46 AM, wrote: > > That would be GREAT! Thanks. > > > ----- Original Message ---- > From: Greg Watson > To: Susan Macchia > Cc: DMI Mailing List > Sent: Monday, June 5, 2006 1:11:53 PM > Subject: Re: [dmi-discuss] DMI Wiki for working on the Spec > > Susan, > > If you like, I can do an initial cut-and-paste of the relevant > sections from the gdb manual and get the initial formatting set up. > This will give people something to start working with. > > Greg > > On Jun 5, 2006, at 8:59 AM, Susan Macchia wrote: > >> Hello all, >> >> I am posting this to dmi-discuss rather than workgroup to get as much >> participation as possible. >> >> I've added the initial pages for us to work on adding spec content. >> >> If you go to the main DMI website (http://dmi.freestandards.org), >> there is a >> link to "Developing the DMI Spec". >> >> You can start there, which will point you to the DMI Wiki >> (http://freestandards.org/en/DMIwiki). This page contains some >> preamble and >> the GPL license (found in the gdb manual). >> >>> From there you can go to the "DMI Wiki Content" page and start >>> adding content >> or pages with content (http://freestandards.org/en/DMI_Wiki_Content). >> >> I suggest that we make pages for areas to add content and let this >> page be the >> TOC. So you could add, to this page (note "[[> you to >> create a page): >> [[Command Syntax]] >> [[CLI compatibility]] >> >> etc. >> >> Then each page created from here can be devoted to that area. I >> just used the >> above names as an example. >> >> One question to you all, given that my role has mostly been one of >> driving/organizing this effort, is there a section that I could >> review against >> the latest gdb to see what works and what doesn't? I would like to >> contribute >> here. >> >> Regards, >> Susan >> >> _____________________________ >> Susan Macchia >> mailto:susan@smacchia.net >> http://www.smacchia.net >> _____________________________ >> >> _______________________________________________ >> dmi-discuss mailing list >> dmi-discuss@lists.freestandards.org >> http://lists.freestandards.org/cgi-bin/mailman/listinfo/dmi-discuss > > > > > From nickrob at snap.net.nz Mon Jun 5 18:00:43 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: References: <20060605174608.33119.qmail@web51802.mail.yahoo.com> Message-ID: <17540.54203.997827.458306@kahikatea.snap.net.nz> > Ok, I've added the syntax sections and the first breakpoint command > section to give you a feel for the layout. Please take a look and let > me know if it seems ok and you're happy with the formatting. This > wiki seems to have a default paragraph indent that makes the > formatting a bit weird. If anyone knows how to turn it off, please > let me know. The formatting looks good to me. >... > I'll continue to add sections as I get time. I've recently submitted a patch for the GDB manual which Eli is in the process of reviewing. It might be a good idea to wait for those changes to be incorporated before adding further sections. -- Nick http://www.inet.net.nz/~nickrob From g.watson at computer.org Tue Jun 6 14:17:12 2006 From: g.watson at computer.org (Greg Watson) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <17540.54203.997827.458306@kahikatea.snap.net.nz> References: <20060605174608.33119.qmail@web51802.mail.yahoo.com> <17540.54203.997827.458306@kahikatea.snap.net.nz> Message-ID: Ok. Any idea when that will be? Greg On Jun 5, 2006, at 7:00 PM, Nick Roberts wrote: >> Ok, I've added the syntax sections and the first breakpoint command >> section to give you a feel for the layout. Please take a look and let >> me know if it seems ok and you're happy with the formatting. This >> wiki seems to have a default paragraph indent that makes the >> formatting a bit weird. If anyone knows how to turn it off, please >> let me know. > > The formatting looks good to me. > >> ... >> I'll continue to add sections as I get time. > > I've recently submitted a patch for the GDB manual which Eli is in > the process > of reviewing. It might be a good idea to wait for those changes to be > incorporated before adding further sections. > > -- > Nick http:// > www.inet.net.nz/~nickrob From nickrob at snap.net.nz Tue Jun 6 22:55:39 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: References: <20060605174608.33119.qmail@web51802.mail.yahoo.com> <17540.54203.997827.458306@kahikatea.snap.net.nz> Message-ID: <17542.27227.504083.814957@kahikatea.snap.net.nz> > Ok. Any idea when that will be? Not really. Eli usually reviews patches quite quickly but I don't know how many iterations will be needed. A lot of the MI commands described in the GDB manual haven't been implemented and I plan to suggest removing some of them. I wonder if it might be a good idea to populate the DMI spec with the MI commands that are considered essential and then add to them as the need arises, rather than starting with all of them and then whittling them down. As a minimal set, these are the ones that I plan to use for Emacs after it gets released: -inferior-tty-set -file-list-exec-source-files -file-list-exec-source-file -data-list-register-names -data-list-register-values -data-list-changed-registers -gdb-set -gdb-show -var-create -var-evaluate-expression -var-update -var-delete -var-assign -break-list -stack-list-frames -stack-list-locals -stack-info-frame -- Nick http://www.inet.net.nz/~nickrob From bob_rossi at cox.net Wed Jun 7 03:39:45 2006 From: bob_rossi at cox.net (Bob Rossi) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <17542.27227.504083.814957@kahikatea.snap.net.nz> References: <20060605174608.33119.qmail@web51802.mail.yahoo.com> <17540.54203.997827.458306@kahikatea.snap.net.nz> <17542.27227.504083.814957@kahikatea.snap.net.nz> Message-ID: <20060607103945.GB27344@brasko.net> On Wed, Jun 07, 2006 at 05:55:39PM +1200, Nick Roberts wrote: > > Ok. Any idea when that will be? > > Not really. Eli usually reviews patches quite quickly but I don't know > how many iterations will be needed. > > A lot of the MI commands described in the GDB manual haven't been implemented > and I plan to suggest removing some of them. I wonder if it might be a good > idea to populate the DMI spec with the MI commands that are considered > essential and then add to them as the need arises, rather than starting with > all of them and then whittling them down. > > As a minimal set, these are the ones that I plan to use for Emacs after it > gets released: > > -inferior-tty-set > -file-list-exec-source-files > -file-list-exec-source-file > -data-list-register-names > -data-list-register-values > -data-list-changed-registers > -gdb-set > -gdb-show > -var-create > -var-evaluate-expression > -var-update > -var-delete > -var-assign > -break-list -break-insert ? > -stack-list-frames > -stack-list-locals > -stack-info-frame Bob Rossi From susan at smacchia.net Wed Jun 7 09:40:24 2006 From: susan at smacchia.net (susan@smacchia.net) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060607103945.GB27344@brasko.net> Message-ID: <20060607164024.86344.qmail@web51803.mail.yahoo.com> Bob Rossi wrote: >On Wed, Jun 07, 2006 at 05:55:39PM +1200, Nick Roberts wrote: >> > Ok. Any idea when that will be? >> >> Not really. Eli usually reviews patches quite quickly but I don't know >> how many iterations will be needed. >> >> A lot of the MI commands described in the GDB manual haven't been implemented >> and I plan to suggest removing some of them. I wonder if it might be a good >> idea to populate the DMI spec with the MI commands that are considered >> essential and then add to them as the need arises, rather than starting with >> all of them and then whittling them down. This is a good idea - though I have no idea which haven't been implemented. I would also like to know what Apple has implemented in addition (if anything) or what their variations are (Jim?). >> >> As a minimal set, these are the ones that I plan to use for Emacs after it >> gets released: >> >> -inferior-tty-set >> -file-list-exec-source-files >> -file-list-exec-source-file >> -data-list-register-names >> -data-list-register-values >> -data-list-changed-registers >> -gdb-set >> -gdb-show >> -var-create >> -var-evaluate-expression >> -var-update >> -var-delete >> -var-assign >> -break-list > >-break-insert ? Yes this one is pretty critical. What about watchpoints, signal handling? > >> -stack-list-frames >> -stack-list-locals >> -stack-info-frame From g.watson at computer.org Wed Jun 7 10:14:53 2006 From: g.watson at computer.org (Greg Watson) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060607164024.86344.qmail@web51803.mail.yahoo.com> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> Message-ID: <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> I think we need to include all the commands used by existing front- ends, but I agree that there is no need to include unimplemented commands yet (though these may become part of the spec). Greg On Jun 7, 2006, at 10:40 AM, wrote: > Bob Rossi wrote: >> On Wed, Jun 07, 2006 at 05:55:39PM +1200, Nick Roberts wrote: >>>> Ok. Any idea when that will be? >>> >>> Not really. Eli usually reviews patches quite quickly but I >>> don't know >>> how many iterations will be needed. >>> >>> A lot of the MI commands described in the GDB manual haven't been >>> implemented >>> and I plan to suggest removing some of them. I wonder if it >>> might be a good >>> idea to populate the DMI spec with the MI commands that are >>> considered >>> essential and then add to them as the need arises, rather than >>> starting with >>> all of them and then whittling them down. > > This is a good idea - though I have no idea which haven't been > implemented. > > I would also like to know what Apple has implemented in addition > (if anything) or > what their variations are (Jim?). > >>> >>> As a minimal set, these are the ones that I plan to use for Emacs >>> after it >>> gets released: >>> >>> -inferior-tty-set >>> -file-list-exec-source-files >>> -file-list-exec-source-file >>> -data-list-register-names >>> -data-list-register-values >>> -data-list-changed-registers >>> -gdb-set >>> -gdb-show >>> -var-create >>> -var-evaluate-expression >>> -var-update >>> -var-delete >>> -var-assign >>> -break-list >> >> -break-insert ? > > Yes this one is pretty critical. What about watchpoints, signal > handling? > >> >>> -stack-list-frames >>> -stack-list-locals >>> -stack-info-frame > > > > > > > _______________________________________________ > dmi-discuss mailing list > dmi-discuss@lists.freestandards.org > http://lists.freestandards.org/cgi-bin/mailman/listinfo/dmi-discuss From nickrob at snap.net.nz Wed Jun 7 13:27:11 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> Message-ID: <17543.13983.372863.599328@kahikatea.snap.net.nz> > I think we need to include all the commands used by existing front- > ends, but I agree that there is no need to include unimplemented > commands yet (though these may become part of the spec). Does anybody know which ones Eclipse uses? -- Nick http://www.inet.net.nz/~nickrob From nickrob at snap.net.nz Wed Jun 7 13:31:14 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060607164024.86344.qmail@web51803.mail.yahoo.com> References: <20060607103945.GB27344@brasko.net> <20060607164024.86344.qmail@web51803.mail.yahoo.com> Message-ID: <17543.14226.551070.413771@kahikatea.snap.net.nz> > >> As a minimal set, these are the ones that I plan to use for Emacs after it > >> gets released: > >> > >> -inferior-tty-set > >> -file-list-exec-source-files > >> -file-list-exec-source-file > >> -data-list-register-names > >> -data-list-register-values > >> -data-list-changed-registers > >> -gdb-set > >> -gdb-show > >> -var-create > >> -var-evaluate-expression > >> -var-update > >> -var-delete > >> -var-assign > >> -break-list > > > >-break-insert ? > > Yes this one is pretty critical. What about watchpoints, signal handling? I just use the CLI command break/watch to create the break/watchpoint and -break-list to update the breakpoints buffer. > >> -stack-list-frames > >> -stack-list-locals > >> -stack-info-frame -- Nick http://www.inet.net.nz/~nickrob From mikhailk at qnx.com Wed Jun 7 13:38:50 2006 From: mikhailk at qnx.com (Mikhail Khodjaiants) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec References: <20060607164024.86344.qmail@web51803.mail.yahoo.com><8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> Message-ID: <016501c68a72$64a99ce0$d96c2a0a@NTW011> Do you mean the mi commands used by CDT Or CLI commands? Mikhail Khodjaiants QNX Software Systems ----- Original Message ----- From: "Nick Roberts" To: "Greg Watson" Cc: "DMI Mailing List" Sent: Wednesday, June 07, 2006 4:27 PM Subject: Re: [dmi-discuss] DMI Wiki for working on the Spec > > I think we need to include all the commands used by existing front- > > ends, but I agree that there is no need to include unimplemented > > commands yet (though these may become part of the spec). > > Does anybody know which ones Eclipse uses? > > -- > Nick > http://www.inet.net.nz/~nickrob > > _______________________________________________ > dmi-discuss mailing list > dmi-discuss@lists.freestandards.org > http://lists.freestandards.org/cgi-bin/mailman/listinfo/dmi-discuss From g.watson at computer.org Wed Jun 7 13:44:27 2006 From: g.watson at computer.org (Greg Watson) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <17543.13983.372863.599328@kahikatea.snap.net.nz> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> Message-ID: A quick look at the source shows they provide an implementation for the following commands. There may be a few I missed. Greg -break-after -break-condition -break-delete -break-disable -break-enable -break-insert -break-list -break-watch -data-disassemble -data-evaluate-expression -data-list-changed-registers -data-list-register-names -data-list-register-values -data-read-memory -data-write-memory -data-write-register-values -environment-cd -environment-directory -environment-path -environment-pwd -exec-arguments -exec-continue -exec-finish -exec-interrupt -exec-next -exec-next-instruction -exec-return-exec-run -exec-step -exec-step-instruction -exec-until -file-exec-file -file-symbol-file -gdb-exit -gdb-set -gdb-show -interpreter-exec -stack-info-depth -stack-list-arguments -stack-list-frames -stack-list-locals -stack-select-frame -target-detach -target-download -target-select -thread-list-ids -thread-select -var-assign -var-create -var-delete -var-evaluate-expression -var-info-expression -var-info-num-children -var-info-type -var-list-children -var-set-format -var-show-attributes -var-show-format -var-update On Jun 7, 2006, at 2:27 PM, Nick Roberts wrote: >> I think we need to include all the commands used by existing front- >> ends, but I agree that there is no need to include unimplemented >> commands yet (though these may become part of the spec). > > Does anybody know which ones Eclipse uses? > > -- > Nick http:// > www.inet.net.nz/~nickrob From nickrob at snap.net.nz Wed Jun 7 14:37:41 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> Message-ID: <17543.18213.594652.940421@kahikatea.snap.net.nz> > A quick look at the source shows they provide an implementation for > the following commands. There may be a few I missed. These are nearly (but not quite) all the MI commands which are implemented in GDB. > -break-after > -break-condition > -break-delete > -break-disable > -break-enable > -break-insert > -break-list > -break-watch > -data-disassemble > -data-evaluate-expression > -data-list-changed-registers > -data-list-register-names > -data-list-register-values > -data-read-memory > -data-write-memory > -data-write-register-values These two are implemented but not documented. > -environment-cd > -environment-directory > -environment-path > -environment-pwd > -exec-arguments > -exec-continue > -exec-finish > -exec-interrupt > -exec-next > -exec-next-instruction > -exec-return-exec-run -exec-return -exec-run > -exec-step > -exec-step-instruction > -exec-until > -file-exec-file > -file-symbol-file > -gdb-exit > -gdb-set > -gdb-show > -interpreter-exec > -stack-info-depth > -stack-list-arguments > -stack-list-frames > -stack-list-locals > -stack-select-frame > -target-detach > -target-download > -target-select > -thread-list-ids > -thread-select > -var-assign > -var-create > -var-delete > -var-evaluate-expression > -var-info-expression > -var-info-num-children > -var-info-type > -var-list-children > -var-set-format > -var-show-attributes > -var-show-format > -var-update This would be a good list to start with then. The others could be pared out of the DMI spec for the moment. -- Nick http://www.inet.net.nz/~nickrob From mikhailk at qnx.com Wed Jun 7 15:01:02 2006 From: mikhailk at qnx.com (Mikhail Khodjaiants) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec References: <20060607164024.86344.qmail@web51803.mail.yahoo.com><8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org><17543.13983.372863.599328@kahikatea.snap.net.nz><015d01c68a71$dbf100a0$d96c2a0a@NTW011> <17543.18295.702025.856743@kahikatea.snap.net.nz> Message-ID: <017e01c68a7d$e0ccefb0$d96c2a0a@NTW011> Greg's list seems to cover all MI commands used by the CDT project, but there could be extensions of CDT that we are not aware of. Mikhail ----- Original Message ----- From: "Nick Roberts" To: "Mikhail Khodjaiants" Sent: Wednesday, June 07, 2006 5:39 PM Subject: Re: [dmi-discuss] DMI Wiki for working on the Spec > > Do you mean the mi commands used by CDT? > > I don't know. If more than one plugin (?) uses MI commands, it would be > nice to know which MI commands each of them uses. > > -- > Nick > http://www.inet.net.nz/~nickrob From nickrob at snap.net.nz Thu Jun 8 16:04:29 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <44875B97.2040906@embeddedalley.com> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> <17543.18213.594652.940421@kahikatea.snap.net.nz> <44875B97.2040906@embeddedalley.com> Message-ID: <17544.44285.618086.483891@kahikatea.snap.net.nz> Chuck Bear writes: > I tried to use these once and think they don't work right. That might explain why they're not documented. If you report what you think is wrong with them on the GDB mailing list maybe we can fix them. I do wonder, though, how Eclipse can use them if they are broken. > Nick Roberts wrote: > > > -data-write-memory > > > -data-write-register-values > > > > These two are implemented but not documented. > > > -- Nick http://www.inet.net.nz/~nickrob From drow at false.org Thu Jun 8 16:07:46 2006 From: drow at false.org (Daniel Jacobowitz) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <17544.44285.618086.483891@kahikatea.snap.net.nz> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> <17543.18213.594652.940421@kahikatea.snap.net.nz> <44875B97.2040906@embeddedalley.com> <17544.44285.618086.483891@kahikatea.snap.net.nz> Message-ID: <20060608230746.GA5038@nevyn.them.org> On Fri, Jun 09, 2006 at 11:04:29AM +1200, Nick Roberts wrote: > Chuck Bear writes: > > I tried to use these once and think they don't work right. > > That might explain why they're not documented. If you report what you think > is wrong with them on the GDB mailing list maybe we can fix them. I do wonder, > though, how Eclipse can use them if they are broken. Eclipse has generators for a lot of MI commands, but I don't know that they're all actually used. -- Daniel Jacobowitz CodeSourcery From nickrob at snap.net.nz Thu Jun 8 19:27:05 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060608230746.GA5038@nevyn.them.org> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> <17543.18213.594652.940421@kahikatea.snap.net.nz> <44875B97.2040906@embeddedalley.com> <17544.44285.618086.483891@kahikatea.snap.net.nz> <20060608230746.GA5038@nevyn.them.org> Message-ID: <17544.56441.97255.440469@kahikatea.snap.net.nz> > Eclipse has generators for a lot of MI commands, but I don't know that > they're all actually used. For the DMI spec, I think it would be best to start with only those which are used. Does anybody know which ones these are? -- Nick http://www.inet.net.nz/~nickrob From susan at smacchia.net Fri Jun 9 05:45:26 2006 From: susan at smacchia.net (susan@smacchia.net) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <17544.56441.97255.440469@kahikatea.snap.net.nz> Message-ID: <20060609124526.77843.qmail@web51807.mail.yahoo.com> >> Eclipse has generators for a lot of MI commands, but I don't know that >> they're all actually used. > >For the DMI spec, I think it would be best to start with only those which are >used. Does anybody know which ones these are? Or at the very least have a separate wiki for those that aren't used so we could go through them and determine whether they are (1) actually implemented in the reference implementation (gdb) and (2) whether they are worth keeping. Once we know what we have we can decide what needs to change so that there is some regularity to the protocol (since, as was said in the meeting, divergence here). Then we can decide what we want have additionally (if anything), at least initially. And in the future (I hope), when we have a spec, we can figure out how to get gdb to conform (i.e., who will sign up to make it so, etc.) - this will be a challenge I think. How do we go about determining what folks are using? I doubt any one person knows all :) -- Susan From bob_rossi at cox.net Fri Jun 9 05:49:21 2006 From: bob_rossi at cox.net (Bob Rossi) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060609124526.77843.qmail@web51807.mail.yahoo.com> References: <17544.56441.97255.440469@kahikatea.snap.net.nz> <20060609124526.77843.qmail@web51807.mail.yahoo.com> Message-ID: <20060609124921.GA16627@brasko.net> > How do we go about determining what folks are using? I doubt any one person > knows all :) We wait until they complain, and then we point them to this list. There is absolutly no way of knowing how many people have written front ends to GDB using MI. Bob Rossi From chuck at embeddedalley.com Fri Jun 9 09:13:36 2006 From: chuck at embeddedalley.com (Chuck Bear) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060608230746.GA5038@nevyn.them.org> References: <20060607164024.86344.qmail@web51803.mail.yahoo.com> <8A718D08-6BDF-4624-A5FC-29077F9F5416@computer.org> <17543.13983.372863.599328@kahikatea.snap.net.nz> <17543.18213.594652.940421@kahikatea.snap.net.nz> <44875B97.2040906@embeddedalley.com> <17544.44285.618086.483891@kahikatea.snap.net.nz> <20060608230746.GA5038@nevyn.them.org> Message-ID: <44899E30.3030800@embeddedalley.com> In this case, Eclipse has a generator for -data-write-register-values but it is not used (at least not internally). This one is the one that didn't do what I expected (though it is hard to nail down exactly what's broken in an undocumented command), so I switched to a non-deprecated way of writing to registers. -data-write-memory is generated and is also used, and seems to be working, but is not documented. Is someone going about the task of listing all the Eclipse generators and how it uses/doesn't use them? Daniel Jacobowitz wrote: > On Fri, Jun 09, 2006 at 11:04:29AM +1200, Nick Roberts wrote: > >> Chuck Bear writes: >> > I tried to use these once and think they don't work right. >> >> That might explain why they're not documented. If you report what you think >> is wrong with them on the GDB mailing list maybe we can fix them. I do wonder, >> though, how Eclipse can use them if they are broken. >> > > Eclipse has generators for a lot of MI commands, but I don't know that > they're all actually used. > > From nickrob at snap.net.nz Fri Jun 9 21:02:21 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <20060609124526.77843.qmail@web51807.mail.yahoo.com> References: <17544.56441.97255.440469@kahikatea.snap.net.nz> <20060609124526.77843.qmail@web51807.mail.yahoo.com> Message-ID: <17546.17485.803037.817851@kahikatea.snap.net.nz> > >> Eclipse has generators for a lot of MI commands, but I don't know that > >> they're all actually used. > > > >For the DMI spec, I think it would be best to start with only those which > >are used. Does anybody know which ones these are? > > Or at the very least have a separate wiki for those that aren't used so we > could go through them and determine whether they are (1) actually > implemented in the reference implementation (gdb) and (2) whether they are > worth keeping. I think this could equally well be done just by looking at the GDB manual. If there are two sources they will need to be kept in sync. > Once we know what we have we can decide what needs to change so that there > is some regularity to the protocol (since, as was said in the meeting, > divergence here). AFAIK, Eclipse uses FSF GDB, and only Apple have their own version. > Then we can decide what we want have additionally (if anything), at least > initially. > > And in the future (I hope), when we have a spec, we can figure out how to > get gdb to conform (i.e., who will sign up to make it so, etc.) - this will > be a challenge I think. If a group member wishes to add a new MI command to the spec then I think the onus should be on them to port it to GDB. Otherwise GDB isn't the reference implementation. > How do we go about determining what folks are using? I doubt any one person > knows all :) I think all we can do is start with what seems like a sensible set and advertise our intentions. I have already mentioned the DMI mailing list in the GDB manual. -- Nick http://www.inet.net.nz/~nickrob From bob_rossi at cox.net Sat Jun 10 04:49:22 2006 From: bob_rossi at cox.net (Bob Rossi) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: <17546.17485.803037.817851@kahikatea.snap.net.nz> References: <17544.56441.97255.440469@kahikatea.snap.net.nz> <20060609124526.77843.qmail@web51807.mail.yahoo.com> <17546.17485.803037.817851@kahikatea.snap.net.nz> Message-ID: <20060610114921.GA27735@brasko.net> > > How do we go about determining what folks are using? I doubt any one person > > knows all :) > > I think all we can do is start with what seems like a sensible set and > advertise our intentions. I have already mentioned the DMI mailing list in > the GDB manual. Yes, this is the obvious starting point to me also. Bob Rossi From nickrob at snap.net.nz Fri Jun 30 14:46:32 2006 From: nickrob at snap.net.nz (Nick Roberts) Date: Thu Jul 12 12:38:51 2007 Subject: [dmi-discuss] DMI Wiki for working on the Spec In-Reply-To: References: <20060605174608.33119.qmail@web51802.mail.yahoo.com> <17540.54203.997827.458306@kahikatea.snap.net.nz> Message-ID: <17573.39864.86568.142375@kahikatea.snap.net.nz> Greg Watson writes: > Ok. Any idea when that will be? > > Greg Just to update you, I've now committed all my current changes to the MI section of the GDB manual. -- Nick http://www.inet.net.nz/~nickrob > On Jun 5, 2006, at 7:00 PM, Nick Roberts wrote: > > >> Ok, I've added the syntax sections and the first breakpoint command > >> section to give you a feel for the layout. Please take a look and let > >> me know if it seems ok and you're happy with the formatting. This > >> wiki seems to have a default paragraph indent that makes the > >> formatting a bit weird. If anyone knows how to turn it off, please > >> let me know. > > > > The formatting looks good to me. > > > >> ... > >> I'll continue to add sections as I get time. > > > > I've recently submitted a patch for the GDB manual which Eli is in > > the process > > of reviewing. It might be a good idea to wait for those changes to be > > incorporated before adding further sections.