Skip to content

Commit

Permalink
Use glob to find gdb scripts
Browse files Browse the repository at this point in the history
Summary: This could prevent the issue like #4792 happen again
Closes #4794

Reviewed By: @fredemmott

Differential Revision: D1834739
  • Loading branch information
reeze authored and hhvm-bot committed Feb 9, 2015
1 parent 49b263f commit d5fd2f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -37,7 +37,8 @@ hphp.log
*.ext_hhvm.h

/hphp/tools/shmw/shmw
hphp/tools/version/version
/hphp/tools/version/version
/hphp/tools/gdb/hhvm-gdb

/hphp/ffi/java/classes
/hphp/ffi/java/hphp_ffi_java.h
Expand Down
7 changes: 5 additions & 2 deletions hphp/tools/gdb/CMakeLists.txt
Expand Up @@ -6,7 +6,10 @@ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/hhvm-gdb
DESTINATION bin
COMPONENT dev)

install(FILES gdbutils.py hashes.py hhbc.py hhvm.py idx.py
lookup.py nameof.py pretty.py stack.py unit.py
file(GLOB GDB_SCRIPTS
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
FOLLOW_SYMLINKS *.py)

install(FILES ${GDB_SCRIPTS}
DESTINATION "${CMAKE_INSTALL_LIBDIR}/hhvm/gdb"
COMPONENT dev)

0 comments on commit d5fd2f5

Please sign in to comment.