Branch: Tag:

2003-02-04

2003-02-04 17:32:20 by Martin Stjernholm <mast@lysator.liu.se>

Backported line info improvements from 7.5 since it can be a major bonus to
have this when tracking down bugs:

Provide line number info for C programs even when compiling without
rtldebug, but strip off the path to the build tree. Let Function.defined
return the line number info for the program when it's a C function that
doesn't have any line info itself.

Rev: src/Makefile.in:1.339
Rev: src/builtin_functions.c:1.456
Rev: src/program.c:1.468
Rev: src/program.h:1.172

1:   # - # $Id: Makefile.in,v 1.338 2002/11/27 11:58:28 marcus Exp $ + # $Id: Makefile.in,v 1.339 2003/02/04 17:32:19 mast Exp $   #      # This line is needed on some machines.
82:   MAKE_PARALLEL=      # Preprocessor flags. - PREFLAGS=-I. -I$(SRCDIR) $(DEFINES) + PREFLAGS=-DPIKE_SRC_ROOT="$(BASEDIR)" -I. -I$(SRCDIR) $(DEFINES)   OTHERFLAGS=@CFLAGS@ $(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL)   NOOPTFLAGS=@CFLAGS@ @CPPFLAGS@ $(OSFLAGS) $(WARN) $(PROFIL)   CFLAGS=$(PREFLAGS) $(OTHERFLAGS)