On Mon, May 24, 2010 at 7:21 PM, <[email protected]> wrote: > John Porubek writes: >> Rob and Daniel, >> >> Thanks for pointing me in the right direction. Daniel, you were right, >> I'm using Ubuntu 9.10. I installed libreadline-dev, that, in turn, >> installed libreadline6-dev. After that, "make" compiled MSPDebug >> without a hitch. >> >> Thanks also for the added explanation of the distinction between lib* >> and lib*-dev. That clears up a lot of confusion. I guess it's probably >> obvious that I don't compile a lot of programs! >> >> Now that I've had the chance to play with version 0.7, I can see that >> I've been missing out on a lot of features since version 0.4 (and now, >> version 0.8 is out. I can't keep up!). Admittedly, the two commands I >> use the most are "reset" and "run", but I can see I'll really >> appreciate some of the new features as I transition away from the >> debugger in IAR Kickstart. >> >> Incidentally, in case this helps others, I found that I could generate >> an ELF format file from IAR, then use "nm" from a Linux commandline >> like so: >> >> nm filename.elf > filename.nm >> >> to create a symbol-table file I can import with the "sym import" >> command. You can't import the ELF file directly, since apparently it's >> not a proper ELF32-format file. >> >> I'm now using MSPDebug properly as a user and not as root. I'll detail >> my udev rule information in a follow-up message. >> >> --John > > Hi John, > > Do you get an error message when you try "sym import filename.elf"? > Just wondering, because it should be possible (at least in principle) > to import symbols from them if nm can see them. > > Cheers, > Daniel >
Hi Daniel, Yes, I get the message "elf32: this is not an MSP430 ELF32". I loaded the ".nm" file and then exported it for grins. Comparing the original and the exported files, I notice that the original is sorted alphabetically by symbol name and that the exported file is sorted numerically by symbol address. It might be handy to have both versions available for reference. --John
