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/main.c | |
| 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/main.c')
0 files changed, 0 insertions, 0 deletions
