projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove i386_elf_emit_arch_note
[deliverable/binutils-gdb.git]
/
sim
/
arm
/
main.c
diff --git
a/sim/arm/main.c
b/sim/arm/main.c
index c7992908b4400a0adea3158c8a18253a8445dc85..b63b3710b09451d0ba89bc6ac8163bb34c512637 100644
(file)
--- a/
sim/arm/main.c
+++ b/
sim/arm/main.c
@@
-3,7
+3,7
@@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version
2
of the License, or
+ the Free Software Foundation; either version
3
of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@
-12,8
+12,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/**********************************************************************/
/* Forks the ARMulator and hangs on a socket passing on RDP messages */
/**********************************************************************/
/* Forks the ARMulator and hangs on a socket passing on RDP messages */
@@
-117,7
+116,7
@@
main (int argc, char *argv[])
/* Open a socket */
sockethandle = socket (hp->h_addrtype, SOCK_STREAM, 0);
/* Open a socket */
sockethandle = socket (hp->h_addrtype, SOCK_STREAM, 0);
- if (sockethandle
< 0
)
+ if (sockethandle
== -1
)
{
perror ("socket");
return 1;
{
perror ("socket");
return 1;
@@
-147,7
+146,7
@@
main (int argc, char *argv[])
fprintf (stderr, "Waiting for connection from debugger...");
debugsock = accept (sockethandle, &isa, &i);
fprintf (stderr, "Waiting for connection from debugger...");
debugsock = accept (sockethandle, &isa, &i);
- if (debugsock
< 0
)
+ if (debugsock
== -1
)
{
perror ("accept");
return 1;
{
perror ("accept");
return 1;
This page took
0.024667 seconds
and
4
git commands to generate.