summaryrefslogtreecommitdiff
path: root/gdb/annotate.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/annotate.c
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-gdb-users/simark/clang-format.tar.gz
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 60fe6ccd5c2..64a5ef03386 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -29,7 +29,6 @@
#include "source.h"
#include "objfiles.h"
#include "source-cache.h"
-
/* Prototypes for local functions. */
@@ -37,7 +36,6 @@ static void print_value_flags (struct type *);
static void breakpoint_changed (struct breakpoint *b);
-
void (*deprecated_annotate_signalled_hook) (void);
void (*deprecated_annotate_signal_hook) (void);
@@ -161,7 +159,7 @@ annotate_signal (void)
if (annotation_level > 1)
printf_unfiltered (("\n\032\032signal\n"));
}
-
+
void
annotate_breakpoints_headers (void)
{
@@ -274,7 +272,7 @@ annotate_field_end (void)
if (annotation_level == 2)
printf_unfiltered (("\n\032\032field-end\n"));
}
-
+
void
annotate_quit (void)
{
@@ -448,8 +446,7 @@ annotate_source_line (struct symtab *s, int line, int mid_statement,
return false;
annotate_source (s->fullname, line, (int) (*offsets)[line - 1],
- mid_statement, s->compunit ()->objfile ()->arch (),
- pc);
+ mid_statement, s->compunit ()->objfile ()->arch (), pc);
/* Update the current symtab and line. */
symtab_and_line sal;
@@ -464,13 +461,12 @@ annotate_source_line (struct symtab *s, int line, int mid_statement,
return false;
}
-
void
annotate_frame_begin (int level, struct gdbarch *gdbarch, CORE_ADDR pc)
{
if (annotation_level > 1)
- printf_unfiltered (("\n\032\032frame-begin %d %s\n"),
- level, paddress (gdbarch, pc));
+ printf_unfiltered (("\n\032\032frame-begin %d %s\n"), level,
+ paddress (gdbarch, pc));
}
void
@@ -563,7 +559,7 @@ annotate_frame_end (void)
if (annotation_level == 2)
printf_unfiltered (("\n\032\032frame-end\n"));
}
-
+
void
annotate_array_section_begin (int idx, struct type *elttype)
{
@@ -624,6 +620,7 @@ breakpoint_changed (struct breakpoint *b)
}
void _initialize_annotate ();
+
void
_initialize_annotate ()
{