From 359a097f9fac5066bce1f1fc78ff99d61c1d94cc Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 30 Mar 1993 23:06:29 +0000 Subject: Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com) * command.c (do_setshow_command): Use %u with var_{u,z}integer. * command.{c,h}: New var_type var_integer. main.c: Use it for history_size. * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c: Lint and byte-order fixups. --- gdb/breakpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/breakpoint.c') diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 070ea85..678ea2b 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -942,7 +942,7 @@ bpstat_stop_status (pc, frame_address) "Error evaluating expression for watchpoint %d\n"; char message[sizeof (message1) + 30 /* slop */]; sprintf (message, message1, b->number); - switch (catch_errors (watchpoint_check, bs, message)) + switch (catch_errors (watchpoint_check, (char *) bs, message)) { case WP_DISABLED: /* We've already printed what needs to be printed. */ -- cgit v1.1