diff options
author | Pierre Muller <muller@sourceware.org> | 2011-04-19 12:32:20 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-04-19 12:32:20 +0000 |
commit | 74de023457c7e18e1835f64a5edf7b405e80a095 (patch) | |
tree | 6aaa553b7a51ecf16fe805a875c2faed22a20d51 /gdb/solib-svr4.c | |
parent | b23518f0c81019c66875c68f7a4cf1225134091d (diff) | |
download | gdb-74de023457c7e18e1835f64a5edf7b405e80a095.zip gdb-74de023457c7e18e1835f64a5edf7b405e80a095.tar.gz gdb-74de023457c7e18e1835f64a5edf7b405e80a095.tar.bz2 |
* solib-svr4.c (svr4_keep_data_in_core): Rename local variable
lm_name to name_lm to avoid conflict with lm_name function.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 23d44a6..7e2e39c 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -954,7 +954,7 @@ svr4_keep_data_in_core (CORE_ADDR vaddr, unsigned long size) struct so_list *new; struct cleanup *old_chain; struct link_map_offsets *lmo; - CORE_ADDR lm_name; + CORE_ADDR name_lm; info = get_svr4_info (); @@ -977,10 +977,10 @@ svr4_keep_data_in_core (CORE_ADDR vaddr, unsigned long size) new->lm_info->lm = xzalloc (lmo->link_map_size); make_cleanup (xfree, new->lm_info->lm); read_memory (ldsomap, new->lm_info->lm, lmo->link_map_size); - lm_name = lm_name (new); + name_lm = lm_name (new); do_cleanups (old_chain); - return (lm_name >= vaddr && lm_name < vaddr + size); + return (name_lm >= vaddr && name_lm < vaddr + size); } /* |