aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-darwin.c')
-rw-r--r--gdb/solib-darwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 93212bd..b9a4be1 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -269,7 +269,7 @@ darwin_current_sos (void)
for (i = 0; i < info->all_image.count; i++)
{
CORE_ADDR iinfo = info->all_image.info + i * image_info_size;
- char buf[image_info_size];
+ gdb_byte buf[image_info_size];
CORE_ADDR load_addr;
CORE_ADDR path_addr;
struct mach_o_header_external hdr;
@@ -347,7 +347,7 @@ darwin_read_exec_load_addr (struct darwin_info *info)
for (i = 0; i < info->all_image.count; i++)
{
CORE_ADDR iinfo = info->all_image.info + i * image_info_size;
- char buf[image_info_size];
+ gdb_byte buf[image_info_size];
CORE_ADDR load_addr;
struct mach_o_header_external hdr;
unsigned long hdr_val;