From c19d1fbb5900630447b0e955a61e9f82dd1ff502 Mon Sep 17 00:00:00 2001 From: Sergey Alirzaev Date: Wed, 19 May 2021 19:35:13 +0300 Subject: Makefile: Include debug symbols in the .elf Signed-off-by: Sergey Alirzaev --- src/pru/pru.lds | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pru') diff --git a/src/pru/pru.lds b/src/pru/pru.lds index db36803c..48f71d6d 100644 --- a/src/pru/pru.lds +++ b/src/pru/pru.lds @@ -3,7 +3,9 @@ SECTIONS { /* binutils on the PRU doesn't support --gc-sections so manually * discard the .compile_time_request section */ + /* and GDB extended debugging information */ /DISCARD/ : { *( .compile_time_request ) + *( .gnu.debug* ) } } -- cgit v1.2.3-70-g09d2