From a2e2dd80557cd2493d1d6c454b86dd010da3d0d4 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 7 Sep 2001 21:27:36 +0000 Subject: Correctly parse register values provided by the monitor. * rom68k-rom.c: #include "value.h". (is_hex_digit, hex_digit_value, is_whitespace, rom68k_supply_one_register): New static functions. (rom68k_supply_register): Call rom68k_supply_one_register, instead of monitor_supply_register; the latter was incorrectly parsing the values. * Makefile.in (rom68k-rom.o): Note that this now #includes value.h. --- gdb/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ec281ac..5844aea 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1912,7 +1912,8 @@ remote-nrom.o: remote-nrom.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \ $(inferior_h) $(remote_utils_h) $(symfile_h) terminal.h rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) \ - $(gdbcmd_h) $(inferior_h) $(target_h) serial.h terminal.h $(regcache_h) + $(gdbcmd_h) $(inferior_h) $(target_h) serial.h terminal.h \ + $(regcache_h) $(value_h) rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \ $(gdbcore_h) xcoffsolib.h $(symfile_h) objfiles.h gdb-stabs.h \ -- cgit v1.1