diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-07-22 15:56:08 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2020-07-22 15:56:08 +0200 |
commit | 2340e834dfb3110a33e2867297469d5ff33013a4 (patch) | |
tree | e2c704f308b18475097d7013055efdbf04f35e08 /gdbsupport | |
parent | c1072906f1e55711e5f6010c209a472fda80cf97 (diff) | |
download | gdb-2340e834dfb3110a33e2867297469d5ff33013a4.zip gdb-2340e834dfb3110a33e2867297469d5ff33013a4.tar.gz gdb-2340e834dfb3110a33e2867297469d5ff33013a4.tar.bz2 |
gdb/jit: apply minor cleanup and modernization
gdb/ChangeLog:
2020-07-22 Simon Marchi <simon.marchi@polymtl.ca>
Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* jit.c (jit_read_descriptor): Define the descriptor address once,
use twice.
(jit_breakpoint_deleted): Move the declaration of the loop variable
`iter` into the loop header.
(jit_breakpoint_re_set_internal): Move the declaration of the local
variable `objf_data` to the first point of definition.
(jit_event_handler): Move the declaration of local variables
`code_entry`, `entry_addr`, and `objf` to their first point of use.
Rename `objf` to `jited`.
Diffstat (limited to 'gdbsupport')
0 files changed, 0 insertions, 0 deletions