projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update/correct copyright notices.
[deliverable/binutils-gdb.git]
/
gdb
/
remote-e7000.c
diff --git
a/gdb/remote-e7000.c
b/gdb/remote-e7000.c
index be88feff52303478efed3d1eb03395dce2c39a3e..46fb54b1e8a54476d295b5078b18214a26de4ed4 100644
(file)
--- a/
gdb/remote-e7000.c
+++ b/
gdb/remote-e7000.c
@@
-1,5
+1,6
@@
/* Remote debugging interface for Hitachi E7000 ICE, for GDB
/* Remote debugging interface for Hitachi E7000 ICE, for GDB
- Copyright 1993, 1994, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ Free Software Foundation, Inc.
Contributed by Cygnus Support.
Written by Steve Chamberlain for Cygnus Support.
Contributed by Cygnus Support.
Written by Steve Chamberlain for Cygnus Support.
@@
-37,16
+38,15
@@
#include "gdbarch.h"
#include "inferior.h"
#include "target.h"
#include "gdbarch.h"
#include "inferior.h"
#include "target.h"
-#include "gdb_wait.h"
#include "value.h"
#include "command.h"
#include "value.h"
#include "command.h"
-#include <signal.h>
#include "gdb_string.h"
#include "gdbcmd.h"
#include <sys/types.h>
#include "serial.h"
#include "remote-utils.h"
#include "symfile.h"
#include "gdb_string.h"
#include "gdbcmd.h"
#include <sys/types.h>
#include "serial.h"
#include "remote-utils.h"
#include "symfile.h"
+#include "regcache.h"
#include <time.h>
#include <ctype.h>
#include <time.h>
#include <ctype.h>
@@
-627,7
+627,7
@@
e7000_start_remote (void *dummy)
if (!sync)
{
fprintf_unfiltered (gdb_stderr, "Giving up after %d tries...\n", try);
if (!sync)
{
fprintf_unfiltered (gdb_stderr, "Giving up after %d tries...\n", try);
- error ("Unable to syncronize with target.\n");
+ error ("Unable to sync
h
ronize with target.\n");
}
puts_e7000debug ("\r");
}
puts_e7000debug ("\r");
@@
-700,7
+700,7
@@
e7000_close (int quitting)
when you want to detach and do something else with your gdb. */
static void
when you want to detach and do something else with your gdb. */
static void
-e7000_detach (int from_tty)
+e7000_detach (
char *arg,
int from_tty)
{
pop_target (); /* calls e7000_close to do the real work */
if (from_tty)
{
pop_target (); /* calls e7000_close to do the real work */
if (from_tty)
@@
-710,7
+710,7
@@
e7000_detach (int from_tty)
/* Tell the remote machine to resume. */
static void
/* Tell the remote machine to resume. */
static void
-e7000_resume (int pid, int step,
int sig
)
+e7000_resume (int pid, int step,
enum target_signal sigal
)
{
if (step)
puts_e7000debug ("S\r");
{
if (step)
puts_e7000debug ("S\r");
@@
-889,7
+889,7
@@
fetch_regs_from_dump (int (*nextchar) (), char *want)
}
else
}
else
-
abort (
);
+
internal_error (__FILE__, __LINE__, "failed internal consistency check"
);
}
store_signed_integer (buf,
REGISTER_RAW_SIZE (regno),
}
store_signed_integer (buf,
REGISTER_RAW_SIZE (regno),
@@
-1062,7
+1062,7
@@
e7000_prepare_to_store (void)
}
static void
}
static void
-e7000_files_info (
void
)
+e7000_files_info (
struct target_ops *ops
)
{
printf_unfiltered ("\tAttached to %s at %d baud.\n", dev_name, baudrate);
}
{
printf_unfiltered ("\tAttached to %s at %d baud.\n", dev_name, baudrate);
}
@@
-1473,8
+1473,10
@@
fast_but_for_the_pause_e7000_read_inferior_memory (CORE_ADDR memaddr,
Returns the number of bytes transferred. */
static int
Returns the number of bytes transferred. */
static int
-e7000_xfer_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr,
- int len, int write, struct target_ops *target)
+e7000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr,
+ int len, int write,
+ struct mem_attrib *attrib ATTRIBUTE_UNUSED,
+ struct target_ops *target ATTRIBUTE_UNUSED)
{
if (write)
return e7000_write_inferior_memory (memaddr, myaddr, len);
{
if (write)
return e7000_write_inferior_memory (memaddr, myaddr, len);
@@
-1485,7
+1487,7
@@
e7000_xfer_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr,
}
static void
}
static void
-e7000_kill (
char *args, int from_tty
)
+e7000_kill (
void
)
{
}
{
}
@@
-1696,7
+1698,7
@@
static CORE_ADDR breakaddr[MAX_BREAKPOINTS] =
{0};
static int
{0};
static int
-e7000_insert_breakpoint (CORE_ADDR addr,
unsigned
char *shadow)
+e7000_insert_breakpoint (CORE_ADDR addr, char *shadow)
{
int i;
char buf[200];
{
int i;
char buf[200];
@@
-1739,7
+1741,7
@@
e7000_insert_breakpoint (CORE_ADDR addr, unsigned char *shadow)
}
static int
}
static int
-e7000_remove_breakpoint (CORE_ADDR addr,
unsigned
char *shadow)
+e7000_remove_breakpoint (CORE_ADDR addr, char *shadow)
{
int i;
char buf[200];
{
int i;
char buf[200];
@@
-2117,7
+2119,7
@@
e7000_wait (int pid, struct target_waitstatus *status)
break;
default:
/* Get the user's attention - this should never happen. */
break;
default:
/* Get the user's attention - this should never happen. */
-
abort (
);
+
internal_error (__FILE__, __LINE__, "failed internal consistency check"
);
}
return 0;
}
return 0;
This page took
0.025604 seconds
and
4
git commands to generate.