mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Change some remote.c globals to "static"
I noticed a three globals in remote.c that could be static. This patch makes this change. gdb/ChangeLog 2019-05-08 Tom Tromey <tromey@adacore.com> * remote.c (remote_hw_watchpoint_limit) (remote_hw_watchpoint_length_limit, remote_hw_breakpoint_limit): Now static.
This commit is contained in:
parent
ed2b7c1703
commit
60fcc1c3d0
@ -1,3 +1,9 @@
|
||||
2019-05-08 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* remote.c (remote_hw_watchpoint_limit)
|
||||
(remote_hw_watchpoint_length_limit, remote_hw_breakpoint_limit):
|
||||
Now static.
|
||||
|
||||
2019-05-08 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* maint.c (_initialize_maint_cmds): Move initialization code to
|
||||
|
@ -10378,9 +10378,9 @@ remote_target::remove_watchpoint (CORE_ADDR addr, int len,
|
||||
}
|
||||
|
||||
|
||||
int remote_hw_watchpoint_limit = -1;
|
||||
int remote_hw_watchpoint_length_limit = -1;
|
||||
int remote_hw_breakpoint_limit = -1;
|
||||
static int remote_hw_watchpoint_limit = -1;
|
||||
static int remote_hw_watchpoint_length_limit = -1;
|
||||
static int remote_hw_breakpoint_limit = -1;
|
||||
|
||||
int
|
||||
remote_target::region_ok_for_hw_watchpoint (CORE_ADDR addr, int len)
|
||||
|
Loading…
Reference in New Issue
Block a user