This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: swat a warning in solib.c



> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]