| OLD | NEW |
| 1 /* General utility routines for the remote server for GDB. | 1 /* General utility routines for the remote server for GDB. |
| 2 Copyright (C) 1986, 1989, 1993, 1995-1997, 1999-2000, 2002-2003, | 2 Copyright (C) 1986-2013 Free Software Foundation, Inc. |
| 3 2007-2012 Free Software Foundation, Inc. | |
| 4 | 3 |
| 5 This file is part of GDB. | 4 This file is part of GDB. |
| 6 | 5 |
| 7 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 9 (at your option) any later version. |
| 11 | 10 |
| 12 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
| 13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 295 |
| 297 char * | 296 char * |
| 298 pfildes (gdb_fildes_t fd) | 297 pfildes (gdb_fildes_t fd) |
| 299 { | 298 { |
| 300 #if USE_WIN32API | 299 #if USE_WIN32API |
| 301 return phex_nz (fd, sizeof (gdb_fildes_t)); | 300 return phex_nz (fd, sizeof (gdb_fildes_t)); |
| 302 #else | 301 #else |
| 303 return plongest (fd); | 302 return plongest (fd); |
| 304 #endif | 303 #endif |
| 305 } | 304 } |
| OLD | NEW |