diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-11-23 17:24:03 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-11-23 17:24:03 +0000 |
commit | 1fc7b5d7252fd6607520c043dd65981c750566c6 (patch) | |
tree | bf34833f82216fc953fa89f7bb2aa04cf6706f12 | |
parent | 9b80deddf2929f55251e96edfc4ef1e39003bbac (diff) | |
download | binutils-1fc7b5d7252fd6607520c043dd65981c750566c6.zip binutils-1fc7b5d7252fd6607520c043dd65981c750566c6.tar.gz binutils-1fc7b5d7252fd6607520c043dd65981c750566c6.tar.bz2 |
Fix compilation error in gdb-dlfcn.c (on Windows)
gdb/ChangeLog:
* gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to
FormatMessage.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdb-dlfcn.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b168d83..e16f120 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-11-23 Joel Brobecker <brobecker@adacore.com> + + * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to + FormatMessage. + 2011-11-22 Tom Tromey <tromey@redhat.com> PR mi/8444: diff --git a/gdb/gdb-dlfcn.c b/gdb/gdb-dlfcn.c index 1caa9af..c69528f 100644 --- a/gdb/gdb-dlfcn.c +++ b/gdb/gdb-dlfcn.c @@ -90,7 +90,7 @@ gdb_dlopen (const char *filename) FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, dw, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - (LPTSTR) &buffer + (LPTSTR) &buffer, 0, NULL); error (_("Could not load %s: %s"), filename, (char *) buffer); |