Skip to content

Commit

Permalink
Add debug symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen authored Dec 19, 2023
1 parent c99b840 commit 4ad325e
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/star64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,28 @@ jobs:
## Dump the disassembly to nuttx.S
riscv64-unknown-elf-objdump \
-t -S --demangle --line-numbers --wide \
--syms --source --reloc --demangle --line-numbers --wide \
--debugging \
nuttx \
>nuttx.S \
2>&1
## Dump the init disassembly to init.S
riscv64-unknown-elf-objdump \
-t -S --demangle --line-numbers --wide \
--syms --source --reloc --demangle --line-numbers --wide \
--debugging \
../apps/bin/init \
>init.S \
2>&1
## Dump the hello disassembly to hello.S
riscv64-unknown-elf-objdump \
--syms --source --reloc --demangle --line-numbers --wide \
--debugging \
../apps/bin/hello \
>hello.S \
2>&1
- name: Upload Build Outputs as Artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -121,11 +131,12 @@ jobs:
nuttx/nuttx/starfiveu.fit
nuttx/nuttx/jh7110-visionfive-v2.dtb
nuttx/nuttx/init.S
nuttx/nuttx/hello.S
- name: Zip Build Outputs for GitHub Release
run: |
cd nuttx/nuttx
zip nuttx.zip nuttx* initrd starfiveu.fit jh7110-visionfive-v2.dtb init.S
zip nuttx.zip nuttx* initrd starfiveu.fit jh7110-visionfive-v2.dtb init.S hello.S
- name: Get Current Date
id: date
Expand Down Expand Up @@ -153,3 +164,4 @@ jobs:
nuttx/nuttx/starfiveu.fit
nuttx/nuttx/jh7110-visionfive-v2.dtb
nuttx/nuttx/init.S
nuttx/nuttx/hello.S

0 comments on commit 4ad325e

Please sign in to comment.