VirtualBox

Ignore:
Timestamp:
Jul 16, 2008 7:57:43 PM (16 years ago)
Author:
vboxsync
Message:

Made the mac os x load*.sh scripts produce symbols and a copy of the kext for kernel debugging with gdb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/load.sh

    r8838 r10712  
    7272
    7373set -e
     74
     75# Copy the .kext to the symbols directory and tweak the kextload options.
     76if test -n "$VBOX_DARWIN_SYMS"; then
     77    echo "load.sh: copying the extension the symbol area..."
     78    rm -Rf "$VBOX_DARWIN_SYMS/$DRVNAME"
     79    mkdir -p "$VBOX_DARWIN_SYMS"
     80    cp -R "$DIR" "$VBOX_DARWIN_SYMS/"
     81    OPTS="$OPTS -s $VBOX_DARWIN_SYMS/ "
     82    sync
     83fi
     84
    7485trap "sudo chown -R `whoami` $DIR; exit 1" INT
    7586# On smbfs, this might succeed just fine but make no actual changes,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette