diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/tramp-frame.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/tramp-frame.h')
-rw-r--r-- | gdb/tramp-frame.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/tramp-frame.h b/gdb/tramp-frame.h index fa0241a..976aa1a 100644 --- a/gdb/tramp-frame.h +++ b/gdb/tramp-frame.h @@ -20,7 +20,7 @@ #ifndef TRAMP_FRAME_H #define TRAMP_FRAME_H -#include "frame.h" /* For "enum frame_type". */ +#include "frame.h" /* For "enum frame_type". */ class frame_info_ptr; struct trad_frame_cache; @@ -57,23 +57,22 @@ struct tramp_frame The instruction sequence is terminated by TRAMP_SENTINEL_INSN. */ int insn_size; + struct { ULONGEST bytes; ULONGEST mask; } insn[48]; + /* Initialize a trad-frame cache corresponding to the tramp-frame. FUNC is the address of the instruction TRAMP[0] in memory. */ - void (*init) (const struct tramp_frame *self, - frame_info_ptr this_frame, - struct trad_frame_cache *this_cache, - CORE_ADDR func); + void (*init) (const struct tramp_frame *self, frame_info_ptr this_frame, + struct trad_frame_cache *this_cache, CORE_ADDR func); /* Return non-zero if the tramp-frame is valid for the PC requested. Adjust the PC to point to the address to check the instruction sequence against if required. If this is NULL, then the tramp-frame is valid for any PC. */ - int (*validate) (const struct tramp_frame *self, - frame_info_ptr this_frame, + int (*validate) (const struct tramp_frame *self, frame_info_ptr this_frame, CORE_ADDR *pc); }; |