Changeset 2fbb42f in mainline for kernel/generic/meson.build


Ignore:
Timestamp:
2023-10-26T19:20:09Z (13 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, topic/msim-upgrade, topic/simplify-dev-export
Children:
001957b6
Parents:
da13982
Message:

Add printing of file names and line numbers in stacktraces

Uses DWARF ¾/5 .debug_line section (originally intended
to only support DWARF 5, but GCC emits lower versioned sections
regardless of command line arguments on some platforms for some
reason, so generic support it is).

Also adds a whole lot of definitions for various DWARF constants
I expect to be useful in the future.

The quickest way to test this probably is to run test fault1
in kernel console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/meson.build

    rda13982 r2fbb42f  
    4646        'src/cpu/cpu_mask.c',
    4747        'src/ddi/irq.c',
     48        'src/debug/line.c',
     49        'src/debug/names.c',
    4850        'src/debug/panic.c',
    4951        'src/debug/profile.c',
     
    5153        'src/debug/stacktrace.c',
    5254        'src/debug/symtab.c',
     55        'src/debug/util.c',
    5356        'src/ipc/event.c',
    5457        'src/ipc/ipc.c',
Note: See TracChangeset for help on using the changeset viewer.