2005-05-13 Fred Fish <fnf@specifixinc.com>

* readelf.c: Fix a couple of obvious comment typos,
	'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
This commit is contained in:
Fred Fish 2005-05-14 01:38:14 +00:00
parent 2db3311b5a
commit f59f7c79ed
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-05-13 Fred Fish <fnf@specifixinc.com>
* readelf.c: Fix a couple of obvious comment typos,
'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
2005-05-13 H.J. Lu <hongjiu.lu@intel.com> 2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_ia64_unwind): Get stamp with proper size. * readelf.c (dump_ia64_unwind): Get stamp with proper size.

View file

@ -7320,7 +7320,7 @@ load_debug_range (FILE *file)
if (debug_range_contents != NULL) if (debug_range_contents != NULL)
return; return;
/* Locate the .debug_str section. */ /* Locate the .debug_ranges section. */
sec = find_section (".debug_ranges"); sec = find_section (".debug_ranges");
if (sec == NULL) if (sec == NULL)
return; return;
@ -8910,7 +8910,7 @@ process_debug_info (Elf_Internal_Shdr *section, unsigned char *start,
} }
/* Set num_debug_info_entries here so that it can be used to check if /* Set num_debug_info_entries here so that it can be used to check if
we need to proecess .debug_loc and .debug_ranges sections. */ we need to process .debug_loc and .debug_ranges sections. */
if ((do_loc || do_debug_loc || do_debug_ranges) if ((do_loc || do_debug_loc || do_debug_ranges)
&& num_debug_info_entries == 0) && num_debug_info_entries == 0)
num_debug_info_entries = num_units; num_debug_info_entries = num_units;