From: "Sérgio Durigan Júnior" <sergiodj@linux.vnet.ibm.com>
To: teawater <teawater@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 1/4] catch syscall -- try 3 -- Architecture-independent part
Date: Sat, 17 Jan 2009 19:29:00 -0000 [thread overview]
Message-ID: <1232220531.6191.24.camel@miki> (raw)
In-Reply-To: <daef60380901170841nf1ec400q73c2b3e7db92ef06@mail.gmail.com>
On Sun, 2009-01-18 at 00:41 +0800, teawater wrote:
> 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.
Hi Hui,
It happens because I did not include the regenerated configure script
for GDB. That's one of the useful things that Jan asked me to do in the
next patch submission, but for now if you want to compile GDB with the
catch syscall patch you gotta regenerate the build scripts. There's one
tutorial here:
http://sourceware.org/gdb/wiki/Developer_Tips
Look in the "Editing configure.ac" topic. Remembering: this is gonna be
"fixed" in the next submission :-).
Thanks for your help,
--
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil
prev parent reply other threads:[~2009-01-17 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 20:02 Sérgio Durigan Júnior
2008-11-19 18:28 ` Sérgio Durigan Júnior
2009-01-17 16:41 ` teawater
2009-01-17 19:29 ` Sérgio Durigan Júnior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1232220531.6191.24.camel@miki \
--to=sergiodj@linux.vnet.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=teawater@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox