[Geany] Integrated debugger

Jeff Pohlmeyer yetanothergeek at xxxxx
Tue Feb 19 17:08:00 UTC 2008


On Feb 19, 2008 10:25 AM, Jeff Pohlmeyer <yetanothergeek at gmail.com> wrote:
> On Feb 19, 2008 10:04 AM, Yura Siamashka <yurand2 at gmail.com> wrote:

> > You use quite modern functions:
> > undefined symbol: g_string_append_vprintf
> > It require glib 2.14

> oops, sorry. I tried use use only functions<=2.6  but I guess
> that one slipped in. I will try to write a workaround soon.

This should work for now - the one in glib is a bit more optimized,
but it really won't matter here:

#if !GLIB_CHECK_VERSION(2, 14, 0)
static void g_string_append_vprintf (GString *str, const gchar *fmt,
va_list args)
{
  gchar *tmp=g_strdup_vprintf(fmt,args);
  g_string_append(str, tmp);
  g_free(tmp);
}
#endif

 - Add to "gdb-io-run.c" around line 48.

 - Jeff



More information about the Users mailing list