diff options
author | Gary Benson <gbenson@redhat.com> | 2014-08-04 14:44:56 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-29 10:12:03 +0100 |
commit | b1ec390e096983dea311a853c412494a4991153e (patch) | |
tree | 740ba40d37d081e57a570a48a914967dc081c4d7 /gdb/ChangeLog | |
parent | fd0ef3dda9fa7af181d059e4b3e26c17c1385c0d (diff) | |
download | gdb-b1ec390e096983dea311a853c412494a4991153e.zip gdb-b1ec390e096983dea311a853c412494a4991153e.tar.gz gdb-b1ec390e096983dea311a853c412494a4991153e.tar.bz2 |
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 _().
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8898962..dd5e080 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-08-29 Gary Benson <gbenson@redhat.com> + * go32-nat.c (go32_create_inferior): Replace a fprintf/ + exit pair with a call to error. Wrap the message with _(). + +2014-08-29 Gary Benson <gbenson@redhat.com> + * main.c (captured_main): Replace a fprintf/exit pair with a call to error. Wrap the message with _(). |