Fix build

This commit is contained in:
pancake 2014-12-07 19:37:03 +01:00
parent e6103f79d0
commit 9fa79fbf0c
2 changed files with 2 additions and 1 deletions

View File

@ -540,7 +540,7 @@ static int r_debug_gdb_breakpoint (RBreakpointItem *bp, int set, void *user) {
struct r_debug_plugin_t r_debug_plugin_gdb = {
.name = "gdb",
/* TODO: Add support for more architectures here */
.license = "LGPL3";
.license = "LGPL3",
.arch = R_SYS_ARCH_X86 | R_SYS_ARCH_ARM | R_SYS_ARCH_SH | R_SYS_ARCH_MIPS,
.bits = R_SYS_BITS_32 | R_SYS_BITS_64,
.init = NULL,

View File

@ -114,6 +114,7 @@ static int __system(RIO *io, RIODesc *fd, const char *cmd) {
RIOPlugin r_io_plugin_gdb = {
//void *plugin;
.name = "gdb",
.license = "LGPL3",
.desc = "Attach to gdbserver, 'qemu -s', gdb://localhost:1234",
.open = __open,
.close = __close,