projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gdb/testsuite] Remove dependence on tcl_unknown
[deliverable/binutils-gdb.git]
/
bfd
/
rs6000-core.c
diff --git
a/bfd/rs6000-core.c
b/bfd/rs6000-core.c
index 8e2dd06b464c9b199971bf75ee7d71b6a4042d1c..696e8fdd99105cb4b8222da76c4c19959bcc0279 100644
(file)
--- a/
bfd/rs6000-core.c
+++ b/
bfd/rs6000-core.c
@@
-759,11
+759,11
@@
rs6000coff_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
}
str1 = strrchr (path, '/');
}
str1 = strrchr (path, '/');
- str2 = strrchr (
exec_bfd->filename
, '/');
+ str2 = strrchr (
bfd_get_filename (exec_bfd)
, '/');
/* step over character '/' */
str1 = str1 != NULL ? str1 + 1 : path;
/* step over character '/' */
str1 = str1 != NULL ? str1 + 1 : path;
- str2 = str2 != NULL ? str2 + 1 :
exec_bfd->filename
;
+ str2 = str2 != NULL ? str2 + 1 :
bfd_get_filename (exec_bfd)
;
if (strcmp (str1, str2) == 0)
ret = TRUE;
if (strcmp (str1, str2) == 0)
ret = TRUE;
This page took
0.024525 seconds
and
4
git commands to generate.