Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cf311b03
Commit
cf311b03
authored
Jul 28, 2017
by
Rainer Orth
Committed by
Rainer Orth
Jul 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pid_t printing
* fileline.c (fileline_initialize): Print pid_t as long. From-SVN: r250675
parent
8acb8421
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
libbacktrace/ChangeLog
+4
-0
libbacktrace/fileline.c
+2
-1
No files found.
libbacktrace/ChangeLog
View file @
cf311b03
2017-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* fileline.c (fileline_initialize): Print pid_t as long.
2017-07-26 Tony Reix <tony.reix@atos.net>
2017-07-26 Tony Reix <tony.reix@atos.net>
* configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery.
* configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery.
...
...
libbacktrace/fileline.c
View file @
cf311b03
...
@@ -102,7 +102,8 @@ fileline_initialize (struct backtrace_state *state,
...
@@ -102,7 +102,8 @@ fileline_initialize (struct backtrace_state *state,
filename
=
"/proc/curproc/file"
;
filename
=
"/proc/curproc/file"
;
break
;
break
;
case
4
:
case
4
:
snprintf
(
buf
,
sizeof
(
buf
),
"/proc/%d/object/a.out"
,
getpid
());
snprintf
(
buf
,
sizeof
(
buf
),
"/proc/%ld/object/a.out"
,
(
long
)
getpid
());
filename
=
buf
;
filename
=
buf
;
break
;
break
;
default:
default:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment