aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-03-30 23:06:29 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-03-30 23:06:29 +0000
commit359a097f9fac5066bce1f1fc78ff99d61c1d94cc (patch)
tree162c0faf0f0ce4f4a8c3209c01c2e0a1859a1d90 /gdb/breakpoint.c
parentae35ae7f4c94c6fcbdd14a3af7e82891583122fb (diff)
downloadgdb-359a097f9fac5066bce1f1fc78ff99d61c1d94cc.zip
gdb-359a097f9fac5066bce1f1fc78ff99d61c1d94cc.tar.gz
gdb-359a097f9fac5066bce1f1fc78ff99d61c1d94cc.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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. */