From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randolph Chung To: gdb-patches@sources.redhat.com Subject: [patch/rfa] gdb_mbuild.sh build errors Date: Tue, 18 May 2004 05:04:00 -0000 Message-id: <20040518050402.GF566@tausq.org> X-SW-Source: 2004-05/msg00522.html A few targets don't build correctly with the gdb_mbuild.sh script (using i386-linux as the host): alpha-elf: /home/tausq/gdb/gdb/gdb/alpha-tdep.c: In function `alpha_gdbarch_init': /home/tausq/gdb/gdb/gdb/alpha-tdep.c:1502: warning: integer constant is too large for "long" type m32r-elf: mloop.c: In function `execute': mloop.c:115: too few arguments to function /home/tausq/gdb/gdb/sim/m32r/model.c: In function `m32r_init_cpu': /home/tausq/gdb/gdb/sim/m32r/model.c:4344: `m32rbf_engine_run_full' undeclared (first use in this function) /home/tausq/gdb/gdb/sim/m32r/model.c:4344: (Each undeclared identifier is reported only once /home/tausq/gdb/gdb/sim/m32r/model.c:4344: for each function it appears in.) v850-elf, when built with -j4 /home/tausq/gdb/gdb/sim/v850/interp.c:5: itable.h: No such file or directory make[2]: *** [interp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... The alpha and v850 build errors can be fixed with the following. I don't know how to fix the m32r-elf build error. Should i check these in? gdb: 2004-05-17 Randolph Chung * alpha-tdep.c (alpha_gdbarch_init): Define 64-bit constant with ULL qualifier. sim/v850: 2004-05-17 Randolph Chung * Makefile.in (interp.o): Define proper dependency. Index: gdb/alpha-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/alpha-tdep.c,v retrieving revision 1.130 diff -u -r1.130 alpha-tdep.c --- gdb/alpha-tdep.c 1 May 2004 15:34:49 -0000 1.130 +++ gdb/alpha-tdep.c 18 May 2004 05:00:16 -0000 @@ -1499,7 +1499,7 @@ /* Lowest text address. This is used by heuristic_proc_start() to decide when to stop looking. */ - tdep->vm_min_address = (CORE_ADDR) 0x120000000; + tdep->vm_min_address = (CORE_ADDR) 0x120000000ULL; tdep->dynamic_sigtramp_offset = NULL; tdep->sigcontext_addr = NULL; Index: sim/v850/Makefile.in =================================================================== RCS file: /cvs/src/src/sim/v850/Makefile.in,v retrieving revision 1.7 diff -u -r1.7 Makefile.in --- sim/v850/Makefile.in 16 May 2003 07:11:43 -0000 1.7 +++ sim/v850/Makefile.in 18 May 2004 05:00:16 -0000 @@ -124,6 +124,7 @@ rm -f table.c simops.h gencode #interp.o: interp.c table.c $(INCLUDE) +interp.o: interp.c $(INCLUDE) simops.o: simops.c simops.h $(INCLUDE) targ-vals.h #table.o: table.c semantics.o: $(INCLUDE) -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/