]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Replace hardwired error handler in go32_create_inferior
authorGary Benson <gbenson@redhat.com>
Mon, 4 Aug 2014 13:44:56 +0000 (14:44 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 29 Aug 2014 09:12:03 +0000 (10:12 +0100)
commitb1ec390e096983dea311a853c412494a4991153e
tree740ba40d37d081e57a570a48a914967dc081c4d7
parentfd0ef3dda9fa7af181d059e4b3e26c17c1385c0d
Replace hardwired error handler in go32_create_inferior

go32_create_inferior invokes a hardwired fprintf/exit error handler
if v2loadimage fails.  I could find no reason for this other than that
the block seems to have been copy-and-pasted from v2loadimage's
manpage.  This commit replaces the hardwired handler with a call to
error.

gdb/ChangeLog:

* go32-nat.c (go32_create_inferior): Replace a fprintf/
exit pair with a call to error.  Wrap the message with _().
gdb/ChangeLog
gdb/go32-nat.c