mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
gdb_monitor: use terminal VFS plugin
... instead of the deprecated libc terminal plugin. Fixes #3318
This commit is contained in:
parent
d2ab699cd5
commit
c0f03a28e9
@ -80,7 +80,7 @@ set config {
|
|||||||
</config>
|
</config>
|
||||||
</target>
|
</target>
|
||||||
<preserve name="RAM" quantum="2M"/>
|
<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"/>
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
@ -123,7 +123,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
|
|||||||
# generic modules
|
# generic modules
|
||||||
set boot_modules {
|
set boot_modules {
|
||||||
core init timer
|
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
|
uart_drv
|
||||||
gdb_monitor gdbserver_platform.lib.so
|
gdb_monitor gdbserver_platform.lib.so
|
||||||
nitpicker pointer scout
|
nitpicker pointer scout
|
||||||
|
@ -75,7 +75,7 @@ set config {
|
|||||||
</config>
|
</config>
|
||||||
</target>
|
</target>
|
||||||
<preserve name="RAM" quantum="4M"/>
|
<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"/>
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
@ -96,7 +96,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
|
|||||||
# generic modules
|
# generic modules
|
||||||
set boot_modules {
|
set boot_modules {
|
||||||
core init timer
|
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
|
uart_drv posix.lib.so
|
||||||
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ set config {
|
|||||||
</config>
|
</config>
|
||||||
</target>
|
</target>
|
||||||
<preserve name="RAM" quantum="4M"/>
|
<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"/>
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
@ -85,7 +85,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
|
|||||||
set boot_modules {
|
set boot_modules {
|
||||||
core init timer
|
core init timer
|
||||||
ld.lib.so libc.lib.so vfs.lib.so libm.lib.so posix.lib.so
|
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
|
uart_drv
|
||||||
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ set config {
|
|||||||
</config>
|
</config>
|
||||||
</target>
|
</target>
|
||||||
<preserve name="RAM" quantum="3M"/>
|
<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"/>
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
@ -84,7 +84,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
|
|||||||
# generic modules
|
# generic modules
|
||||||
set boot_modules {
|
set boot_modules {
|
||||||
core init timer
|
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
|
uart_drv
|
||||||
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor_target_config
|
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor_target_config
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@ append config {
|
|||||||
<any-service><parent/><any-child/></any-service>
|
<any-service><parent/><any-child/></any-service>
|
||||||
</route>
|
</route>
|
||||||
<config>
|
<config>
|
||||||
<vfs> <dir name="dev"> <log/> </dir> </vfs>
|
<vfs> <dir name="dev"> <log/> <terminal/> </dir> </vfs>
|
||||||
<libc stdout="/dev/log" stderr="/dev/log"/> }
|
<libc stdout="/dev/log" stderr="/dev/log"/> }
|
||||||
append config "
|
append config "
|
||||||
<target name=\"${gdb_target_binary_name}\"> "
|
<target name=\"${gdb_target_binary_name}\"> "
|
||||||
@ -198,7 +198,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
|
|||||||
set boot_modules {
|
set boot_modules {
|
||||||
terminal_crosslink
|
terminal_crosslink
|
||||||
expat.lib.so
|
expat.lib.so
|
||||||
libc_pipe.lib.so libc_terminal.lib.so
|
libc_pipe.lib.so
|
||||||
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
||||||
test-gdb_monitor.tar test-gdb_monitor-src.tar
|
test-gdb_monitor.tar test-gdb_monitor-src.tar
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ INC_DIR += $(GDB_CONTRIB_DIR)/include \
|
|||||||
$(PRG_DIR)/gdbserver \
|
$(PRG_DIR)/gdbserver \
|
||||||
$(PRG_DIR)
|
$(PRG_DIR)
|
||||||
|
|
||||||
LIBS = libc libc_terminal libc_pipe \
|
LIBS = libc libc_pipe \
|
||||||
gdbserver_platform gdbserver_libc_support
|
gdbserver_platform gdbserver_libc_support
|
||||||
|
|
||||||
SRC_C = event-loop.c \
|
SRC_C = event-loop.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user