aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ctfread.c12
2 files changed, 8 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 77e52f3..8b6da62 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2020-01-26 Tom Tromey <tom@tromey.com>
+ * ctfread.c (struct ctf_fp_info): Reindent.
+ (_initialize_ctfread): Remove.
+
+2020-01-26 Tom Tromey <tom@tromey.com>
+
* psymtab.c (partial_map_expand_apply)
(psym_find_pc_sect_compunit_symtab, psym_lookup_symbol)
(psymtab_to_symtab, psym_find_last_source_symtab, dump_psymtab)
diff --git a/gdb/ctfread.c b/gdb/ctfread.c
index d363ce6..844ab7b 100644
--- a/gdb/ctfread.c
+++ b/gdb/ctfread.c
@@ -88,9 +88,9 @@ static const struct objfile_key<htab, htab_deleter> ctf_tid_key;
struct ctf_fp_info
{
- explicit ctf_fp_info (ctf_file_t *cfp) : fp (cfp) {}
- ~ctf_fp_info ();
- ctf_file_t *fp;
+ explicit ctf_fp_info (ctf_file_t *cfp) : fp (cfp) {}
+ ~ctf_fp_info ();
+ ctf_file_t *fp;
};
/* Cleanup function for the ctf_file_key data. */
@@ -1485,9 +1485,3 @@ elfctf_build_psymtabs (struct objfile *of)
scan_partial_symbols (fp, of);
}
-
-void _initialize_ctfread ();
-void
-_initialize_ctfread ()
-{
-}