]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove record_line_ftype
authorTom Tromey <tom@tromey.com>
Wed, 23 May 2018 04:47:15 +0000 (22:47 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Jul 2018 15:42:56 +0000 (09:42 -0600)
The record_line_ftype typedef was only used in the DWARF reader, and
we removed those uses a few patches ago.  So, remove the typedef.

gdb/ChangeLog
2018-07-20  Tom Tromey  <tom@tromey.com>

* buildsym-legacy.h (record_line): Don't use record_line_ftype.
* buildsym.h (record_line_ftype): Remove typedef.

gdb/ChangeLog
gdb/buildsym-legacy.h
gdb/buildsym.h

index 9f9b8e3a11b6372c9fcc80a094e6804929d75527..c02fb5306d35a1fd10577dca9e5c1243477a4956 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-20  Tom Tromey  <tom@tromey.com>
+
+       * buildsym-legacy.h (record_line): Don't use record_line_ftype.
+       * buildsym.h (record_line_ftype): Remove typedef.
+
 2018-07-20  Tom Tromey  <tom@tromey.com>
 
        * buildsym-legacy.h (augment_type_symtab): Don't declare.
index aaa9152c4eb71760199ff384c1012ad902c0061d..ed825b4b74d571d440747802fc04ae5765c7fd08 100644 (file)
@@ -79,7 +79,7 @@ extern struct context_stack *push_context (int desc, CORE_ADDR valu);
 
 extern struct context_stack pop_context ();
 
-extern record_line_ftype record_line;
+extern void record_line (struct subfile *subfile, int line, CORE_ADDR pc);
 
 extern struct compunit_symtab *start_symtab (struct objfile *objfile,
                                             const char *name,
index 36b3e99dc560f74e626bc76da7d637dc537f992f..141adfdebe40de55f418c4d278b88b5ea5ecde5e 100644 (file)
@@ -396,10 +396,6 @@ private:
   struct pending *m_local_symbols = nullptr;
 };
 
-/* The type of the record_line function.  */
-typedef void (record_line_ftype) (struct subfile *subfile, int line,
-                                 CORE_ADDR pc);
-
 \f
 
 extern void add_symbol_to_list (struct symbol *symbol,