|
1 // |
|
2 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //////////////////////////////////////////////////////////////////////////////// |
|
17 // |
|
18 // SOURCE PATHS |
|
19 // |
|
20 // Source paths is a very complicated topic. For a better tutorial about them, |
|
21 // visit the Trace32 wiki: |
|
22 // |
|
23 // http://wikis.in.nokia.com/BoardSupportPackagesSymbian/T32 |
|
24 // |
|
25 // The basics of source paths are: |
|
26 // |
|
27 // - they are used in the order they are defined |
|
28 // - if a source file is found by following a path, it will be ignored if it |
|
29 // exists in another path. ie. the first one found sticks. |
|
30 // - The classic example is main.cpp as it exists in many test executeables. |
|
31 // - This is a problem when you are debugging and the file you want is not the |
|
32 // first on the list. |
|
33 // - you resolve this by ordering the source paths correctly so that the file |
|
34 // you are interested in gets found first. |
|
35 // |
|
36 // Other underlying commands that are used by the scripts, so hopefully you |
|
37 // don't have to: |
|
38 // |
|
39 // - SYMBOL.SPATH.RESET will clear out the current source path list |
|
40 // - STORE <filename> SPATH will save the source paths to a file |
|
41 // - DO <filename> will reload the source paths from a file |
|
42 // |
|
43 //////////////////////////////////////////////////////////////////////////////// |
|
44 ; extract the drive letter and add it to the symbol path |
|
45 //&driveletter=string.mid(os.file.path(&_SYMBOLICS_FILENAME),0.,2.) |
|
46 |
|
47 SYMBOL.SPATH.RESET |
|
48 SYMBOL.SPATH.SETRECURSEDIR "&driveletter&sospath\os\boardsupport\naviengine" |
|
49 SYMBOL.SPATH.SETRECURSEDIR "&driveletter&sospath\os\kernelhwsrv\kernel\eka\drivers" |
|
50 SYMBOL.SPATH.SETRECURSEDIR "&driveletter&sospath\os\kernelhwsrv\kernel\eka\nkernsmp" |
|
51 SYMBOL.SPATH.SETRECURSEDIR "&driveletter&sospath\os\kernelhwsrv\kernel\eka\kernel" |
|
52 SYMBOL.SPATH.SET "&driveletter\epoc32\release\armv5smp\UDEB" |
|
53 |