From 76ff88b7d20a5ef8be16dc94ce739ada31a5e5c2 Mon Sep 17 00:00:00 2001 From: Igor Kulaychuk Date: Mon, 13 Nov 2017 23:26:41 +0300 Subject: [PATCH] Update README code formatting --- README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index bd381b4..e70c956 100644 --- a/README.md +++ b/README.md @@ -11,22 +11,22 @@ The debugger provides GDB/MI interface and allows to debug .NET apps using ICorD 3. Use the following script as a reference to build the debugger (assuming current directory is project root): ``` - #!/bin/sh - - # Path to coreclr source root - CORECLR_PATH=$HOME/git/coreclr - # Path to coreclr build output (use .Relese for release build) - CORECLR_BIN=$CORECLR_PATH/bin/Product/Linux.x64.Debug - # Path to generated coreclr overlay (where coreclr and corefx binaries are installed) - CORECLR_OVERLAY=$HOME/git/overlay - - rm -rf build - mkdir build - cd build - - CC=clang CXX=clang++ cmake ../ -DCMAKE_INSTALL_PREFIX=$CORECLR_OVERLAY -DCLR_DIR=$CORECLR_PATH -DCLR_BIN_DIR=$CORECLR_BIN -DCLR_CMAKE_TARGET_ARCH_AMD64=1 -DCORECLR_SET_RPATH=\$ORIGIN - make -j - make install + #!/bin/sh + + # Path to coreclr source root + CORECLR_PATH=$HOME/git/coreclr + # Path to coreclr build output (use .Relese for release build) + CORECLR_BIN=$CORECLR_PATH/bin/Product/Linux.x64.Debug + # Path to generated coreclr overlay (where coreclr and corefx binaries are installed) + CORECLR_OVERLAY=$HOME/git/overlay + + rm -rf build + mkdir build + cd build + + CC=clang CXX=clang++ cmake ../ -DCMAKE_INSTALL_PREFIX=$CORECLR_OVERLAY -DCLR_DIR=$CORECLR_PATH -DCLR_BIN_DIR=$CORECLR_BIN -DCLR_CMAKE_TARGET_ARCH_AMD64=1 -DCORECLR_SET_RPATH=\$ORIGIN + make -j + make install ``` The script produces `netcoredbg` and `SymbolReader.dll` binaries inside the overlay directory. @@ -51,7 +51,7 @@ The debugger provides GDB/MI interface and allows to debug .NET apps using ICorD Clone the repo and build as usual: ``` - gbs build -A armv7l --include-all --spec netcoredbg.spec + gbs build -A armv7l --include-all --spec netcoredbg.spec ``` 4. Build modified `dotnet-launcher` package @@ -67,7 +67,7 @@ The debugger provides GDB/MI interface and allows to debug .NET apps using ICorD You may also need to remove AOT images: ``` - sdb shell "find / -name '*.ni.dll' -exec rm {} \;" + sdb shell "find / -name '*.ni.dll' -exec rm {} \;" ``` Reboot the device/emulator. -- 2.7.4