This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/4] catch syscall -- try 3 -- Architecture-independent part
- From: teawater <teawater at gmail dot com>
- To: Sérgio Durigan Júnior <sergiodj at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 18 Jan 2009 00:41:08 +0800
- Subject: Re: [PATCH 1/4] catch syscall -- try 3 -- Architecture-independent part
- References: <1226987117.5454.32.camel@miki> <1227066396.5454.51.camel@miki>
I got:
gcc -g -I. -I../../src/gdb -I../../src/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../src/gdb/../include/opcode -I../../src/gdb/../readline/..
-I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include
-I../libdecnumber -I../../src/gdb/../libdecnumber
-I../../src/gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror
-c -o main.o -MT main.o -MMD -MP -MF .deps/main.Tpo
-DTARGET_SYSTEM_ROOT=\"\" -DBINDIR=\"/usr/local/bin\"
../../src/gdb/main.c
../../src/gdb/main.c: In function 'captured_main':
../../src/gdb/main.c:300: error: 'GDB_DATADIR' undeclared (first use
in this function)
../../src/gdb/main.c:300: error: (Each undeclared identifier is
reported only once
../../src/gdb/main.c:300: error: for each function it appears in.)
make: *** [main.o] Error 1
with this patch.
On Wed, Nov 19, 2008 at 11:46, Sérgio Durigan Júnior
<sergiodj@linux.vnet.ibm.com> wrote:
> Due to Eli's suggestions, I had to remake this part of the patch.
>
> Regards,
>
> On Tue, 2008-11-18 at 03:45 -0200, Sérgio Durigan Júnior wrote:
>> Arch-independent part of the patch.
>>
>> Regards,
>>
> --
> Sérgio Durigan Júnior
> Linux on Power Toolchain - Software Engineer
> Linux Technology Center - LTC
> IBM Brazil
>