OLD | NEW |
1 /* Remote target system call support. | 1 /* Remote target system call support. |
2 Copyright 1997-1998, 2002, 2004, 2007-2012 Free Software Foundation, | 2 Copyright 1997-2013 Free Software Foundation, Inc. |
3 Inc. | |
4 Contributed by Cygnus Solutions. | 3 Contributed by Cygnus Solutions. |
5 | 4 |
6 This file is part of GDB. | 5 This file is part of GDB. |
7 | 6 |
8 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 10 (at your option) any later version. |
12 | 11 |
13 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 sc->errcode = 0; | 623 sc->errcode = 0; |
625 else | 624 else |
626 sc->errcode = cb_host_to_target_errno (cb, errcode); | 625 sc->errcode = cb_host_to_target_errno (cb, errcode); |
627 return CB_RC_OK; | 626 return CB_RC_OK; |
628 | 627 |
629 ErrorFinish: | 628 ErrorFinish: |
630 sc->result = result; | 629 sc->result = result; |
631 sc->errcode = (*cb->get_errno) (cb); | 630 sc->errcode = (*cb->get_errno) (cb); |
632 return CB_RC_OK; | 631 return CB_RC_OK; |
633 } | 632 } |
OLD | NEW |