* [commit/branch?] error in return type in solib-target:solib_target_parse_libraries
@ 2007-10-12 22:07 Joel Brobecker
2007-10-13 3:01 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2007-10-12 22:07 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
Hello,
When HAVE_LIBEXPAT is not defined, the instance of
solib_target_parse_libraries has a return type that looks incorrect.
Looking at the other instance used when HAVE_LIBEXPAT is defined,
and looking at its usage, it looks like a '*' was just forgotten.
The attached patch allows GDB to build again.
2007-10-12 Joel Brobecker <brobecker@adacore.com>
* solib-target.c (solib_target_parse_libraries)
[HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
I think I should also commit this on the branch. It looks pretty
obvious and fixes a build failure, even if the current number of
targets that use this file is very small (2 AFAICT).
Thanks,
--
Joel
[-- Attachment #2: solib-target.c.diff --]
[-- Type: text/plain, Size: 363 bytes --]
Index: solib-target.c
===================================================================
--- solib-target.c (revision 15032)
+++ solib-target.c (working copy)
@@ -51,7 +51,7 @@ DEF_VEC_P(lm_info_p);
#if !defined(HAVE_LIBEXPAT)
-static VEC(lm_info_p)
+static VEC(lm_info_p) *
solib_target_parse_libraries (const char *library)
{
static int have_warned;
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [commit/branch?] error in return type in solib-target:solib_target_parse_libraries
2007-10-12 22:07 [commit/branch?] error in return type in solib-target:solib_target_parse_libraries Joel Brobecker
@ 2007-10-13 3:01 ` Daniel Jacobowitz
2007-10-13 10:13 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2007-10-13 3:01 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Fri, Oct 12, 2007 at 02:55:33PM -0700, Joel Brobecker wrote:
> 2007-10-12 Joel Brobecker <brobecker@adacore.com>
>
> * solib-target.c (solib_target_parse_libraries)
> [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
>
> I think I should also commit this on the branch.
Yes please. It looks like we'll need a 6.7.1 sooner rather than
later; I really screwed up this libintl PR.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [commit/branch?] error in return type in solib-target:solib_target_parse_libraries
2007-10-13 3:01 ` Daniel Jacobowitz
@ 2007-10-13 10:13 ` Joel Brobecker
2007-10-13 13:52 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2007-10-13 10:13 UTC (permalink / raw)
To: gdb-patches
> > 2007-10-12 Joel Brobecker <brobecker@adacore.com>
> >
> > * solib-target.c (solib_target_parse_libraries)
> > [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
> >
> > I think I should also commit this on the branch.
>
> Yes please.
Thanks. Now checked in.
> It looks like we'll need a 6.7.1 sooner rather than later; I really
> screwed up this libintl PR.
Which libintl PR? I'm doing zillions of things at the same time
these days, so I'm wondering what I missed (or forgot!)...
In terms of 6.7.1, I'm ready anytime.
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [commit/branch?] error in return type in solib-target:solib_target_parse_libraries
2007-10-13 10:13 ` Joel Brobecker
@ 2007-10-13 13:52 ` Daniel Jacobowitz
2007-10-13 19:58 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2007-10-13 13:52 UTC (permalink / raw)
To: gdb-patches
On Fri, Oct 12, 2007 at 11:03:08PM -0700, Joel Brobecker wrote:
> Which libintl PR? I'm doing zillions of things at the same time
> these days, so I'm wondering what I missed (or forgot!)...
gdb/2336. I got the ELF support check wrong :-(
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [commit/branch?] error in return type in solib-target:solib_target_parse_libraries
2007-10-13 13:52 ` Daniel Jacobowitz
@ 2007-10-13 19:58 ` Joel Brobecker
0 siblings, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2007-10-13 19:58 UTC (permalink / raw)
To: gdb-patches
> gdb/2336. I got the ELF support check wrong :-(
Oops! :-). I guess we all missed it... As soon as the fix is confirmed,
we can produce a 6.7.1.
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-13 15:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-12 22:07 [commit/branch?] error in return type in solib-target:solib_target_parse_libraries Joel Brobecker
2007-10-13 3:01 ` Daniel Jacobowitz
2007-10-13 10:13 ` Joel Brobecker
2007-10-13 13:52 ` Daniel Jacobowitz
2007-10-13 19:58 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox