radare2/shlr/gdb/meson.build
yossizap e35f447a2a Added break to gdbserver vCont and refactored the code to use locks (#15433)
The previous gdbr implementation didn't allow interrupting background
tasks with &b since send_vcon wasn't properly configured with the cons
api. In addition to that, gdbserver doesn't support processing multiple
commands at the same time, resulting in undefined behavior once cons
were set up for vcont.
This commit adds the relevant cons api and solves the concurrency issues
by adding locks on all socket related logic.
2019-11-10 19:03:56 +01:00

35 lines
614 B
Meson

# handle gdb dependency
gdb_files = [
'src/arch.c',
'src/common.c',
'src/packet.c',
'src/utils.c',
'src/libgdbr.c',
'src/gdbclient/core.c',
'src/gdbclient/responses.c',
'src/gdbclient/xml.c',
'src/gdbserver/core.c',
]
gdb_inc = [
platform_inc,
include_directories(
'./include',
'./include/gdbclient',
'./include/gdbserver'
)
]
libr2gdb = static_library('r2gdb', gdb_files,
include_directories: gdb_inc,
dependencies: [r_util_dep, r_cons_dep],
implicit_include_directories: false
)
gdb_dep = declare_dependency(
link_with: libr2gdb,
include_directories: gdb_inc
)