aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-07-22 15:56:08 +0200
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-07-22 15:56:08 +0200
commitc1072906f1e55711e5f6010c209a472fda80cf97 (patch)
tree8ad266e49231e1fa879b648ca361d4d10181769c /gdb/jit.c
parentc8474dc35380ff7426ec4c555512c098fa70dd04 (diff)
downloadgdb-c1072906f1e55711e5f6010c209a472fda80cf97.zip
gdb-c1072906f1e55711e5f6010c209a472fda80cf97.tar.gz
gdb-c1072906f1e55711e5f6010c209a472fda80cf97.tar.bz2
gdb/jit: remove jiter_objfile_data -> objfile back-link
This is no longer needed, remove it. gdb/ChangeLog: 2020-07-22 Simon Marchi <simon.marchi@polymtl.ca> * jit.h (struct jiter_objfile_data) <jiter_objfile_data, objfile>: Remove. * jit.c (get_jiter_objfile_data): Update.
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 0e1cb20..85b644d 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -254,7 +254,7 @@ static jiter_objfile_data *
get_jiter_objfile_data (objfile *objf)
{
if (objf->jiter_data == nullptr)
- objf->jiter_data.reset (new jiter_objfile_data (objf));
+ objf->jiter_data.reset (new jiter_objfile_data ());
return objf->jiter_data.get ();
}