diff options
Diffstat (limited to 'gdb/dink32-rom.c')
-rw-r--r-- | gdb/dink32-rom.c | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c index c0c2e510202..2d60d67209f 100644 --- a/gdb/dink32-rom.c +++ b/gdb/dink32-rom.c @@ -2,21 +2,22 @@ GDB, the GNU debugger. Copyright 1997 Free Software Foundation, Inc. -This file is part of GDB. + This file is part of GDB. -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include "defs.h" #include "gdbcore.h" @@ -110,7 +111,7 @@ dink32_load (monops, filename, from_tty) if (exec_bfd) write_pc (bfd_get_start_address (exec_bfd)); - inferior_pid = 0; /* No process now */ + inferior_pid = 0; /* No process now */ } @@ -121,22 +122,23 @@ dink32_load (monops, filename, from_tty) static char *dink32_regnames[NUM_REGS] = { - "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", - "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", - "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", - "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31", + "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", + "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", + "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", + "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31", - "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", - "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", - "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", - "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", + "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", + "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", + "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", + "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", - "srr0", "msr", "cr", "lr", "ctr", "xer", "xer" + "srr0", "msr", "cr", "lr", "ctr", "xer", "xer" }; static struct target_ops dink32_ops; -static char *dink32_inits[] = {"\r", NULL}; +static char *dink32_inits[] = +{"\r", NULL}; static struct monitor_ops dink32_cmds; @@ -157,7 +159,7 @@ _initialize_dink32_rom () dink32_cmds.step = "tr +\r"; dink32_cmds.set_break = "bp 0x%x\r"; dink32_cmds.clr_break = "bp %d\r"; -#if 0 /* Would need to follow strict alignment rules.. */ +#if 0 /* Would need to follow strict alignment rules.. */ dink32_cmds.fill = "mf %x %x %x\r"; #endif dink32_cmds.setmem.cmdb = "mm -b %x\r"; @@ -176,7 +178,7 @@ _initialize_dink32_rom () /* S-record download, via "keyboard port". */ dink32_cmds.load = "dl -k\r"; dink32_cmds.loadresp = "Set Input Port : set to Keyboard Port\r"; -#if 0 /* slow load routine not needed if S-records work... */ +#if 0 /* slow load routine not needed if S-records work... */ dink32_cmds.load_routine = dink32_load; #endif dink32_cmds.prompt = "DINK32_603 >>"; |