Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1359)

Unified Diff: bfd/ecofflink.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bfd/ecoff.c ('k') | bfd/ecoffswap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bfd/ecofflink.c
diff --git a/bfd/ecofflink.c b/bfd/ecofflink.c
index 2ec28863ca7186578769ad8460073c85382e0092..e48fcc87fd931c2056b49b1319b24a7c9e80ff01 100644
--- a/bfd/ecofflink.c
+++ b/bfd/ecofflink.c
@@ -1788,7 +1788,7 @@ mk_fdrtab (bfd *abfd,
'lookup_line'. */
/* The address of the first PDR is the offset of that
procedure relative to the beginning of file FDR. */
- tab->base_addr = fdr_ptr->adr;
+ tab->base_addr = fdr_ptr->adr;
}
else
{
@@ -1887,7 +1887,7 @@ lookup_line (bfd *abfd,
i = fdrtab_lookup (line_info, offset);
if (i < 0)
return FALSE; /* no FDR, no fun... */
-
+
/* eraxxon: 'fdrtab_lookup' doesn't give what we want, at least for Compaq's
C++ compiler 6.2. Consider three FDRs with starting addresses of x, y,
and z, respectively, such that x < y < z. Assume further that
@@ -2052,7 +2052,7 @@ lookup_line (bfd *abfd,
read stabs FDRs as ECOFF ones. However, I don't think this will
harm anything. */
i = 0;
-
+
/* Search FDR list starting at tab[i] for the PDR that best matches
OFFSET. Normally, the FDR list is only one entry long. */
best_fdr = NULL;
@@ -2097,7 +2097,7 @@ lookup_line (bfd *abfd,
if (!best_pdr || (min_dist >= 0 && min_dist < best_dist))
{
- best_dist = (bfd_vma) min_dist;
+ best_dist = (bfd_vma) min_dist;
best_fdr = fdr_ptr;
best_pdr = pdr_hold;
}
« no previous file with comments | « bfd/ecoff.c ('k') | bfd/ecoffswap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698