OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74ba2d
)
* proc-api.c (procfs_note): Add format string to fprintf call.
author
kettenis
<kettenis>
Sun, 14 Dec 2003 13:40:19 +0000
(13:40 +0000)
committer
kettenis
<kettenis>
Sun, 14 Dec 2003 13:40:19 +0000
(13:40 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/proc-api.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
c164aa1
..
e5bd308
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,7
@@
2003-12-14 Mark Kettenis <kettenis@gnu.org>
+ * proc-api.c (procfs_note): Add format string to fprintf call.
+
* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
for `subl' and `xorl' instructions.
diff --git
a/gdb/proc-api.c
b/gdb/proc-api.c
index
208b984
..
1e4a2dc
100644
(file)
--- a/
gdb/proc-api.c
+++ b/
gdb/proc-api.c
@@
-747,7
+747,7
@@
procfs_note (char *msg, char *file, int line)
if (info_verbose)
fprintf (procfs_file ? procfs_file : stdout,
"%s:%d -- ", file, line);
- fprintf (procfs_file ? procfs_file : stdout, msg);
+ fprintf (procfs_file ? procfs_file : stdout,
"%s",
msg);
if (procfs_file)
fflush (procfs_file);
}