summaryrefslogtreecommitdiff
path: root/gdb/jit.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2011-01-09 03:08:52 +0000
committerMichael Snyder <msnyder@specifix.com>2011-01-09 03:08:52 +0000
commit900ace7f9cd7f71e161a97f9d01b85114c1fa70d (patch)
tree248f9170f6d224a98a63fff27cd555bef1c281c0 /gdb/jit.h
parent9a8c65dd2b21512020cdd4b072a4de91bc874744 (diff)
downloadgdb-900ace7f9cd7f71e161a97f9d01b85114c1fa70d.tar.gz
2011-01-08 Michael Snyder <msnyder@vmware.com>
* h8300-tdep.c: Comment cleanup, mostly periods and spaces. * hppa-hpux-tdep.c: Ditto. * hppa-linux-nat.c: Ditto. * hppa-linux-tdep.c: Ditto. * hppanbsd-tdep.c: Ditto. * hppa-tdep.c: Ditto. * hppa-tdep.h: Ditto. * hpux-thread.c: Ditto. * i386-cygwin-tdep.c: Ditto. * i386-darwin-nat.c: Ditto. * i386gnu-nat.c: Ditto. * i386-linux-nat.c: Ditto. * i386-linux-tdep.c: Ditto. * i386-nat.c: Ditto. * i386-nat.h: Ditto. * i386nbsd-tdep.c: Ditto. * i386-sol2-nat.c: Ditto. * i386-stub.c: Ditto. * i386-tdep.c: Ditto. * i386-tdep.h: Ditto. * i387-tdep.c: Ditto. * ia64-linux-nat.c: Ditto. * ia64-linux-tdep.c: Ditto. * ia64-tdep.c: Ditto. * infcall.c: Ditto. * infcall.h: Ditto. * infcmd.c: Ditto. * inferior.c: Ditto. * inferior.h: Ditto. * infloop.c: Ditto. * inflow.c: Ditto. * infrun.c: Ditto. * interps.c: Ditto. * interps.h: Ditto. * iq2000-tdep.c: Ditto. * irix5-nat.c: Ditto. * jit.c: Ditto. * jit.h: Ditto. * jv-exp.y: Ditto. * jv-lang.c: Ditto. * jv-lang.h: Ditto. * jv-typeprint.c: Ditto. * jv-valprint.c: Ditto. * language.c: Ditto. * language.h: Ditto. * linespec.c: Ditto. * linux-fork.c: Ditto. * linux-nat.c: Ditto. * linux-thread-db.c: Ditto. * lm32-tdep.c: Ditto.
Diffstat (limited to 'gdb/jit.h')
-rw-r--r--gdb/jit.h39
1 files changed, 21 insertions, 18 deletions
diff --git a/gdb/jit.h b/gdb/jit.h
index 8187d52e7b5..73a14147ec0 100644
--- a/gdb/jit.h
+++ b/gdb/jit.h
@@ -20,9 +20,9 @@
#ifndef JIT_H
#define JIT_H
-/* When the JIT breakpoint fires, the inferior wants us to take one of these
- actions. These values are used by the inferior, so the values of these enums
- cannot be changed. */
+/* When the JIT breakpoint fires, the inferior wants us to take one of
+ these actions. These values are used by the inferior, so the
+ values of these enums cannot be changed. */
typedef enum
{
@@ -31,11 +31,12 @@ typedef enum
JIT_UNREGISTER
} jit_actions_t;
-/* This struct describes a single symbol file in a linked list of symbol files
- describing generated code. As the inferior generates code, it adds these
- entries to the list, and when we attach to the inferior, we read them all.
- For the first element prev_entry should be NULL, and for the last element
- next_entry should be NULL. */
+/* This struct describes a single symbol file in a linked list of
+ symbol files describing generated code. As the inferior generates
+ code, it adds these entries to the list, and when we attach to the
+ inferior, we read them all. For the first element prev_entry
+ should be NULL, and for the last element next_entry should be
+ NULL. */
struct jit_code_entry
{
@@ -46,11 +47,12 @@ struct jit_code_entry
};
/* This is the global descriptor that the inferior uses to communicate
- information to the debugger. To alert the debugger to take an action, the
- inferior sets the action_flag to the appropriate enum value, updates
- relevant_entry to point to the relevant code entry, and calls the function at
- the well-known symbol with our breakpoint. We then read this descriptor from
- another global well-known symbol. */
+ information to the debugger. To alert the debugger to take an
+ action, the inferior sets the action_flag to the appropriate enum
+ value, updates relevant_entry to point to the relevant code entry,
+ and calls the function at the well-known symbol with our
+ breakpoint. We then read this descriptor from another global
+ well-known symbol. */
struct jit_descriptor
{
@@ -62,9 +64,10 @@ struct jit_descriptor
CORE_ADDR first_entry;
};
-/* Looks for the descriptor and registration symbols and breakpoints the
- registration function. If it finds both, it registers all the already JITed
- code. If it has already found the symbols, then it doesn't try again. */
+/* Looks for the descriptor and registration symbols and breakpoints
+ the registration function. If it finds both, it registers all the
+ already JITed code. If it has already found the symbols, then it
+ doesn't try again. */
extern void jit_inferior_created_hook (void);
@@ -72,8 +75,8 @@ extern void jit_inferior_created_hook (void);
extern void jit_breakpoint_re_set (void);
-/* This function is called by handle_inferior_event when it decides that the JIT
- event breakpoint has fired. */
+/* This function is called by handle_inferior_event when it decides
+ that the JIT event breakpoint has fired. */
extern void jit_event_handler (struct gdbarch *gdbarch);