aboutsummaryrefslogtreecommitdiff
path: root/gdb/sentinel-frame.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdb/sentinel-frame.c
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-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/sentinel-frame.c')
-rw-r--r--gdb/sentinel-frame.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c
index f323de3..e09beba 100644
--- a/gdb/sentinel-frame.c
+++ b/gdb/sentinel-frame.c
@@ -17,7 +17,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
#include "defs.h"
#include "regcache.h"
#include "sentinel-frame.h"
@@ -32,8 +31,8 @@ struct frame_unwind_cache
void *
sentinel_frame_cache (struct regcache *regcache)
{
- struct frame_unwind_cache *cache =
- FRAME_OBSTACK_ZALLOC (struct frame_unwind_cache);
+ struct frame_unwind_cache *cache
+ = FRAME_OBSTACK_ZALLOC (struct frame_unwind_cache);
cache->regcache = regcache;
return cache;
@@ -43,8 +42,7 @@ sentinel_frame_cache (struct regcache *regcache)
static struct value *
sentinel_frame_prev_register (frame_info_ptr this_frame,
- void **this_prologue_cache,
- int regnum)
+ void **this_prologue_cache, int regnum)
{
struct frame_unwind_cache *cache
= (struct frame_unwind_cache *) *this_prologue_cache;
@@ -57,14 +55,13 @@ sentinel_frame_prev_register (frame_info_ptr this_frame,
}
static void
-sentinel_frame_this_id (frame_info_ptr this_frame,
- void **this_prologue_cache,
+sentinel_frame_this_id (frame_info_ptr this_frame, void **this_prologue_cache,
struct frame_id *this_id)
{
/* The sentinel frame is used as a starting point for creating the
previous (inner most) frame. That frame's THIS_ID method will be
called to determine the inner most frame's ID. Not this one. */
- internal_error (_("sentinel_frame_this_id called"));
+ internal_error (_ ("sentinel_frame_this_id called"));
}
static struct gdbarch *
@@ -77,8 +74,7 @@ sentinel_frame_prev_arch (frame_info_ptr this_frame,
return cache->regcache->arch ();
}
-const struct frame_unwind sentinel_frame_unwind =
-{
+const struct frame_unwind sentinel_frame_unwind = {
"sentinel",
SENTINEL_FRAME,
default_frame_unwind_stop_reason,