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

Unified Diff: bfd/corefile.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/configure.in ('k') | bfd/cpu-aarch64.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bfd/corefile.c
diff --git a/bfd/corefile.c b/bfd/corefile.c
index bba0d1ca4f48c13d5e158f0a1ec61197394ad904..8d6293849f7eac77a91ba49e451b14d4d5745cbd 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -169,7 +169,7 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
of the const char * returned by bfd_core_file_failing_command to a
non-const char *. In this case, the assignement does not lead to
breaking the const, as we're only reading the string. */
-
+
core = (char *) bfd_core_file_failing_command (core_bfd);
if (core == NULL)
return TRUE;
@@ -185,7 +185,7 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
last_slash = strrchr (exec, '/');
if (last_slash != NULL)
exec = last_slash + 1;
-
+
return filename_cmp (exec, core) == 0;
}
« no previous file with comments | « bfd/configure.in ('k') | bfd/cpu-aarch64.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698