Add new Raspberry Pi device (rpi).
Merge pull request #383 from cgjones/rpi

Add new Raspberry Pi device (rpi).
Bug 1063520 - Compute the list of B2G ELF files instead of hard-coding it g=gsvelto

We explicitely exclude those files because they are part of the update:
checking their SHA1 is useless and will stop the update process because
of the expected mismatch. We instead rely on file to identify the files
in the B2G folder that have a mimetype for shared library or executable.
Merge pull request #385 from lissyx/bug1063520

Bug 1063520 - Compute the list of B2G ELF files instead of hard-coding it g=gsvelto
Bug 1019638 - Disabling DMD after enabling DMD doesn't stop DMD from running. r=mwu
Merge pull request #380 from EricRahm/bug_1019638

Bug 1019638 - Disabling DMD after enabling DMD doesn't stop DMD from run...
Bug 1022928 - Use breakpad symbols when available.

Add a new option to profile.sh:
    -s <breakpad-symbol-path>

When this option is used, symbols are resolved using breakpad .sym
files.

This is useful for running profile.sh against nightly builds.
Merge pull request #382 from walac/master

Bug 1022928 - Use breakpad symbols when available.
Bug 1061801 - profile.sh should support symbol.api.

The "-s" option now accepts an url, which tells that we want to use a
symbol server API for symbols resolution.
Optionally source $DEVICE_DIR/flash.sh for per-device flashing commands.
Merge pull request #390 from cgjones/per-device-flash

Optionally source $DEVICE_DIR/flash.sh for per-device flashing commands.
Merge pull request #389 from walac/bug-1061801

Bug 1061801 - profile.sh should support symbol.api.
Bug 1069017 - Add a flash.sh target ("shallow") to flash gecko and gaia.  r=mwu

This is useful when updating a tree to current source and reflashing.
It's useful to have a single target for two reasons:

 (1) it saves waiting for the device to reboot and typing another
     command.

 (2) there's code that runs at startup to reregister gaia apps when the
     gecko version or build id changes.  If you reflash gecko, reboot,
     and then flash gaia, this code doesn't get invoked correctly with
     the new gaia.  See
     https://hg.mozilla.org/mozilla-central/file/4f2cac8d72da/dom/apps/AppsUtils.jsm#l482
     and its callers.
Bug 1073515: report the complete symbol correctly. r=dhylands

To remove the source file path and source line components from the
breakpad resolved symbol, we used a simple string split operation
separated by whitespaces. This had a side effect when the symbol
itself contained white spaces.

We now preserve the source file and line number information, but we use
only the basename path for symbol location info.
Merge pull request #387 from dbaron/bug1069017-flash-target-gecko-and-gaia

Bug 1069017 - Add a flash.sh target to flash gecko and gaia.
Merge pull request #391 from walac/bugz/1073515

Bug 1073515: report the complete symbol correctly.
Make fix_b2g_stack.py work with the new stack trace format. r=erahm.
Merge pull request #384 from nnethercote/fix_b2g_stack

Make fix_b2g_stack.py work with the new stack format.
Bug 1044709 - Handle text or JSON output from DMD in get_about_memory.py. r=erahm.
Merge pull request #392 from nnethercote/dmd-json

Bug 1044709 - Handle text or JSON output from DMD in get_about_memory.py.