<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot-novena/toolchain/gdb, branch 2012.02_rc3</title>
<subtitle>build system for the novena open hardware laptop board</subtitle>
<id>https://git.bnewbold.net/buildroot-novena/atom?h=2012.02_rc3</id>
<link rel='self' href='https://git.bnewbold.net/buildroot-novena/atom?h=2012.02_rc3'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/'/>
<updated>2012-01-24T21:28:47+00:00</updated>
<entry>
<title>gdb: add 7.4, mark 7.1 as deprecated</title>
<updated>2012-01-24T21:28:47+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2012-01-24T21:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=21f39f524ff52e0649c88acf32fb78d3592fb3c8'/>
<id>urn:sha1:21f39f524ff52e0649c88acf32fb78d3592fb3c8</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gdb: also force ELF support for gdbhost</title>
<updated>2012-01-24T11:46:37+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2012-01-24T11:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=afb6e3ed52142ef8d9450a743f9487c4fedf9a0f'/>
<id>urn:sha1:afb6e3ed52142ef8d9450a743f9487c4fedf9a0f</id>
<content type='text'>
Similar to how we do for target (ee39d53ce3ee (Fix GDB BFD test linking)).

Gdb comes with an embedded copy of libiberty, but binutils also installs
libiberty.a into HOST_DIR. The gdb configure script tries to link against
this one rather than the gdb version when it checks for ELF support.
This may fail if those versions are not compatible, leading to obscure
error messages from gdb at runtime such as:

I'm sorry, Dave, I can't do that. Symbol format `elf32-$ARCH' unknown.

Fix it by forcing ELF support.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gdb: fix kconfig dependency handling with !BR_TOOLCHAIN_BUILDROOT</title>
<updated>2011-11-24T13:26:52+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-11-24T13:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=5931db0de902d2da434fbf682d4177e3b3c7e31b'/>
<id>urn:sha1:5931db0de902d2da434fbf682d4177e3b3c7e31b</id>
<content type='text'>
Newer versions of GDB need pthread debugging support if threads are
enabled, which is always the case for glibc but is a configure option
for uClibc.

We have solved this for internal toolchains by selecting the
BR2_PTHREAD_DEBUG option from the GDB selection if needed, but as this
option isn't available when ctng/external toolchains are used, mconf
prints ugly warnings and the build may fail if an external uClibc
toolchain without pthread debugging support is used.

Fix it by introducing 2 more hidden config options:
 - BR2_TOOLCHAIN_HAS_THREADS_DEBUG
 - BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED

The first tells us if the toolchain HAS pthreads debugging support,
and is checked by check_uclibc_feature in helper.mk for external uClibc
based toolchains.

The second tells us if the toolchain is ABLE TO provide pthreads debugging
support if threads are enabled, either because it's an internal toolchain
where we can force enable it or an external glibc/eglibc toolchain or
uClibc with the option enabled.

Crosstool-ng forcibly enables this support, so those will always work.
The preconfigured uClibc-based toolchains we have also all enable it.

Finally, show a comment if this isn't the case so the (external toolchain)
user knows why. This is placed outside the choice option, as menuconfig
has a bug where it doesn't show choice selections which only contain
comments.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gdb: fix version logic for bfin</title>
<updated>2011-11-23T22:32:00+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-11-23T22:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=e9985f5d5fb10d3441479bc2b89dfec862fe1d85'/>
<id>urn:sha1:e9985f5d5fb10d3441479bc2b89dfec862fe1d85</id>
<content type='text'>
GDB should default to 6.6 on bfin, not on !bfin.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>target gdb: depend on thread support</title>
<updated>2011-11-13T20:32:57+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2011-11-13T08:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=096c185c19d66c6904109b621e14a6ef44c7d9ac'/>
<id>urn:sha1:096c185c19d66c6904109b621e14a6ef44c7d9ac</id>
<content type='text'>
Compiling gdb for the target requires thread support in the C library,
otherwise:

/home/test/outputs/test-888/toolchain/gdb-7.3.1/gdb/gdb_thread_db.h:37:21: fatal error: pthread.h: No such file or directory

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gdb: do not allow native gdb on SuperH architecture</title>
<updated>2011-11-13T20:31:39+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2011-11-13T08:55:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=33b8c556afbe7bf544fee4e0e7263bb4b9284ac1'/>
<id>urn:sha1:33b8c556afbe7bf544fee4e0e7263bb4b9284ac1</id>
<content type='text'>
The gdb debugger does not have support for running as the native
debugger on the SuperH architecture:

 configure: error: "*** Gdb does not support native target sh4-unknown-linux-gnu"

See also http://lists.debian.org/debian-superh/2010/04/msg00000.html.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gdb: add 7.2a version</title>
<updated>2011-10-05T14:58:55+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-10-05T14:58:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=228bde4dbe81254785ffa9986c81c79f5567c241'/>
<id>urn:sha1:228bde4dbe81254785ffa9986c81c79f5567c241</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: fixup version strings</title>
<updated>2011-10-05T14:56:53+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@anciens.enib.fr</email>
</author>
<published>2011-09-13T21:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=e23d0d7dd25dcd7cfcee171a2ffd3348b75afa3e'/>
<id>urn:sha1:e23d0d7dd25dcd7cfcee171a2ffd3348b75afa3e</id>
<content type='text'>
The gdb tarballs have been re-released after a GPL compliance
issue was found:
  http://sourceware.org/ml/gdb/2011-09/msg00030.html

So all versions were re-packaged.

In the process, an 'a' was appended to the version strings, and
unlike the binutils people, the gdb folks are not inclined in
providing legacy symlinks:
  http://sourceware.org/ml/gdb/2011-09/msg00036.html

So, this patch fixes the issue by renaming version strings. It is to be
noted that, although the versions got bumped to include an 'a' at the end,
the directory contained in the tarball is still named after the version
string without the 'a'. For example:
 - old version      : 6.6
 - new version      : 6.6a
 - tarball name     : gdb-6.6a.tar.bz2
 - directory name   : gdb-6.6/

In fact, it does not pose any problem for buildroot, as the extract process
explicitly mkdirs the directory to extract into, *and* strips the first level
of the tree extracted from the tarball.

[Peter: fixup patch to apply to head, don't rename config symbols]
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@anciens.enib.fr&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: strip tarball component when extracting</title>
<updated>2011-10-05T14:46:50+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@anciens.enib.fr</email>
</author>
<published>2011-09-13T21:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=c5da6f9553ac82fefbefb655ac0207bc58615ae4'/>
<id>urn:sha1:c5da6f9553ac82fefbefb655ac0207bc58615ae4</id>
<content type='text'>
For some tarballs of gdb (see next patch), the extracted directory is
*not* named after the version string (eg. gdb-6.6a extract into gdb-6.6/)

Create the appropriate directory first, then use --strip-{components,path}
when extracting gdb (the same way it is done for the generic package
infrastructure).

At the same time, get rid of the snapshot special case, because:
 1- it's no longer available in the menu
 2- it would be handled by the above change

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@anciens.enib.fr&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gdb: misc cleanup</title>
<updated>2011-10-05T14:14:26+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-10-05T14:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=37f0d1bb7b5a379161e647b730f5a57b814122bb'/>
<id>urn:sha1:37f0d1bb7b5a379161e647b730f5a57b814122bb</id>
<content type='text'>
Only use 6.6 on bfin, remove 6.7.1, mark 6.8 + 7.0 as deprecated and
default to 7.3.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
</feed>
