aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share/etherdrv.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
committerJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
commit5c44784c11ecc8febfff615b88496c56c9ad5274 (patch)
tree74f9079f5b0ddae1182abf087af8adc02103e149 /gdb/rdi-share/etherdrv.c
parent9503fd8735ec438fcb2fca34afa276e3e6ca94f5 (diff)
downloadgdb-5c44784c11ecc8febfff615b88496c56c9ad5274.zip
gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.gz
gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.bz2
import gdb-1999-11-01 snapshot
Diffstat (limited to 'gdb/rdi-share/etherdrv.c')
-rw-r--r--gdb/rdi-share/etherdrv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/rdi-share/etherdrv.c b/gdb/rdi-share/etherdrv.c
index 58462d4..d9c5c0f 100644
--- a/gdb/rdi-share/etherdrv.c
+++ b/gdb/rdi-share/etherdrv.c
@@ -71,7 +71,7 @@
#include "hsys.h"
#include "devices.h"
-#include "endian.h"
+#include "angel_endian.h"
#include "buffers.h"
#include "hostchan.h"
#include "params.h"
@@ -282,6 +282,10 @@ static void fetch_ports(void)
* port on the remote target
*/
ia->sin_port = htons(CTRL_PORT);
+#ifdef DEBUG
+ printf("CTLR_PORT=0x%04x sin_port=0x%04x\n");
+#endif
+
if (sendto(sock, ctrlpacket, sizeof(ctrlpacket), 0,
(struct sockaddr *)ia, sizeof(*ia)) < 0)
{