diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-16 11:29:17 -0400 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-16 11:49:03 -0400 |
commit | 774ee6d252eba19d3e23c936d14bfc1f7fa70651 (patch) | |
tree | d12378eb3decd7552b2af882a40e5bed21189aa5 /gdb/gdbserver | |
parent | 833dcd29758287ac7799d9c022c0994f7c16608e (diff) | |
download | gdb-774ee6d252eba19d3e23c936d14bfc1f7fa70651.zip gdb-774ee6d252eba19d3e23c936d14bfc1f7fa70651.tar.gz gdb-774ee6d252eba19d3e23c936d14bfc1f7fa70651.tar.bz2 |
[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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/nto-low.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 3f4fa60..da1aff1 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 2015-10-16 Aleksandar Ristovski <aristovski@qnx.com> + * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix + variable name. + +2015-10-16 Aleksandar Ristovski <aristovski@qnx.com> + * inferiors.c (thread_pid_matches_callback): New function. (find_thread_process): New function. (remove_thread): Reset current_thread. 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: |