projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* cli/cli-cmds.c (shell_escape): Use lbasename.
[deliverable/binutils-gdb.git]
/
gdb
/
procfs.c
diff --git
a/gdb/procfs.c
b/gdb/procfs.c
index af0fbaa0c0ac87f5d3d63327845e8e3b11a1b8c5..5d7cb2395426aae54df761583c429399438a97ff 100644
(file)
--- a/
gdb/procfs.c
+++ b/
gdb/procfs.c
@@
-5734,7
+5734,7
@@
procfs_make_note_section (bfd *obfd, int *note_size)
if (get_exec_file (0))
{
- strncpy (fname,
strrchr (get_exec_file (0), '/') + 1
, sizeof (fname));
+ strncpy (fname,
lbasename (get_exec_file (0))
, sizeof (fname));
strncpy (psargs, get_exec_file (0),
sizeof (psargs));
This page took
0.024794 seconds
and
4
git commands to generate.