aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-10-17 01:02:57 +0000
committerStu Grossman <grossman@cygnus>1993-10-17 01:02:57 +0000
commit7c5d526e1f7183353e8ede9612ca7edd0b06b1ce (patch)
treec82d531c3c04782e5ef8fea6706412c1f712b42a /gdb/corelow.c
parent952a820e43deb9f8c794bbd3d8349fdaddfed2da (diff)
downloadfsf-binutils-gdb-7c5d526e1f7183353e8ede9612ca7edd0b06b1ce.zip
fsf-binutils-gdb-7c5d526e1f7183353e8ede9612ca7edd0b06b1ce.tar.gz
fsf-binutils-gdb-7c5d526e1f7183353e8ede9612ca7edd0b06b1ce.tar.bz2
* procfs.c (procfs_wait): Losing Unixware can't do poll on /proc
files. Use PIOCWSTOP instead. * corelow.c (add_to_thread_list): Fix arg to match prototype.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 1e803ef..407940c 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -84,12 +84,13 @@ solib_add_stub (from_tty)
list of threads in a core file. */
static void
-add_to_thread_list (abfd, asect, reg_sect)
+add_to_thread_list (abfd, asect, reg_sect_arg)
bfd *abfd;
asection *asect;
- asection *reg_sect;
+ PTR reg_sect_arg;
{
int thread_id;
+ asection *reg_sect = reg_sect_arg;
if (strncmp (bfd_section_name (abfd, asect), ".reg/", 5) != 0)
return;