* pe-dll.c (fill_edata): don't strip underscores
[deliverable/binutils-gdb.git] / gdb / standalone.c
index fa9b26f222fa08863a6dcbe00f5bc54782a6c548..13fc4768b4ede0779879df4fe9fb3a7c48521a91 100644 (file)
@@ -15,13 +15,13 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
 #include <sys/ioctl.h>
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/stat.h>
+#include "gdb_stat.h"
 
 #if defined (SIGTSTP) && defined (SIGIO)
 #include <sys/time.h>
@@ -141,8 +141,7 @@ open (filename, modes)
       return -1;
     }
 
-  for (next - files_start; * (int *) next;
-       next += * (int *) next)
+  for (next = files_start; * (int *) next; next += * (int *) next)
     {
       if (!STRCMP (next + 4, filename))
        {
@@ -584,9 +583,7 @@ _initialize_standalone ()
 
   /* Find the end of the data on files.  */
 
-  for (next - files_start; * (int *) next;
-       next += * (int *) next)
-    {}
+  for (next = files_start; * (int *) next; next += * (int *) next) {}
 
   /* That is where free storage starts for sbrk to give out.  */
   next_free = next;
This page took 0.024362 seconds and 4 git commands to generate.