From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Daniel Jacobowitz'" <drow@false.org>
Cc: <gdb-patches@sourceware.org>, "'Ulrich Weigand'" <uweigand@de.ibm.com>
Subject: RE: [RFA] ARI fix: Remove 3 uses of xasprintf
Date: Mon, 15 Oct 2007 17:34:00 -0000 [thread overview]
Message-ID: <000001c80f41$51aecc00$f50c6400$@u-strasbg.fr> (raw)
In-Reply-To: <20071015151408.GA22487@caradoc.them.org>
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] On Behalf Of 'Daniel Jacobowitz'
> Sent: Monday, October 15, 2007 5:14 PM
> To: Pierre Muller
> Cc: gdb-patches@sourceware.org; 'Ulrich Weigand'
> Subject: Re: [RFA] ARI fix: Remove 3 uses of xasprintf
>
> On Mon, Oct 15, 2007 at 05:06:05PM +0200, Pierre Muller wrote:
> > It seems that both functions are still
> > used in gdbtk directory.
> >
> > Is this directory still used?
> >
> > I tried
> > 'make insight.exe' (cygwin system).
> > which compiled fine, but
> > ./insight resulted in "Interpreter `insight' unrecognized"
>
> You have to build a bit more than that to get Insight; it needs top
> level TCL / Tk, for instance. Yes, the gdbtk directory is still used.
> You could ask the insight developers to update, or just leave the
> definitions.
Then I would simply leave it inside defs.h and utils.c
and ask you to apply this little patch to gdb_ari.sh
Pseudo ChangeLog:
2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb_ari.sh (xasprintf): Add known entries in defs.h and utils.c.
Switch to regression category.
(xvasprintf): Idem.
$ cvs diff -up gdb_ari.sh
Index: gdb_ari.sh
===================================================================
RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v
retrieving revision 1.75
diff -u -p -r1.75 gdb_ari.sh
--- gdb_ari.sh 10 Oct 2007 11:56:14 -0000 1.75
+++ gdb_ari.sh 15 Oct 2007 15:36:09 -0000
@@ -1300,7 +1300,9 @@ Do not use vasprintf(), instead use xstr
BEGIN { doc["xasprintf"] = "\
Do not use xasprintf(), instead use xstrprintf"
- category["xasprintf"] = ari_code
+ fix("xasprintf", "gdb/defs.h", 1)
+ fix("xasprintf", "gdb/utils.c", 1)
+ category["xasprintf"] = ari_regression
}
/(^|[^_[:alnum:]])xasprintf[[:space:]]*\(/ {
fail("xasprintf")
@@ -1308,7 +1310,9 @@ Do not use xasprintf(), instead use xstr
BEGIN { doc["xvasprintf"] = "\
Do not use xvasprintf(), instead use xstrvprintf"
- category["xvasprintf"] = ari_code
+ fix("xvasprintf", "gdb/defs.h", 1)
+ fix("xvasprintf", "gdb/utils.c", 1)
+ category["xvasprintf"] = ari_regression
}
/(^|[^_[:alnum:]])xvasprintf[[:space:]]*\(/ {
fail("xvasprintf")
> > > 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
> > >
> > > * cp-abi.c (set_cp_abi_as_auto_default): ARI fix:
> > > Replace xasprintf by xstrprintf.
> > > sysfile-mem.c (add_vsyscall_page): Ditto.
>
> OK.
Thanks, committed,
after correcting sysfile-mem.c to symfile-mem.c which is the correct source
name...
Pierre
next prev parent reply other threads:[~2007-10-15 15:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-15 15:06 Pierre Muller
2007-10-15 15:14 ` Pierre Muller
2007-10-15 15:38 ` 'Daniel Jacobowitz'
2007-10-15 17:34 ` Pierre Muller [this message]
2007-10-24 20:10 ` 'Daniel Jacobowitz'
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='000001c80f41$51aecc00$f50c6400$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.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