+Fri Apr 15 11:35:19 1994 Steve Chamberlain (sac@cygnus.com)
+
+ * h8500-tdep.c (initialize_h8500_tdep, large_command):
+ All references to value changed to value_ptrlage_command is now
+ called big_command.
+ All references to value changed to value_ptr.
+ * remote-e7000.c (e7000_wait): Use target_waitstatus and SETSTOP
+ * remote-hms.c (hms_wait): Timeout after five seconds.
+ * ser-go32.c (dosasync_read): Poll if timeout < 0.
+ * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.
+ * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
+
Thu Apr 14 07:01:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* procfs.c (procfs_wait): Protect watchpoint code with appropriate
#define C(name,a,b,c) name () { h8500_set_pointer_size(a); code_size = b; data_size = c; }
-C(large_command, 32,4,4);
+C(big_command, 32,4,4);
C(medium_command, 32, 4,2);
C(compact_command, 32,2,4);
C(small_command, 16,2,2);
return 0;
}
-value
+value_ptr
h8500_value_of_trapped_internalvar (var)
struct internalvar *var;
{
h8500_set_trapped_internalvar (var, newval, bitpos, bitsize, offset)
struct internalvar *var;
int offset, bitpos, bitsize;
- value newval;
+ value_ptr newval;
{
char *page_regnum, *regnum;
char expression[100];
add_cmd ("small", class_support, small_command,
"Set small memory model. (16 bit code, 16 bit data)", &setmemorylist);
- add_cmd ("large", class_support, large_command,
- "Set large memory model. (32 bit code, 32 bit data)", &setmemorylist);
+ add_cmd ("big", class_support, big_command,
+ "Set big memory model. (32 bit code, 32 bit data)", &setmemorylist);
add_cmd ("medium", class_support, medium_command,
"Set medium memory model. (32 bit code, 16 bit data)", &setmemorylist);
}
rv = *aptr (async->getp++);
+
if (async->getp >= async->buffer_end)
async->getp = async->buffer_start;
return rv;
}
+
static int
dosasync_read (fd, buf, len, timeout)
int fd;
while (!dos_async_ready ())
{
time (&now);
- if (now >= then)
+ if (now >= then && timeout > 0)
return i;
}
}
{
char buf;
+
/* Shortcut for polling */
if (timeout == 0)
{