linux-mips-low.c: Change "private" variable name
Fixes: /home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c:359:48: error: expected ‘,’ or ‘...’ before ‘private’ mips_add_watchpoint (struct arch_process_info *private, CORE_ADDR addr, ^ gdb/gdbserver/ChangeLog: * linux-mips-low.c (mips_add_watchpoint): Rename private to priv.
This commit is contained in:
parent
eb3e3c67e5
commit
cbec665beb
|
@ -1,3 +1,8 @@
|
||||||
|
2015-11-03 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
|
* linux-mips-low.c (mips_add_watchpoint): Rename private to
|
||||||
|
priv.
|
||||||
|
|
||||||
2015-11-03 Simon Marchi <simon.marchi@polymtl.ca>
|
2015-11-03 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* linux-mips-low.c (mips_linux_new_thread): Change type of
|
* linux-mips-low.c (mips_linux_new_thread): Change type of
|
||||||
|
|
|
@ -356,7 +356,7 @@ mips_linux_new_thread (struct lwp_info *lwp)
|
||||||
/* Create a new mips_watchpoint and add it to the list. */
|
/* Create a new mips_watchpoint and add it to the list. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mips_add_watchpoint (struct arch_process_info *private, CORE_ADDR addr, int len,
|
mips_add_watchpoint (struct arch_process_info *priv, CORE_ADDR addr, int len,
|
||||||
enum target_hw_bp_type watch_type)
|
enum target_hw_bp_type watch_type)
|
||||||
{
|
{
|
||||||
struct mips_watchpoint *new_watch;
|
struct mips_watchpoint *new_watch;
|
||||||
|
@ -368,7 +368,7 @@ mips_add_watchpoint (struct arch_process_info *private, CORE_ADDR addr, int len,
|
||||||
new_watch->type = watch_type;
|
new_watch->type = watch_type;
|
||||||
new_watch->next = NULL;
|
new_watch->next = NULL;
|
||||||
|
|
||||||
pw = &private->current_watches;
|
pw = &priv->current_watches;
|
||||||
while (*pw != NULL)
|
while (*pw != NULL)
|
||||||
pw = &(*pw)->next;
|
pw = &(*pw)->next;
|
||||||
*pw = new_watch;
|
*pw = new_watch;
|
||||||
|
|
Loading…
Reference in New Issue