13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>10.5. HLL Object DumperThe high level language (HLL) dumper hldumparm is a program to dump in<strong>for</strong>mation about an absoluteobject file (.abs) . Key features are a disassembler with HLL source intermixing and HLL symbol displayand a HLL symbol listing of static and global symbols.10.5.1. InvocationCommand line invocationYou can call the HLL dumper from the command line. The invocation syntax is:hldumparm [option]... file...The input file must be an ELF file with or without DWARF debug info (.abs).The HLL dumper can process multiple input files. Files and options can be intermixed on the commandline. Options apply to all supplied files. If multiple files are supplied, the disassembly of each file is precededby a header to indicate which file is dumped. For example:========== file.abs ==========For a complete list and description of all options, see Section 12.10, HLL Object Dumper Options. Withhldumparm --help you will see the options on stdout.10.5.2. HLL Dump Output FormatThe HLL dumper produces output in text <strong>for</strong>mat by default, but you can also specify the XML output <strong>for</strong>matwith --output-file-type=xml. The XML output is mainly <strong>for</strong> use in the Eclipse editor. The output is printedon stdout, unless you specify an output file with --output=filename.The parts of the output are dumped in the following order:1. Module list2. Section list3. Section dump (disassembly)4. HLL symbol table5. Assembly level symbol tableWith the option --dump-<strong>for</strong>mat=flag you can control which parts are shown. By default, all parts areshown.ExampleSuppose we have a simple "Hello World" program in a file called hello.c. We call the control programas follows:260

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!