Menu

#141 [How] can I use compare-sections?

Version 1.x
closed
None
1
2015-07-31
2015-05-04
No

I'm using the GNU ARM Eclipse plugins and OpenOCD debugging. Sometimes when debugging I want to use compare-sections to compare what has been loaded to the target's memory against the contents of the ELF file. If, during a debug session, I try this in the GDB console I get this:

compare-sections
command cannot be used without an exec file

Is there any way to get the OpenOCD debugging plugin to set the exec file so that commands like this work?

Thanks a lot.

Discussion

  • Liviu Ionescu (ilg)

    • status: open --> accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    I have no experience with these features, but I would suggest to experiment them on a regular (non-cross) project; when fully functional and all details are known, try them in an embedded project.

     
  • Tommy Murphy

    Tommy Murphy - 2015-05-04

    OK - thanks.
    If/when I get a chance to experiment I'll post back if I have any useful info.

     
  • Liviu Ionescu (ilg)

    • status: accepted --> closed