diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2002-05-20 18:40:46 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2002-05-20 18:40:46 +0000 |
commit | d194345b7bb41a6c0b5792e8bd78dbbeb7847ec2 (patch) | |
tree | b5b5442164cf1e2478cbc346911ae9637cc64867 /gdb | |
parent | 260449986e6b914cbe22772407252a675254a8f1 (diff) | |
download | fsf-binutils-gdb-d194345b7bb41a6c0b5792e8bd78dbbeb7847ec2.zip fsf-binutils-gdb-d194345b7bb41a6c0b5792e8bd78dbbeb7847ec2.tar.gz fsf-binutils-gdb-d194345b7bb41a6c0b5792e8bd78dbbeb7847ec2.tar.bz2 |
* h8300-tdep.c: Fix formatting.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/h8300-tdep.c | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eaa14d3..ade5323 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-05-20 Kazu Hirata <kazu@cs.umass.edu> + + * h8300-tdep.c: Fix formatting. + 2002-05-20 Elena Zannoni <ezannoni@redhat.com> * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index c0250f5..b12897f 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -54,19 +54,18 @@ extern int h8300hmode, h8300smode; #define IS_MOVK_R5(x) (x==0x7905) #define IS_SUB_R5SP(x) (x==0x1957) - /* The register names change depending on whether the h8300h processor type is selected. */ static char *original_register_names[] = REGISTER_NAMES; -static char *h8300h_register_names[] = -{"er0", "er1", "er2", "er3", "er4", "er5", "er6", - "sp", "ccr","pc", "cycles", "exr", "tick", "inst"}; +static char *h8300h_register_names[] = { + "er0", "er1", "er2", "er3", "er4", "er5", "er6", + "sp", "ccr", "pc", "cycles", "exr", "tick", "inst" +}; char **h8300_register_names = original_register_names; - /* Local function declarations. */ static CORE_ADDR examine_prologue (); @@ -766,7 +765,6 @@ h8300s_command (char *args, int from_tty) set_register_names (); } - static void set_machine (char *args, int from_tty) { @@ -824,8 +822,6 @@ _initialize_h8300m (void) specify_exec_file_hook (set_machine_hook); } - - void h8300_print_register_hook (int regno) { @@ -880,11 +876,11 @@ h8300_print_register_hook (int regno) frame_register_read (selected_frame, regno, b); l = b[REGISTER_VIRTUAL_SIZE (EXR_REGNUM) - 1]; printf_unfiltered ("\t"); - printf_unfiltered ("T-%d - - - ", (l & 0x80) != 0); + printf_unfiltered ("T-%d - - - ", (l & 0x80) != 0); printf_unfiltered ("I2-%d ", (l & 4) != 0); printf_unfiltered ("I1-%d ", (l & 2) != 0); printf_unfiltered ("I0-%d", (l & 1) != 0); - } + } } void |