projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ld relro
[platform/upstream/binutils.git]
/
gdb
/
ppcbug-rom.c
diff --git
a/gdb/ppcbug-rom.c
b/gdb/ppcbug-rom.c
index
e547b5f
..
f1740d1
100644
(file)
--- a/
gdb/ppcbug-rom.c
+++ b/
gdb/ppcbug-rom.c
@@
-1,7
+1,6
@@
/* Remote debugging interface for PPCbug (PowerPC) Rom monitor
for GDB, the GNU debugger.
/* Remote debugging interface for PPCbug (PowerPC) Rom monitor
for GDB, the GNU debugger.
- Copyright (C) 1995, 1998, 1999, 2000, 2001, 2007, 2008, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2014 Free Software Foundation, Inc.
Written by Stu Grossman of Cygnus Support
Written by Stu Grossman of Cygnus Support
@@
-95,10
+94,10
@@
ppcbug_supply_register (struct regcache *regcache, char *regname,
}
/*
}
/*
- * This array of registers needs to match the indexes used by GDB. The
+ * This array of registers needs to match the indexes used by GDB.
The
* whole reason this exists is because the various ROM monitors use
* different names than GDB does, and don't support all the
* whole reason this exists is because the various ROM monitors use
* different names than GDB does, and don't support all the
- * registers either. So, typing "info reg sp" becomes an "A7".
+ * registers either.
So, typing "info reg sp" becomes an "A7".
*/
static char *ppcbug_regnames[] =
*/
static char *ppcbug_regnames[] =
@@
-118,9
+117,9
@@
static char *ppcbug_regnames[] =
};
/*
};
/*
- * Define the monitor command strings. Since these are passed directly
+ * Define the monitor command strings.
Since these are passed directly
* through to a printf style function, we need can include formatting
* through to a printf style function, we need can include formatting
- * strings. We also need a CR or LF on the end.
+ * strings.
We also need a CR or LF on the end.
*/
static struct target_ops ppcbug_ops0;
*/
static struct target_ops ppcbug_ops0;
@@
-165,10
+164,10
@@
init_ppc_cmds (char *LOAD_CMD,
OPS->getreg.resp_delim = "="; /* getreg.resp_delim */
OPS->getreg.term = NULL; /* getreg.term */
OPS->getreg.term_cmd = NULL; /* getreg.term_cmd */
OPS->getreg.resp_delim = "="; /* getreg.resp_delim */
OPS->getreg.term = NULL; /* getreg.term */
OPS->getreg.term_cmd = NULL; /* getreg.term_cmd */
- OPS->register_pattern = "\\(\\w+\\) +=\\([0-9a-fA-F]+\\b\\)"; /* register_pattern */
+ /* register_pattern */
+ OPS->register_pattern = "\\(\\w+\\) +=\\([0-9a-fA-F]+\\b\\)";
OPS->supply_register = ppcbug_supply_register;
OPS->dump_registers = "rd\r"; /* dump all registers */
OPS->supply_register = ppcbug_supply_register;
OPS->dump_registers = "rd\r"; /* dump all registers */
- OPS->load_routine = NULL; /* load_routine (defaults to SRECs) */
OPS->load = LOAD_CMD; /* download command */
OPS->loadresp = NULL; /* load response */
OPS->prompt = "PPC1-Bug>"; /* monitor command prompt */
OPS->load = LOAD_CMD; /* download command */
OPS->loadresp = NULL; /* load response */
OPS->prompt = "PPC1-Bug>"; /* monitor command prompt */
@@
-185,13
+184,13
@@
static struct monitor_ops ppcbug_cmds0;
static struct monitor_ops ppcbug_cmds1;
static void
static struct monitor_ops ppcbug_cmds1;
static void
-ppcbug_open0 (char *args, int from_tty)
+ppcbug_open0 (c
onst c
har *args, int from_tty)
{
monitor_open (args, &ppcbug_cmds0, from_tty);
}
static void
{
monitor_open (args, &ppcbug_cmds0, from_tty);
}
static void
-ppcbug_open1 (char *args, int from_tty)
+ppcbug_open1 (c
onst c
har *args, int from_tty)
{
monitor_open (args, &ppcbug_cmds1, from_tty);
}
{
monitor_open (args, &ppcbug_cmds1, from_tty);
}