Skip to content
Snippets Groups Projects
Commit 3d2fc2ae authored by Martin Karsten's avatar Martin Karsten
Browse files

- minor bug in gdb extension

- clerical updates
parent 00eda33d
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ CXXFLAGS=$(LANGFLAGS) $(OPTFLAGS) $(DBGFLAGS) $(COMPFLAGS) $(CFGFLAGS)
PREFLAGS=$(LANGFLAGS) $(OPTFLAGS) $(COMPFLAGS) $(KERNFLAGS) $(CFGFLAGS)
#SPLITSTACK=-fsplit-stack -DSPLIT_STACK
CXXFLAGS+=-fpic -fno-extern-tls-init $(SPLITSTACK)
CXXFLAGS+=-fpic $(SPLITSTACK)
ifneq ($(OPTIM),1)
#CXXFLAGS+=-fsanitize=address # and/or other -fsanitize options
......
......@@ -152,10 +152,12 @@ class InfoFibres(gdb.Command):
print(" (*)", end='')
with FibreSupport.get_frame(FibreSupport.list[i]) as frame:
if frame is not None:
sal = frame.find_sal()
symtab = sal.symtab
print(" in ", frame.name(), sep='', end='')
print(" at ", symtab.filename, ":", sal.line, sep='')
sal = frame.find_sal()
if sal is not None and sal.symtab is not None:
print(" at ", sal.symtab.filename, ":", sal.line, sep='')
else:
print()
else:
print()
......
......@@ -21,7 +21,7 @@
//#define TESTING_IDLE_SPIN 128 // spin before idle/halt threshold
//#define TESTING_MUTEX_FIFO 1 // use fifo/baton mutex
//#define TESTING_MUTEX_SPIN 1 // spin before block in non-fifo mutex
//#define TESTING_PLACEMENT_RR 1 // RR placement, instead of load-based
//#define TESTING_PLACEMENT_RR 1 // RR placement, instead of load-based staging
#define TESTING_WAKE_CLUSTER 1 // try waking idle processor on cluster backlog
#define TESTING_WORK_STEALING 1 // enable work stealing (default transient)
#define TESTING_WORK_STEALING_STICKY 5 // sticky work stealing load threshold
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment