diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2013-01-31 13:52:52 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2013-01-31 13:52:52 +0000 |
commit | 765a97abdac19e9a1e5409e0c715b0441305cf51 (patch) | |
tree | 5fa53536b0b0491a74432785f5a6273da371e14e /gdb/solib-svr4.c | |
parent | c0fd7846dcd895eff508728d5741aee47112a469 (diff) | |
download | gdb-765a97abdac19e9a1e5409e0c715b0441305cf51.zip gdb-765a97abdac19e9a1e5409e0c715b0441305cf51.tar.gz gdb-765a97abdac19e9a1e5409e0c715b0441305cf51.tar.bz2 |
* solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
(svr4_read_so_list): Remove unused lmo.
* solib-target.c (solib_target_relocate_section_addresses): Remove
unused flags.
Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00744.html
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 396eaf5..0f70097 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -848,7 +848,6 @@ svr4_keep_data_in_core (CORE_ADDR vaddr, unsigned long size) CORE_ADDR ldsomap; struct so_list *new; struct cleanup *old_chain; - struct link_map_offsets *lmo; CORE_ADDR name_lm; info = get_svr4_info (); @@ -862,7 +861,6 @@ svr4_keep_data_in_core (CORE_ADDR vaddr, unsigned long size) if (!ldsomap) return 0; - lmo = svr4_fetch_link_map_offsets (); new = XZALLOC (struct so_list); old_chain = make_cleanup (xfree, new); new->lm_info = lm_info_read (ldsomap); @@ -1175,7 +1173,6 @@ svr4_read_so_list (CORE_ADDR lm, struct so_list ***link_ptr_ptr, for (; lm != 0; prev_lm = lm, lm = next_lm) { - struct link_map_offsets *lmo = svr4_fetch_link_map_offsets (); struct so_list *new; struct cleanup *old_chain; int errcode; |