gdb_monitor: use terminal VFS plugin

... instead of the deprecated libc terminal plugin.

Fixes #3318
This commit is contained in:
Christian Prochaska 2019-04-29 16:52:31 +02:00 committed by Christian Helmuth
parent d2ab699cd5
commit c0f03a28e9
6 changed files with 11 additions and 11 deletions

View File

@ -80,7 +80,7 @@ set config {
</config>
</target>
<preserve name="RAM" quantum="2M"/>
<vfs> <dir name="dev"> <log/> </dir> </vfs>
<vfs> <dir name="dev"> <log/> <terminal/> </dir> </vfs>
<libc stdout="/dev/log" stderr="/dev/log"/>
</config>
</start>
@ -123,7 +123,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
# generic modules
set boot_modules {
core init timer
ld.lib.so libc.lib.so vfs.lib.so libc_pipe.lib.so libc_terminal.lib.so
ld.lib.so libc.lib.so vfs.lib.so libc_pipe.lib.so
uart_drv
gdb_monitor gdbserver_platform.lib.so
nitpicker pointer scout

View File

@ -75,7 +75,7 @@ set config {
</config>
</target>
<preserve name="RAM" quantum="4M"/>
<vfs> <dir name="dev"> <log/> </dir> </vfs>
<vfs> <dir name="dev"> <log/> <terminal/> </dir> </vfs>
<libc stdout="/dev/log" stderr="/dev/log"/>
</config>
</start>
@ -96,7 +96,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
# generic modules
set boot_modules {
core init timer
ld.lib.so libc.lib.so vfs.lib.so libm.lib.so libc_pipe.lib.so libc_terminal.lib.so
ld.lib.so libc.lib.so vfs.lib.so libm.lib.so libc_pipe.lib.so
uart_drv posix.lib.so
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
}

View File

@ -63,7 +63,7 @@ set config {
</config>
</target>
<preserve name="RAM" quantum="4M"/>
<vfs> <dir name="dev"> <log/> </dir> </vfs>
<vfs> <dir name="dev"> <log/> <terminal/> </dir> </vfs>
<libc stdout="/dev/log" stderr="/dev/log"/>
</config>
</start>
@ -85,7 +85,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
set boot_modules {
core init timer
ld.lib.so libc.lib.so vfs.lib.so libm.lib.so posix.lib.so
libc_pipe.lib.so libc_terminal.lib.so
libc_pipe.lib.so
uart_drv
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
}

View File

@ -63,7 +63,7 @@ set config {
</config>
</target>
<preserve name="RAM" quantum="3M"/>
<vfs> <dir name="dev"> <log/> </dir> </vfs>
<vfs> <dir name="dev"> <log/> <terminal/> </dir> </vfs>
<libc stdout="/dev/log" stderr="/dev/log"/>
</config>
</start>
@ -84,7 +84,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
# generic modules
set boot_modules {
core init timer
ld.lib.so libc.lib.so vfs.lib.so libc_pipe.lib.so libc_terminal.lib.so
ld.lib.so libc.lib.so vfs.lib.so libc_pipe.lib.so
uart_drv
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor_target_config
}

View File

@ -121,7 +121,7 @@ append config {
<any-service><parent/><any-child/></any-service>
</route>
<config>
<vfs> <dir name="dev"> <log/> </dir> </vfs>
<vfs> <dir name="dev"> <log/> <terminal/> </dir> </vfs>
<libc stdout="/dev/log" stderr="/dev/log"/> }
append config "
<target name=\"${gdb_target_binary_name}\"> "
@ -198,7 +198,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
set boot_modules {
terminal_crosslink
expat.lib.so
libc_pipe.lib.so libc_terminal.lib.so
libc_pipe.lib.so
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
test-gdb_monitor.tar test-gdb_monitor-src.tar
}

View File

@ -10,7 +10,7 @@ INC_DIR += $(GDB_CONTRIB_DIR)/include \
$(PRG_DIR)/gdbserver \
$(PRG_DIR)
LIBS = libc libc_terminal libc_pipe \
LIBS = libc libc_pipe \
gdbserver_platform gdbserver_libc_support
SRC_C = event-loop.c \