This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] * dwarf2read.c (record_line_ftype): Remove, duplicate.
- From: Doug Evans <devans at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 28 May 2015 16:43:07 -0000
- Subject: [binutils-gdb] * dwarf2read.c (record_line_ftype): Remove, duplicate.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a051152b640c8bd1286ae71410f0b861ee158691
commit a051152b640c8bd1286ae71410f0b861ee158691
Author: Doug Evans <dje@google.com>
Date: Thu May 28 09:42:02 2015 -0700
* dwarf2read.c (record_line_ftype): Remove, duplicate.
gdb/Changelog:
* dwarf2read.c (record_line_ftype): Remove, duplicate.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/dwarf2read.c | 5 -----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c97e928..bd0292b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-28 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (record_line_ftype): Remove, duplicate.
+
2015-05-28 Yao Qi <yao.qi@linaro.org>
* arm-linux-nat.c (arm_linux_has_wmmx_registers): Remove.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 1ce616a..1e290c3 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -17475,11 +17475,6 @@ psymtab_include_file_name (const struct line_header *lh, int file_index,
return include_name;
}
-/* Function to record a line number. */
-
-typedef void (record_line_ftype) (struct subfile *subfile, int line,
- CORE_ADDR pc);
-
/* State machine to track the state of the line number program. */
typedef struct