This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 25 April 2006 20:48, Rob Savoye wrote:
> Dave Korn wrote:
>
>> Ok, so you have a command line listening over a serial port? You could
>> perhaps write a quick'n'dirty downloader using some ascii format (e.g.
>> srec) couldn't you? Anyway, even if you can't ...
>
> Many years ago I added the ability to GDB to convert any executable
> file into SRecords, and download it via a serial port. You can also use
> objcopy to do the same thing if you want to produce a disk file.
I was thinking of the objcopy trick. Didn't know gdb could do it as well!
> Thanks for the new HOWTO! let me know if you ever get an urge to
> rewrite that section of the DejaGnu manual. :-)
>
> - rob -
Well, I'm far from definitive, and I presume I'd need to get an assign done for that, but I'm perfectly happy to contribute it in whatever form seems best. I'd be reluctant to actually *replace* anything already that is already there in the manual because I don't understand dg well enough to know if I was doing the right thing, and I'm fairly sure that what I've described there is a kludgey and roundabout way of doing it... But it works, and getting to grips with dg is hard for newbs, and providing them with a simple interface like this that lets them get the rest of the problem out into a more familiar domain makes it 'good enough' :)
Jose, please drop a note back to the lists and let us know if these instructions were enough for you to get it to work or if I forgot anything!
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
For unsubscribe information see http://sourceware.org/lists.html#faq
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |