OSDN Git Service

Add hardware API libs and SSL engines to gdb path
authorKenny Root <kroot@google.com>
Mon, 26 Mar 2012 19:38:16 +0000 (12:38 -0700)
committerKenny Root <kroot@google.com>
Mon, 26 Mar 2012 19:39:25 +0000 (12:39 -0700)
Hardware API implementations and SSL engines are stored as a
subdirectory to the /system/lib directory. This makes it easier to debug
them with the "gdbclient" command.

Change-Id: If7c3c7ffbca87425aac85d527e44fbea3bb025ad

envsetup.sh

index f11763a..b7ca7d2 100644 (file)
@@ -757,7 +757,7 @@ function gdbclient()
        fi
 
        echo >|"$OUT_ROOT/gdbclient.cmds" "set solib-absolute-prefix $OUT_SYMBOLS"
-       echo >>"$OUT_ROOT/gdbclient.cmds" "set solib-search-path $OUT_SO_SYMBOLS"
+       echo >>"$OUT_ROOT/gdbclient.cmds" "set solib-search-path $OUT_SO_SYMBOLS:$OUT_SO_SYMBOLS/hw:$OUT_SO_SYMBOLS/ssl/engines"
        echo >>"$OUT_ROOT/gdbclient.cmds" "target remote $PORT"
        echo >>"$OUT_ROOT/gdbclient.cmds" ""