diff options
author | Stu Grossman <grossman@cygnus> | 1996-05-14 07:02:56 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-05-14 07:02:56 +0000 |
commit | 47ef0da56a772d7dca43c54523303afa2d0c73eb (patch) | |
tree | 20339009549e7beda4424a43a1a046013938c80d /gdb/procfs.c | |
parent | 572977a5525c76cd50ef6e7383134f7313467d5d (diff) | |
download | gdb-47ef0da56a772d7dca43c54523303afa2d0c73eb.zip gdb-47ef0da56a772d7dca43c54523303afa2d0c73eb.tar.gz gdb-47ef0da56a772d7dca43c54523303afa2d0c73eb.tar.bz2 |
* Makefile.in config.in configure configure.in
config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
and pthread support, since pre-2.5 systems don't come with
libthread_db.so.1.
* procfs.c (info_proc): Use int instead of id_t. Old versions of
Irix don't see to define this.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 7d049ff..08cbb45 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -3633,7 +3633,7 @@ info_proc (args, from_tty) int status = 0; int all = 0; int nlwp; - id_t *lwps; + int *lwps; old_chain = make_cleanup (null_cleanup, 0); @@ -3745,7 +3745,7 @@ No process. Start debugging a program or specify an explicit process ID."); } #else /* PIOCLWPIDS */ nlwp = 1; - lwps = alloca ((2 * nlwp + 2) * sizeof (id_t)); + lwps = alloca ((2 * nlwp + 2) * sizeof *lwps); lwps[0] = 0; #endif /* PIOCLWPIDS */ |