projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daily update
[deliverable/binutils-gdb.git]
/
gdb
/
minsyms.c
diff --git
a/gdb/minsyms.c
b/gdb/minsyms.c
index 8497991f04aad83e04656d0e43c8734210cdc15d..4ae7f2793934db88a266ad644429721a972defb9 100644
(file)
--- a/
gdb/minsyms.c
+++ b/
gdb/minsyms.c
@@
-198,12
+198,7
@@
lookup_minimal_symbol (const char *name, const char *sfile,
const char *modified_name;
if (sfile != NULL)
- {
- char *p = strrchr (sfile, '/');
-
- if (p != NULL)
- sfile = p + 1;
- }
+ sfile = lbasename (sfile);
/* For C++, canonicalize the input name. */
modified_name = name;
This page took
0.023041 seconds
and
4
git commands to generate.