Browse Source

Wed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com)

* remote-vx.c: redefine malloc to avoid buggy declaration on
	RS/6000 <rpc/types.h>.
	xm-rs6000.h: include <sys/select.h> to define fd_set for
	<rpc/svc.h> on RS/6000.
gdb-4_18-branch
Ian Lance Taylor 35 years ago
parent
commit
0d6d92c707
  1. 7
      gdb/ChangeLog
  2. 2
      gdb/remote-vx.c
  3. 2
      gdb/xm-rs6000.h

7
gdb/ChangeLog

@ -1,3 +1,10 @@
Wed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com)
* remote-vx.c: redefine malloc to avoid buggy declaration on
RS/6000 <rpc/types.h>.
xm-rs6000.h: include <sys/select.h> to define fd_set for
<rpc/svc.h> on RS/6000.
Tue Aug 18 14:48:24 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added FLAGS_TO_PASS variable, and passed it to

2
gdb/remote-vx.c

@ -35,8 +35,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#define malloc bogon_malloc /* Sun claims "char *malloc()" not void * */
#define free bogon_free /* Sun claims "int free()" not void */
#include <rpc/rpc.h>
#undef malloc
#undef free
#include <sys/time.h> /* UTek's <rpc/rpc.h> doesn't #incl this */
#include <netdb.h>

2
gdb/xm-rs6000.h

@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/select.h>
/* Big end is at the low address */
#define HOST_BYTE_ORDER BIG_ENDIAN

Loading…
Cancel
Save