aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
AgeCommit message (Expand)AuthorFilesLines
1994-03-01Modified Files:Kung Hsu1-0/+13
1994-03-01 * target.c, target.h (target_read_string): Provide error detection toJim Kingdon1-16/+390
1994-01-04 * target.h: Add enum target_waitkind, enum target_signal, andJim Kingdon1-15/+107
1993-09-29 * target.c (target_detach): Call generic_mourn_inferior.Jim Kingdon1-11/+130
1992-09-29* breakpoint.c, exec.c, language.c, main.c, printcmd.c, symfile.c,Stu Grossman1-10/+85
1992-09-18* target.h (struct target_ops): removed to_convert_to_virtual andJohn Gilmore1-3/+1
1992-09-15* breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,Stu Grossman1-8/+8
1992-06-29 * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,Fred Fish1-1/+3
1992-03-19 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,Fred Fish1-8/+3
1992-02-21* tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitionsJohn Gilmore1-12/+44
1992-02-21* core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,John Gilmore1-26/+67
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon1-5/+6
1991-04-19 * target.h: Add to_doc and target_preopen.Jim Kingdon1-76/+32
1991-04-19 * target.c (dummy_target): Permit add_syms_addr_command.John Gilmore1-8/+20
1991-03-28Initial revisionK. Richard Pixley1-0/+563
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 { uint32_t version; /* This should be jit_actions_t, but we want to be specific about the bit-width. */ uint32_t action_flag; CORE_ADDR relevant_entry; CORE_ADDR first_entry; }; /* An objfile that defines the required symbols of the JIT interface has an instance of this type attached to it. */ struct jiter_objfile_data { ~jiter_objfile_data (); /* Symbol for __jit_debug_register_code. */ minimal_symbol *register_code = nullptr; /* Symbol for __jit_debug_descriptor. */ minimal_symbol *descriptor = nullptr; /* This is the relocated address of the __jit_debug_register_code function provided by this objfile. This is used to detect relocations changes requiring the breakpoint to be re-created. */ CORE_ADDR cached_code_address = 0; /* This is the JIT event breakpoint, or nullptr if it has been deleted. */ breakpoint *jit_breakpoint = nullptr; }; /* An objfile that is the product of JIT compilation and was registered using the JIT interface has an instance of this type attached to it. */ struct jited_objfile_data { jited_objfile_data (CORE_ADDR addr, CORE_ADDR symfile_addr, ULONGEST symfile_size) : addr (addr), symfile_addr (symfile_addr), symfile_size (symfile_size) {} /* Address of struct jit_code_entry for this objfile. */ CORE_ADDR addr; /* Value of jit_code_entry->symfile_addr for this objfile. */ CORE_ADDR symfile_addr; /* Value of jit_code_entry->symfile_size for this objfile. */ ULONGEST symfile_size; }; /* Re-establish the jit breakpoint(s). */ 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. JITER is the objfile whose JIT event breakpoint has been hit. */ extern void jit_event_handler (gdbarch *gdbarch, objfile *jiter); #endif /* JIT_H */