<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>desmume: Segfault when using GDB stubs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Package: desmume<BR>
Version: 0.8-1<BR>
Severity: important<BR>
<BR>
<BR>
Hi,<BR>
<BR>
I get a segfault whenever I try to use the --arm9gdb or --arm7gdb<BR>
command line options.<BR>
<BR>
The fix is quite easy. Upstream source should have a configure option<BR>
to enable GDB stubs. But currently they use a preprocessor constant<BR>
(GDB_STUB).<BR>
<BR>
Therefore you may just change the definition of CFLAGS in debian/rules:<BR>
<BR>
CFLAGS = -DGDB_STUB -Wall -g<BR>
<BR>
Thanks,<BR>
F. Moya<BR>
<BR>
-- System Information:<BR>
Debian Release: lenny/sid<BR>
APT prefers unstable<BR>
APT policy: (500, 'unstable')<BR>
Architecture: i386 (i686)<BR>
<BR>
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)<BR>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<BR>
Shell: /bin/sh linked to /bin/bash<BR>
<BR>
Versions of packages desmume depends on:<BR>
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit<BR>
ii libc6 2.7-12 GNU C Library: Shared libraries<BR>
ii libcairo2 1.6.4-3 The Cairo 2D vector graphics libra<BR>
ii libgl1-mesa-glx [libgl 7.0.3-1 A free implementation of the OpenG<BR>
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru<BR>
ii libglib2.0-0 2.16.3-2 The GLib library of C routines<BR>
ii libglu1-mesa [libglu1] 7.0.3-1 The OpenGL utility library (GLU)<BR>
ii libgtk2.0-0 2.12.9-4 The GTK+ graphical user interface<BR>
ii libgtkglext1 1.2.0-1 OpenGL Extension to GTK+ (shared l<BR>
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library<BR>
ii libpango1.0-0 1.20.2-2 Layout and rendering of internatio<BR>
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer<BR>
ii libsm6 2:1.0.3-1+b1 X11 Session Management library<BR>
ii libx11-6 2:1.0.3-7 X11 client-side library<BR>
ii libxml2 2.6.32.dfsg-2 GNOME XML library<BR>
ii libxmu6 2:1.0.4-1 X11 miscellaneous utility library<BR>
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library<BR>
ii xlibmesa-gl 1:7.3+11 transitional package for Debian et<BR>
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime<BR>
<BR>
desmume recommends no packages.<BR>
<BR>
-- no debconf information<BR>
</FONT>
</P>
</BODY>
</HTML>