Changeset 9ded977 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2010-07-27T16:10:42Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3629481
Parents:
142084b2
Message:

add initial support for line debugging information and generating disassembly outputs with source code intermixed (useful for analyzing of stack traces)
currently the disassembly and source is intermixed only in the case of amd64 kernel (other linker scripts strip the debugging sections so far)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r142084b2 r9ded977  
    172172ifneq ($(BINARY),)
    173173%.disasm: $(BINARY)
     174ifeq ($(CONFIG_LINE_DEBUG),y)
     175        $(OBJDUMP) -d -S $< > $@
     176else
    174177        $(OBJDUMP) -d $< > $@
     178endif
    175179
    176180$(BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBS) $(BASE_LIBS)
Note: See TracChangeset for help on using the changeset viewer.