12.07.2015 Views

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring debug hardware for GDB9.6 About building for standalone target platformsIf you are building for a standalone target platform (that is, without an operating system), <strong>the</strong>precompiled C library of <strong>the</strong> GNU toolchain for <strong>ARM</strong> architectures assumes that a debugmonitor is resident in ROM.If you are not using a debug monitor, Red Hat eCos/Redboot, or any o<strong>the</strong>r operating system, youmust provide <strong>the</strong> following components:• Your own I/O routines and optionally a target GDB stub.• The crt0.S source file (mandatory). This source file provides <strong>the</strong> C startup procedure thatis responsible for setting up <strong>the</strong> stack and heap, and for initializing C static and globalvariables.NoteIf you are using a debug monitor, Red Hat eCos/Redboot or o<strong>the</strong>r operating system, you mustprovide at least <strong>the</strong>se components and possibly a gdbserver.Documentation on how to do this is readily available from <strong>the</strong> Internet.9.6.1 See alsoConcepts• Feature support when debugging with GDB on page 9-4.Reference• <strong>Debug</strong> hardware TCP/IP port numbering on page 9-6.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 9-8ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!