aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-06 00:59:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-06 00:59:14 +0000
commit7ac96fb5a82797abaac47741ea3cb4103e6574fe (patch)
tree25fc41043101fab7e4cf6cf13170ef1367763fdc
parentea360572bd7f868c3459f11286d6f873bb21ccdf (diff)
downloadgdb-7ac96fb5a82797abaac47741ea3cb4103e6574fe.zip
gdb-7ac96fb5a82797abaac47741ea3cb4103e6574fe.tar.gz
gdb-7ac96fb5a82797abaac47741ea3cb4103e6574fe.tar.bz2
Add `%P' on error in plugin message.
-rw-r--r--ld/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/plugin.c b/ld/plugin.c
index 1832e49..8c919b6 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -587,7 +587,7 @@ message (int level, const char *format, ...)
case LDPL_ERROR:
default:
{
- char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%F" : "%X",
+ char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%P%F:" : "%P%X:",
format, "\n", NULL));
vfinfo (stderr, newfmt, args, TRUE);
}