aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2015-09-20 21:48:31 -0700
committerDoug Evans <xdje42@gmail.com>2015-09-20 21:48:31 -0700
commit183dc7ecf69a92653e0a72e0bbc02732bac9ec8c (patch)
tree56f90daec857b803162d5140360d7b45b7713853
parent8c60ef43a8c45f3f8f6ab275ba331640f658f59b (diff)
downloadgdb-183dc7ecf69a92653e0a72e0bbc02732bac9ec8c.zip
gdb-183dc7ecf69a92653e0a72e0bbc02732bac9ec8c.tar.gz
gdb-183dc7ecf69a92653e0a72e0bbc02732bac9ec8c.tar.bz2
dwarf2read.c (add_partial_symbol): Remove outdated comments.
gdb/ChangeLog: * dwarf2read.c (add_partial_symbol): Remove outdated comments.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 270ae7d..fe56b75 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2015-09-20 Doug Evans <xdje42@gmail.com>
+ * dwarf2read.c (add_partial_symbol): Remove outdated comments.
+
+2015-09-20 Doug Evans <xdje42@gmail.com>
+
* dwarf2read.c (dwarf2_compute_name): Add FIXME. Don't use a local
variable name that collides with a parameter.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b8c0872..90e581a 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -6887,8 +6887,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
of the global scope. But in Ada, we want to be able to access
nested procedures globally. So all Ada subprograms are stored
in the global scope. */
- /* prim_record_minimal_symbol (actual_name, addr, mst_text,
- objfile); */
add_psymbol_to_list (actual_name, strlen (actual_name),
built_actual_name != NULL,
VAR_DOMAIN, LOC_BLOCK,
@@ -6897,8 +6895,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
}
else
{
- /* prim_record_minimal_symbol (actual_name, addr, mst_file_text,
- objfile); */
add_psymbol_to_list (actual_name, strlen (actual_name),
built_actual_name != NULL,
VAR_DOMAIN, LOC_BLOCK,
@@ -6967,8 +6963,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
return;
}
- /* prim_record_minimal_symbol (actual_name, addr + baseaddr,
- mst_file_data, objfile); */
add_psymbol_to_list (actual_name, strlen (actual_name),
built_actual_name != NULL,
VAR_DOMAIN, LOC_STATIC,