diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2013-01-31 18:31:48 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2013-01-31 18:31:48 +0000 |
commit | c656bca57874f367618b35767e5bfc35545c7b1d (patch) | |
tree | cd8234fd0485a7003560d60cc5830b5c8602f55c /gdb/dwarf2-frame.c | |
parent | 7078baeb174ad00adf66ba9ec53056834dbaf7e3 (diff) | |
download | gdb-c656bca57874f367618b35767e5bfc35545c7b1d.zip gdb-c656bca57874f367618b35767e5bfc35545c7b1d.tar.gz gdb-c656bca57874f367618b35767e5bfc35545c7b1d.tar.bz2 |
2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
* dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
* symtab.c (iterate_over_symtabs): Remove unused s.
(find_pc_sect_symtab): Remove unused pspAce.
(find_pc_sect_line): Remove unused alt_symtab.
(find_pcs_for_symtab_line): Remove unused ix, previous_function.
(completion_list_add_name): Remove unused newsize.
Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00764.html
Diffstat (limited to 'gdb/dwarf2-frame.c')
-rw-r--r-- | gdb/dwarf2-frame.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index 179f0c2..ec4edfa 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -888,8 +888,6 @@ dwarf2_compile_cfa_to_ax (struct agent_expr *expr, struct axs_value *loc, CORE_ADDR pc, struct dwarf2_per_cu_data *data) { - const int num_regs = gdbarch_num_regs (gdbarch) - + gdbarch_num_pseudo_regs (gdbarch); struct dwarf2_fde *fde; CORE_ADDR text_offset; struct dwarf2_frame_state fs; |