From 4cc5b060c2530728e36b8368023f45ede789de3c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 17 Oct 1993 02:05:58 +0000 Subject: [PATCH] * corelow.c (add_to_thread_list): Need a cast to go from PTR to asection *. --- gdb/ChangeLog | 3 +++ gdb/corelow.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ff409f6389..82db3834c69 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Sat Oct 16 20:47:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * corelow.c (add_to_thread_list): Need a cast to go from PTR to + asection *. + * infrun.c: Add comment about signals. * fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again. diff --git a/gdb/corelow.c b/gdb/corelow.c index 407940c961f..1cebc48985e 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -90,7 +90,7 @@ add_to_thread_list (abfd, asect, reg_sect_arg) PTR reg_sect_arg; { int thread_id; - asection *reg_sect = reg_sect_arg; + asection *reg_sect = (asection *) reg_sect_arg; if (strncmp (bfd_section_name (abfd, asect), ".reg/", 5) != 0) return; -- 2.30.2