From 678ee700bce5bdbd94510f42dd5c6a4b747b0fd9 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sat, 5 Feb 1994 01:06:21 +0000 Subject: [PATCH] (hms_fetch_register): Take out REGISTER_TYPE. --- gdb/ChangeLog | 7 +++++++ gdb/remote-hms.c | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index af2c909a564..784ead69f61 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -6,6 +6,13 @@ Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com) change memory model. * remote-7000.c (initialize_remote_e7000): Change name of snoop command. + * remote-hms.c (hms_load): Remove breakpoints when loaded. + (hms_wait): Use new status structure + (hms_open): Push the target here. (hms_before_main_loop): Not + here. (supply_val, hms_fetch_register, hms_store_register): Cope + with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE. + * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print + all registers in a compact way. Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com) diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index f8c46b8a412..02d5fd6b949 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -920,8 +920,7 @@ hms_fetch_register (dummy) int s; int gottok; - REGISTER_TYPE reg[NUM_REGS]; - int foo[NUM_REGS]; + LONGEST reg[NUM_REGS]; check_open (); do @@ -998,7 +997,6 @@ hms_fetch_register (dummy) int gottok; unsigned LONGEST reg[NUM_REGS]; - int foo[8]; check_open (); -- 2.30.2