mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
arc: Add evaluation of long jump targets
Standard get_longjmp_target implementation, similar to what is in arm-tdep.c. Actual value of jb_pc should be set in init_osabi methods of particular OS/ABI implementations. gdb/ChangeLog: * arc-tdep.h (struct gdbarch_tdep) <jb_pc>: New field. * arc-tdep.c (arc_get_longjmp_target): New function. (arc_gdbarch_init): Set get_longjmp_target if jb_pc is non-negative. (arc_dump_tdep): Print jb_pc.
This commit is contained in:
@ -81,6 +81,9 @@ extern int arc_debug;
|
||||
|
||||
struct gdbarch_tdep
|
||||
{
|
||||
/* Offset to PC value in jump buffer. If this is negative, longjmp
|
||||
support will be disabled. */
|
||||
int jb_pc;
|
||||
};
|
||||
|
||||
/* Utility functions used by other ARC-specific modules. */
|
||||
|
Reference in New Issue
Block a user