dwarf2read.c (add_partial_symbol): Remove outdated comments.

gdb/ChangeLog:

	* dwarf2read.c (add_partial_symbol): Remove outdated comments.
This commit is contained in:
Doug Evans
2015-09-20 21:48:31 -07:00
parent 8c60ef43a8
commit 183dc7ecf6
2 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2015-09-20 Doug Evans <xdje42@gmail.com>
* dwarf2read.c (add_partial_symbol): Remove outdated comments.
2015-09-20 Doug Evans <xdje42@gmail.com> 2015-09-20 Doug Evans <xdje42@gmail.com>
* dwarf2read.c (dwarf2_compute_name): Add FIXME. Don't use a local * dwarf2read.c (dwarf2_compute_name): Add FIXME. Don't use a local

View File

@ -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 of the global scope. But in Ada, we want to be able to access
nested procedures globally. So all Ada subprograms are stored nested procedures globally. So all Ada subprograms are stored
in the global scope. */ in the global scope. */
/* prim_record_minimal_symbol (actual_name, addr, mst_text,
objfile); */
add_psymbol_to_list (actual_name, strlen (actual_name), add_psymbol_to_list (actual_name, strlen (actual_name),
built_actual_name != NULL, built_actual_name != NULL,
VAR_DOMAIN, LOC_BLOCK, VAR_DOMAIN, LOC_BLOCK,
@ -6897,8 +6895,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
} }
else else
{ {
/* prim_record_minimal_symbol (actual_name, addr, mst_file_text,
objfile); */
add_psymbol_to_list (actual_name, strlen (actual_name), add_psymbol_to_list (actual_name, strlen (actual_name),
built_actual_name != NULL, built_actual_name != NULL,
VAR_DOMAIN, LOC_BLOCK, VAR_DOMAIN, LOC_BLOCK,
@ -6967,8 +6963,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
return; return;
} }
/* prim_record_minimal_symbol (actual_name, addr + baseaddr,
mst_file_data, objfile); */
add_psymbol_to_list (actual_name, strlen (actual_name), add_psymbol_to_list (actual_name, strlen (actual_name),
built_actual_name != NULL, built_actual_name != NULL,
VAR_DOMAIN, LOC_STATIC, VAR_DOMAIN, LOC_STATIC,