diff options
author | Sanjoy Das <sanjoyd@sourceware.org> | 2011-11-20 08:53:25 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoyd@sourceware.org> | 2011-11-20 08:53:25 +0000 |
commit | b8e0a31cb506f56b97d9d7a1c6f2ec7013ec73c9 (patch) | |
tree | 27ab9436a46453fa44e22883f7a297ff7de8c51d /gdb/jit.c | |
parent | f997c383549db91a3f3b994a89201ad6498942b5 (diff) | |
download | gdb-b8e0a31cb506f56b97d9d7a1c6f2ec7013ec73c9.zip gdb-b8e0a31cb506f56b97d9d7a1c6f2ec7013ec73c9.tar.gz gdb-b8e0a31cb506f56b97d9d7a1c6f2ec7013ec73c9.tar.bz2 |
gdb/
* config.in: Add new #defines: JIT_READER_DIR and
JIT_READER_DIR_RELOCATABLE.
* configure.ac: New GDB directory entry for jit-reader-dir.
* configure: Re-generated by autoconf.
* jit.c: New static variable: const char *jit_reader_dir.
(_initialize_jit): Relocate jit_reader_dir.
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,8 @@ #include "target.h" #include "gdb_stat.h" +static const char *jit_reader_dir = NULL; + static const struct objfile_data *jit_objfile_data; static const char *const jit_break_name = "__jit_debug_register_code"; @@ -558,6 +560,8 @@ extern void _initialize_jit (void); void _initialize_jit (void) { + jit_reader_dir = relocate_gdb_directory (JIT_READER_DIR, + JIT_READER_DIR_RELOCATABLE); add_setshow_zinteger_cmd ("jit", class_maintenance, &jit_debug, _("Set JIT debugging."), _("Show JIT debugging."), |