From 774ee6d252eba19d3e23c936d14bfc1f7fa70651 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Fri, 16 Oct 2015 11:29:17 -0400 Subject: [nto] Fix nto build. gdb/gdbserver/ChangeLog: * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix variable name. gdb/ChangeLog: * nto-procfs.c (common/filestuff.h): Include. (procfs_can_use_hw_breakpoint): Fix enum name. (procfs_open_1): Fix compiler warning. (procfs_pidlist): Make static. (procfs_meminfo): Make static, fix type name, add missing argument. (procfs_store_registers): Make static. (procfs_thread_info): Remove unused function. (_initialize_procfs): Forward declare. --- gdb/gdbserver/nto-low.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdbserver/nto-low.c') diff --git a/gdb/gdbserver/nto-low.c b/gdb/gdbserver/nto-low.c index fa216a9..97bd1e9 100644 --- a/gdb/gdbserver/nto-low.c +++ b/gdb/gdbserver/nto-low.c @@ -794,7 +794,7 @@ nto_insert_point (enum raw_bkpt_type type, CORE_ADDR addr, { int wtype = _DEBUG_BREAK_HW; /* Always request HW. */ - TRACE ("%s type:%c addr: 0x%08lx len:%d\n", __func__, (int)type, addr, len); + TRACE ("%s type:%c addr: 0x%08lx len:%d\n", __func__, (int)type, addr, size); switch (type) { case raw_bkpt_type_sw: @@ -826,7 +826,7 @@ nto_remove_point (enum raw_bkpt_type type, CORE_ADDR addr, { int wtype = _DEBUG_BREAK_HW; /* Always request HW. */ - TRACE ("%s type:%c addr: 0x%08lx len:%d\n", __func__, (int)type, addr, len); + TRACE ("%s type:%c addr: 0x%08lx len:%d\n", __func__, (int)type, addr, size); switch (type) { case raw_bkpt_type_sw: -- cgit v1.1