diff options
author | Pierre Muller <muller@sourceware.org> | 2011-04-19 11:38:40 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-04-19 11:38:40 +0000 |
commit | b23518f0c81019c66875c68f7a4cf1225134091d (patch) | |
tree | 9396f39c027ab2dfc833d7ad1dd4b2d4a787b8b3 /gdb/solib-sunos.c | |
parent | 00bbc0bdc6f5437c55d1a13907b6f22ecef6671f (diff) | |
download | gdb-b23518f0c81019c66875c68f7a4cf1225134091d.zip gdb-b23518f0c81019c66875c68f7a4cf1225134091d.tar.gz gdb-b23518f0c81019c66875c68f7a4cf1225134091d.tar.bz2 |
ARI fixes: Use only lowercase function name for static functions.
* nto-tdep.c (LM_ADDR): Rename to...
(lm_addr): New function name.
(nto_relocate_section_addresses): Adapt to change above.
* solib-sunos.c (LM_ADDR): Rename to...
(lm_addr): New function name.
(LM_NEXT): Rename to...
(lm_next): New function name.
(sunos_current_sos, sunos_relocate_section_addresses): Adapt to
function name changes above.
* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to...
(lm_addr_from_link_map): New function name.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to...
(has_lm_dynamic_from_link_map): New function name.
(LM_DYNAMIC_FROM_LINK_MAP): Rename to...
(lm_dynamic_from_link_map): New function name.
(LM_ADDR_CHECK): Rename to...
(lm_addr_check): New function name.
(LM_NEXT): Rename to...
(lm_next): New function name.
(LM_PREV): Rename to...
(lm_prev): New function name.
(LM_NAME): Rename to...
(lm_name): New function name.
(IGNORE_FIRST_LINK_MAP_ENTRY): Rename to...
(ignore_first_link_map_entry): New function name.
(svr4_keep_data_in_core): Adapt to function name changes above.
(svr4_current_sos): Likewise.
(enable_break): Likewise.
(svr4_relocate_section_addresses): Likewise.
Diffstat (limited to 'gdb/solib-sunos.c')
-rw-r--r-- | gdb/solib-sunos.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c index dc7d31a..52f50a4 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -139,7 +139,7 @@ static CORE_ADDR flag_addr; /* link map access functions */ static CORE_ADDR -LM_ADDR (struct so_list *so) +lm_addr (struct so_list *so) { enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); int lm_addr_offset = offsetof (struct link_map, lm_addr); @@ -150,7 +150,7 @@ LM_ADDR (struct so_list *so) } static CORE_ADDR -LM_NEXT (struct so_list *so) +lm_next (struct so_list *so) { enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); int lm_next_offset = offsetof (struct link_map, lm_next); @@ -162,7 +162,7 @@ LM_NEXT (struct so_list *so) } static CORE_ADDR -LM_NAME (struct so_list *so) +lm_name (struct so_list *so) { enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); int lm_name_offset = offsetof (struct link_map, lm_name); @@ -435,10 +435,10 @@ sunos_current_sos (void) read_memory (lm, new->lm_info->lm, sizeof (struct link_map)); - lm = LM_NEXT (new); + lm = lm_next (new); /* Extract this shared object's name. */ - target_read_string (LM_NAME (new), &buffer, + target_read_string (lm_name (new), &buffer, SO_NAME_MAX_PATH_SIZE - 1, &errcode); if (errcode != 0) warning (_("Can't read pathname for load map: %s."), @@ -825,8 +825,8 @@ static void sunos_relocate_section_addresses (struct so_list *so, struct target_section *sec) { - sec->addr += LM_ADDR (so); - sec->endaddr += LM_ADDR (so); + sec->addr += lm_addr (so); + sec->endaddr += lm_addr (so); } static struct target_so_ops sunos_so_ops; |