This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: swat a warning in solib.c
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [PATCH]: swat a warning in solib.c
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 24 Mar 2000 18:45:29 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200003240048.QAA20906@cleaver.cygnus.com>
> A common trick when using catch_errors is to pass an int argument
> as a void* by casting it. This generates warnings (if nothing else!)
> when int and void* are not the same size. Instead let's pass the
> address of the int.
Thanks. Please commit this.