From: Khoo Yit Phang <khooyp@cs.umd.edu>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Khoo Yit Phang <khooyp@cs.umd.edu>,
Tom Tromey <tromey@redhat.com>,
GDB Patches <gdb-patches@sourceware.org>
Subject: Re: Regression for --batch [Re: [RFC] Make python/lib/gdb and submodules proper Python modules]
Date: Fri, 14 Sep 2012 06:53:00 -0000 [thread overview]
Message-ID: <DE501EDC-46BE-4105-BB63-09FADB053A1F@cs.umd.edu> (raw)
In-Reply-To: <20120914063700.GA7238@host2.jankratochvil.net>
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
Hi,
Here's a patch that points gdb/contrib/cc-with-tweaks.sh to the appropriate data-directory.
Yit
September 14, 2012
[-- Attachment #2: fix-cc-with-tweaks.txt --]
[-- Type: text/plain, Size: 744 bytes --]
2012-09-14 Khoo Yit Phang <khooyp@cs.umd.edu>
Point contrib/cc-with-tweaks.sh to the build-local data-directory.
* contrib/cc-with-tweaks.sh (GDB): Add -data-directory
data-directory as appropriate.
diff --git a/gdb/contrib/cc-with-tweaks.sh b/gdb/contrib/cc-with-tweaks.sh
--- a/gdb/contrib/cc-with-tweaks.sh
+++ b/gdb/contrib/cc-with-tweaks.sh
@@ -46,13 +46,13 @@
then
if [ -f ./gdb ]
then
- GDB="./gdb"
+ GDB="./gdb -data-directory data-directory"
elif [ -f ../gdb ]
then
- GDB="../gdb"
+ GDB="../gdb -data-directory ../data-directory"
elif [ -f ../../gdb ]
then
- GDB="../../gdb"
+ GDB="../../gdb -data-directory ../../data-directory"
else
echo "$myname: unable to find usable gdb" >&2
exit 1
next prev parent reply other threads:[~2012-09-14 6:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-03 3:44 [RFC] Make python/lib/gdb and submodules proper Python modules Khoo Yit Phang
2012-09-07 6:19 ` Doug Evans
2012-09-07 14:27 ` Khoo Yit Phang
2012-09-10 20:38 ` Tom Tromey
2012-09-12 20:00 ` Khoo Yit Phang
2012-09-13 20:56 ` Tom Tromey
2012-09-13 21:51 ` Khoo Yit Phang
2012-09-14 5:48 ` Regression for --batch [Re: [RFC] Make python/lib/gdb and submodules proper Python modules] Jan Kratochvil
2012-09-14 6:00 ` Khoo Yit Phang
2012-09-14 6:16 ` Jan Kratochvil
2012-09-14 6:26 ` Khoo Yit Phang
2012-09-14 6:37 ` Jan Kratochvil
2012-09-14 6:53 ` Khoo Yit Phang [this message]
2012-09-14 7:04 ` Jan Kratochvil
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=DE501EDC-46BE-4105-BB63-09FADB053A1F@cs.umd.edu \
--to=khooyp@cs.umd.edu \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=tromey@redhat.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