#include "exceptions.h"
#include "target-descriptions.h"
#include "gdb_stdint.h"
+#include "gdbthread.h"
static void target_info (char *, int);
tcomplain ();
}
+void
+target_resume (ptid_t ptid, int step, enum target_signal signal)
+{
+ dcache_invalidate (target_dcache);
+ (*current_target.to_resume) (ptid, step, signal);
+ set_running (ptid, 1);
+
+}
/* Look through the list of possible targets for a target that can
follow forks. */
search_buf = malloc (search_buf_size);
if (search_buf == NULL)
- error (_("unable to allocate memory to perform the search"));
+ error (_("Unable to allocate memory to perform the search."));
old_cleanups = make_cleanup (free_current_contents, &search_buf);
/* Prime the search buffer. */
if (target_read (ops, TARGET_OBJECT_MEMORY, NULL,
search_buf, start_addr, search_buf_size) != search_buf_size)
{
- warning (_("unable to access target memory at %s, halting search"),
+ warning (_("Unable to access target memory at %s, halting search."),
hex_string (start_addr));
do_cleanups (old_cleanups);
return -1;
search_buf + keep_len, read_addr,
nr_to_read) != nr_to_read)
{
- warning (_("unable to access target memory at %s, halting search"),
+ warning (_("Unable to access target memory at %s, halting search."),
hex_string (read_addr));
do_cleanups (old_cleanups);
return -1;