OLD | NEW |
1 /* The common simulator framework for GDB, the GNU Debugger. | 1 /* The common simulator framework for GDB, the GNU Debugger. |
2 | 2 |
3 Copyright 2002, 2007-2012 Free Software Foundation, Inc. | 3 Copyright 2002-2013 Free Software Foundation, Inc. |
4 | 4 |
5 Contributed by Andrew Cagney and Red Hat. | 5 Contributed by Andrew Cagney and Red Hat. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
11 the Free Software Foundation; either version 3 of the License, or | 11 the Free Software Foundation; either version 3 of the License, or |
12 (at your option) any later version. | 12 (at your option) any later version. |
13 | 13 |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 sim_io_stat (SIM_DESC sd, const char *path, struct stat *buf) | 392 sim_io_stat (SIM_DESC sd, const char *path, struct stat *buf) |
393 { | 393 { |
394 return STATE_CALLBACK (sd)->stat (STATE_CALLBACK (sd), path, buf); | 394 return STATE_CALLBACK (sd)->stat (STATE_CALLBACK (sd), path, buf); |
395 } | 395 } |
396 | 396 |
397 int | 397 int |
398 sim_io_fstat (SIM_DESC sd, int fd, struct stat *buf) | 398 sim_io_fstat (SIM_DESC sd, int fd, struct stat *buf) |
399 { | 399 { |
400 return STATE_CALLBACK (sd)->fstat (STATE_CALLBACK (sd), fd, buf); | 400 return STATE_CALLBACK (sd)->fstat (STATE_CALLBACK (sd), fd, buf); |
401 } | 401 } |
OLD | NEW |