Skip to content

Commit

Permalink
re-adding deleted files, remove mkdir gen as not needed with older files
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Nov 2, 2015
1 parent 0c5f041 commit 7658c4c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .gdbinit
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
break jsAssertFail
break jsErrorAt
break jsError
define trace
print jsvTrace(jsvGetRef(execInfo.root), 0)
end
define whereami
print jsiConsolePrintTokenLineMarker(execInfo.lex, execInfo.lex->tokenStart)
end
define typeof
if (($arg0)->flags&JSV_VARTYPEMASK)>=JSV_NAME_STRING_0 && (($arg0)->flags&JSV_VARTYPEMASK)<=JSV_NAME_STRING_MAX
printf "JSV_NAME_STRING_%d\n", (($arg0)->flags&JSV_VARTYPEMASK)-JSV_NAME_STRING_0
end
if (($arg0)->flags&JSV_VARTYPEMASK)>=JSV_STRING_0 && (($arg0)->flags&JSV_VARTYPEMASK)<=JSV_STRING_MAX
printf "JSV_STRING_%d\n", (($arg0)->flags&JSV_VARTYPEMASK)-JSV_STRING_0
end
if (($arg0)->flags&JSV_VARTYPEMASK)>=JSV_STRING_EXT_0 && (($arg0)->flags&JSV_VARTYPEMASK)<=JSV_STRING_EXT_MAX
printf "JSV_STRING_EXT_%d\n", (($arg0)->flags&JSV_VARTYPEMASK)-JSV_STRING_EXT_0
end
print (JsVarFlags)(($arg0)->flags&(JSV_VARTYPEMASK))
end
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ export GDB=$(CCPREFIX)gdb

.PHONY: proj

all: gen proj
all: proj

ifeq ($(V),1)
quiet_=
Expand All @@ -1530,8 +1530,6 @@ else
export SILENT=1
endif

gen:
mkdir -p gen

$(WRAPPERFILE): scripts/build_jswrapper.py $(WRAPPERSOURCES)
@echo Generating JS wrappers
Expand Down
1 change: 1 addition & 0 deletions gen/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory contains auto-generated files

0 comments on commit 7658c4c

Please sign in to comment.