aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2013-01-31 19:18:59 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2013-01-31 19:18:59 +0000
commit974a734be3dfcbc121c40b227fcd12cf03874ecc (patch)
tree97a9d7acd89f88efd43dcb71e05cd470b40d6c3b /gdb/jit.c
parentdf54f8eb0a1c7a5d7bfa6419bda97c36afa48750 (diff)
downloadgdb-974a734be3dfcbc121c40b227fcd12cf03874ecc.zip
gdb-974a734be3dfcbc121c40b227fcd12cf03874ecc.tar.gz
gdb-974a734be3dfcbc121c40b227fcd12cf03874ecc.tar.bz2
2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
* infrun.c (handle_syscall_event): Remove unused gdbarch. (save_infcall_suspend_state): Ifdef out unused inf. (restore_infcall_suspend_state): Ifdef out unused inf. * jit.c (jit_register_code): Remove unused i, b, inf_data. (jit_frame_sniffer): Remove unused inf_data. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00773.html
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index b4294e8..62fe97b 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -926,9 +926,7 @@ static void
jit_register_code (struct gdbarch *gdbarch,
CORE_ADDR entry_addr, struct jit_code_entry *code_entry)
{
- int i, success;
- const struct bfd_arch_info *b;
- struct jit_inferior_data *inf_data = get_jit_inferior_data ();
+ int success;
if (jit_debug)
fprintf_unfiltered (gdb_stdlog,
@@ -1115,13 +1113,10 @@ static int
jit_frame_sniffer (const struct frame_unwind *self,
struct frame_info *this_frame, void **cache)
{
- struct jit_inferior_data *inf_data;
struct jit_unwind_private *priv_data;
struct gdb_unwind_callbacks callbacks;
struct gdb_reader_funcs *funcs;
- inf_data = get_jit_inferior_data ();
-
callbacks.reg_get = jit_unwind_reg_get_impl;
callbacks.reg_set = jit_unwind_reg_set_impl;
callbacks.target_read = jit_target_read_impl;