aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 7e32943..76c73d7 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4441,7 +4441,8 @@ re_enable_breakpoints_in_shlibs (void)
{
if (b->enable_state == bp_shlib_disabled)
{
- char buf[1], *lib;
+ gdb_byte buf[1];
+ char *lib;
/* Do not reenable the breakpoint if the shared library is
still not mapped in. */